| | |
| | | <apex:page standardController="OPDPlan__c" extensions="OPDNoReportApplicationController" showHeader="false" sidebar="false" id="allPage" title="无报告申请" action="{!init}" docType="html-5.0"> |
| | | <apex:page standardController="OPDPlan__c" extensions="OPDNoReportApplicationController" showHeader="false" sidebar="false" id="allPage" title="无报告申请" action="{!init}" docType="html-5.0" lightningStylesheets="true"> |
| | | <apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/> |
| | | <apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/> |
| | | <apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/> |
| | |
| | | </apex:pageBlockSectionItem> |
| | | </apex:pageBlockSection> |
| | | <!-- 附件页面 --> |
| | | <apex:pageBlockSection title="附件" id="tableListH" collapsible="false" dir="LTR" > |
| | | <apex:pageBlockSection title="文件" id="tableListH" collapsible="false" dir="LTR" > |
| | | <apex:pageBlockTable value="{!attachmentinfo}" var="a" style="margin-left: 50%; width: 150%;"> |
| | | <apex:column headerValue="标题" style="width: 50%"> |
| | | <apex:outputLink value="https://ocsm--stagefull--c.documentforce.com/servlet/servlet.FileDownload?file={!a.id}" target="_self"> |
| | | <!-- <apex:outputLink value="https://ocsm--stagefull--c.documentforce.com/servlet/servlet.FileDownload?file={!a.id}" target="_self"> --> |
| | | <apex:outputLink value="https://ocsm--partial.sandbox.my.salesforce.com/{!a.id}" target="_self"> |
| | | <!-- https://ocsm--c.ap0.content.force.com/servlet/servlet.FileDownload?file --> |
| | | <!-- https://ocsm--stagefull--c.documentforce.com/servlet/servlet.FileDownload?file= --> |
| | | {!a.name} |
| | | {!a.Title} |
| | | </apex:outputLink> |
| | | </apex:column> |
| | | <apex:column headerValue="创建人"> |
| | |
| | | <apex:outputPanel id="popupBox" layout="block" style="display:none"> |
| | | <input type="file" id="file_input" name="attFile"/><br/> |
| | | <center> |
| | | <apex:commandButton value="确认" onclick="saveAttachment(); return false;" style="width: 20%; margin: 20px 10px 0px 10px" /> |
| | | <apex:commandButton value="取消" onclick="popupBox.hide();" style="width: 20%; margin: 20px 10px 0px 10px" /> |
| | | <span><apex:commandButton value="确认" onclick="saveAttachment(); return false;" style="width: 20%; margin: 20px 10px 0px 10px" /></span> |
| | | <span><apex:commandButton value="取消" onclick="popupBox.hide();" style="width: 20%; margin: 20px 10px 0px 10px" /></span> |
| | | |
| | | |
| | | </center> |
| | | </apex:outputPanel> |
| | | |