From fbd4bea7bd57b4d4a33cb9ed0ebc15d9bf6551c0 Mon Sep 17 00:00:00 2001
From: 19626 <1962676589@qq.com>
Date: 星期三, 12 七月 2023 17:54:54 +0800
Subject: [PATCH] 近日更新按钮,页面以及apex类
---
force-app/main/default/pages/OPDNoReportApplication.page | 15 +++++++++------
1 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/force-app/main/default/pages/OPDNoReportApplication.page b/force-app/main/default/pages/OPDNoReportApplication.page
index 773d168..9447c94 100644
--- a/force-app/main/default/pages/OPDNoReportApplication.page
+++ b/force-app/main/default/pages/OPDNoReportApplication.page
@@ -1,4 +1,4 @@
-<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)}"/>
@@ -617,13 +617,14 @@
</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="鍒涘缓浜�">
@@ -635,8 +636,10 @@
<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>
--
Gitblit v1.9.1