buli
2023-05-23 07390e2fcb4adf27c928335bf27ae7939c5a80ad
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>