From 07390e2fcb4adf27c928335bf27ae7939c5a80ad Mon Sep 17 00:00:00 2001
From: buli <137736985@qq.com>
Date: 星期二, 23 五月 2023 11:28:12 +0800
Subject: [PATCH] bakcup20230523

---
 force-app/main/default/pages/AssessmentReport.page |   41 +++++++++++++++++++++++++----------------
 1 files changed, 25 insertions(+), 16 deletions(-)

diff --git a/force-app/main/default/pages/AssessmentReport.page b/force-app/main/default/pages/AssessmentReport.page
index d8f7409..236221b 100644
--- a/force-app/main/default/pages/AssessmentReport.page
+++ b/force-app/main/default/pages/AssessmentReport.page
@@ -1,10 +1,19 @@
-<apex:page sidebar="false" showHeader="true" action="{!init}" standardcontroller="AssessmentReport__c" extensions="AssessmentReportController" id="allPage">
+<apex:page sidebar="false" showHeader="true" action="{!init}" standardcontroller="AssessmentReport__c" extensions="AssessmentReportController" id="allPage" lightningStylesheets="true">
     <apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/>
     <apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/>
     <apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/>
     <apex:includeScript value="{!URLFOR($Resource.connection20)}"/>
     <apex:includeScript value="{!URLFOR($Resource.apex20)}"/>
     <apex:includeScript value="{!URLFOR($Resource.AWSService, 'AWSService.js') }" />
+    <style>
+        /*鐐瑰嚮鎺堣鍐呭涔嬪悗锛岄〉闈�*/
+        body .detailList .dataCol input[type="text"],body .detailList .dataCol select {
+                min-width: 8rem;
+        }
+        body .bPageBlock .detailList .labelCol {
+            width: 12%;
+        }
+    </style>
 
     <script>
         var aws = JSON.parse('{!awsString}');
@@ -64,7 +73,7 @@
         }
     </script>
 
-    <apex:form id="allForm">
+    <apex:form id="allForm" style="width:99%;">
 
         <apex:pageBlock title="{!IF(AssessmentReport!=null && AssessmentReport.Name != null , AssessmentReport.Name, '鎺堣/鑰冩牳鎶ュ憡')}" id="allBlock">
             <apex:pageBlockButtons id="manyBtn" >
@@ -72,8 +81,8 @@
                 <apex:commandButton action="{!save}" onclick="blockme();" oncomplete="unblockUI();" disabled="{!Inputdisabled}" rerender="allForm" value="淇濆瓨"/>
                 <apex:commandButton id="Cancel" action="{!EditRecord}" onclick="blockme();" oncomplete="unblockUI();" rendered="{!Not(Inputdisabled)}" rerender="allForm" value="鍙栨秷"/>
                 <apex:commandButton action="{!Submit}" disabled="{!If(AssessmentReport.Status__c = '鑽夋涓�' , false, true)}" rerender="allForm" value="淇濆瓨骞舵彁浜ゅ鎵�"/>
-                <apex:commandButton action="{!cancel}" style="float:right;" onclick="blockme();" oncomplete="unblockUI();" rerender="allForm" value="涓嶄繚瀛橈紙杩斿洖锛�"/>
-                <apex:commandButton action="{!saveAndCancel}" onclick="blockme();" oncomplete="unblockUI();" style="float:right;"  rerender="allForm" disabled="{!Inputdisabled}" value="淇濆瓨锛堣繑鍥烇級"/>
+                <apex:commandButton action="{!cancel}"  onclick="blockme();" oncomplete="unblockUI();" rerender="allForm" value="涓嶄繚瀛橈紙杩斿洖锛�"/>
+                <apex:commandButton action="{!saveAndCancel}" onclick="blockme();" oncomplete="unblockUI();"   rerender="allForm" disabled="{!Inputdisabled}" value="淇濆瓨锛堣繑鍥烇級"/>
             </apex:pageBlockButtons>
             <apex:pageMessages id="pageMessages"></apex:pageMessages>
 
@@ -126,15 +135,15 @@
                     <table id="theTable_header"  style ="width: 98%; text-align: center;"   styleClass="list">
                        <thead>
                          <tr>
-                            <td  style="width: 18%" scope="col">鍖婚櫌绉戝</td>
-                            <td  style="width: 8%" scope="col">濮撳悕</td>  
+                            <td  style="width: 17%" scope="col">鍖婚櫌绉戝</td>
+                            <td  style="width: 5%" scope="col">濮撳悕</td>  
                             <td  style="width: 14%" scope="col">钀ヤ笟鏈儴</td>
-                            <td  style="width: 8%" scope="col">鐪�</td>
-                            <td  style="width: 8%" scope="col">甯�</td>
+                            <td  style="width: 5%" scope="col">鐪�</td>
+                            <td  style="width: 5%" scope="col">甯�</td>
                             <td  style="width: 5%" scope="col">鍑哄嫟鎯呭喌</td>
-                            <td  style="width: 5%" scope="col">璇惧爞鍙備笌搴�</td>
+                            <td  style="width: 8%" scope="col">璇惧爞鍙備笌搴�</td>
                             <td  style="width: 5%" scope="col">鎴愮哗</td>
-                            <td  style="width: 5%" scope="col">璇惧悗浣滀笟瀹屾垚鎯呭喌</td>
+                            <td  style="width: 10%" scope="col">璇惧悗浣滀笟瀹屾垚鎯呭喌</td>
                             <td  style="width: 24%" scope="col">澶囨敞</td>
                          </tr>
                        </thead>
@@ -142,28 +151,28 @@
                       <div id="tablediv" style="overflow:auto; width:100%; height:200px; text-align: center;">
                         <apex:dataTable value="{!ARSInfoList}" var="al" id="theTable_content" border="0" 
                         style="width:99%;border-bottom-width: 0px; font-size:11px; border-spacing:0;" styleClass="list">
-                            <apex:column style="width: 18%">
+                            <apex:column style="width: 17%">
                                <apex:outputField style="resize:vertical;width: 95%" id="Department" value="{!al.CamMem.Department_ID__c}"/>
                             </apex:column>
                             <!-- id="{!al.CamMem.Contact_ID__r.AWS_Data_Id__c}" onmouseover="showPIDiv('{!al.CamMem.Contact_ID__r.AWS_Data_Id__c}')" onmouseout="hidePIDiv('{!al.CamMem.Contact_ID__r.AWS_Data_Id__c}')" -->
-                            <apex:column style="width: 8%" >
+                            <apex:column style="width: 5%" >
                                <!-- <apex:outputField style="resize:vertical;width: 95%" id="Name" value="{!al.CamMem.Contact_ID__c}" /> -->
                                <span id="{!al.CamMem.Contact_ID__r.AWS_Data_Id__c}" onmouseover="showPIDiv('{!al.CamMem.Contact_ID__r.AWS_Data_Id__c}')" onmouseout="hidePIDiv('{!al.CamMem.Contact_ID__r.AWS_Data_Id__c}')">{!al.ARS.Name}</span>
                             </apex:column>
                             <apex:column style="width: 14%">
                                <apex:outputText style="resize:vertical;width: 95%" id="dept" value="{!al.CamMem.dept__c}"/>
                             </apex:column>
-                            <apex:column style="width: 8%">
+                            <apex:column style="width: 5%">
                                <apex:outputText style="resize:vertical;width: 95%" id="State" value="{!al.CamMem.State__c}"/>
                             </apex:column>
-                            <apex:column style="width: 8%">
+                            <apex:column style="width: 5%">
                                <apex:outputText style="resize:vertical;width: 95%" id="City" value="{!al.CamMem.City__c}"/>
                             </apex:column>
                             <apex:column style="width: 5%">
                                <apex:inputField rendered="{!Not(Inputdisabled)}" style="resize:vertical;width: 95%" id="AttendStatus" value="{!al.ARS.AttendStatus__c}"/>
                                <apex:outputField rendered="{!Inputdisabled}" style="resize:vertical;width: 95%" id="AttendStatus_Output" value="{!al.ARS.AttendStatus__c}"/>
                             </apex:column>
-                            <apex:column style="width: 5%">
+                            <apex:column style="width: 8%">
                                <apex:inputField rendered="{!Not(Inputdisabled)}" style="resize:vertical;width: 95%" id="AttendRate" value="{!al.ARS.AttendRate__c}"/>
                                <apex:outputField rendered="{!Inputdisabled}" style="resize:vertical;width: 95%" id="AttendRate_Output" value="{!al.ARS.AttendRate__c}"/>
                             </apex:column>
@@ -171,7 +180,7 @@
                                <apex:inputField rendered="{!Not(Inputdisabled)}" style="resize:vertical;width: 95%" id="Grade" value="{!al.ARS.Grade__c}"/>
                                <apex:outputField rendered="{!Inputdisabled}" style="resize:vertical;width: 95%" id="Grade_Output" value="{!al.ARS.Grade__c}"/>
                             </apex:column>
-                            <apex:column style="width: 5%">
+                            <apex:column style="width: 10%">
                               <apex:inputField rendered="{!Not(Inputdisabled)}" value="{!al.ARS.HomeworkFeedback__c}" style="width: 95%" id="HomeworkFeedback" />
                               <apex:outputField rendered="{!Inputdisabled}" style="resize:vertical;width: 95%" id="HomeworkFeedback_Output" value="{!al.ARS.HomeworkFeedback__c}"/>
                             </apex:column>

--
Gitblit v1.9.1