From d8dc84a3d56df839895f1c417a4d9cbee763d262 Mon Sep 17 00:00:00 2001 From: 高章伟 <gaozhangwei@prec-tech.com> Date: 星期五, 03 三月 2023 14:50:59 +0800 Subject: [PATCH] gzw 测试环境代码更新 --- force-app/main/default/pages/ReantalApplySeriesNo.page | 191 ++++++++++++++++++++++++----------------------- 1 files changed, 96 insertions(+), 95 deletions(-) diff --git a/force-app/main/default/pages/ReantalApplySeriesNo.page b/force-app/main/default/pages/ReantalApplySeriesNo.page index 9cdd6c9..4144d83 100644 --- a/force-app/main/default/pages/ReantalApplySeriesNo.page +++ b/force-app/main/default/pages/ReantalApplySeriesNo.page @@ -1,27 +1,27 @@ -<apex:page controller="ReantalApplySeriesNoController" showHeader="false" sidebar="false" id="allPage" action="{!init}" title="搴忓垪鏌ョ湅"> +<apex:page controller="ReantalApplySeriesNoController" showHeader="false" sidebar="false" id="allPage" action="{!init}" title="搴忓垪鏌ョ湅" lightningStylesheets="true"> <apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/> - <apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/> - <apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/> - <apex:includeScript value="/soap/ajax/29.0/connection.js"/> - <apex:includeScript value="/soap/ajax/29.0/apex.js"/> - <style type="text/css"> - .bPageBlock .detailList .dataCol { - width: auto; - } - .table-head{padding-right:17px;} - .tablehead0{padding-right:0;} + <apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/> + <apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/> + <apex:includeScript value="{!URLFOR($Resource.connection20)}"/> + <apex:includeScript value="{!URLFOR($Resource.apex20)}"/> + <style type="text/css"> + .bPageBlock .detailList .dataCol { + width: auto; + } + .table-head{padding-right:17px;} + .tablehead0{padding-right:0;} .table-body table tr:nth-child(2n){background-color:#f2f2f2;} - </style> - <script> - // window.onload = () => { - window.onload = function gunzhou(){ - if(j$('#tablebody').height() >= 270){ - j$('#table-head').addClass("table-head"); - }else{ - j$('#table-head').addClass("tablehead0"); - } - } - </script> + </style> + <script> + // window.onload = () => { + window.onload = function gunzhou(){ + if(j$('#tablebody').height() >= 270){ + j$('#table-head').addClass("table-head"); + }else{ + j$('#table-head').addClass("tablehead0"); + } + } + </script> <apex:form id="allForm"> <apex:pageBlock id="searchBlock" title="搴忓垪淇℃伅"> <apex:pageBlockSection columns="3" id="mainSection"> @@ -57,78 +57,79 @@ <apex:pageMessages /> </apex:outputPanel> <apex:pageBlock id="raqList" title="鏌ョ湅搴忓垪鎯呭喌"> - <div class="" id="table-head"> - <table class="list" border="0" cellpadding="0" cellspacing="0" width="100%" > - <colgroup> - <col width="4%" /> - <col width="4%" /> - <col width="10%" /> - <col width="10%"/> - <col width="8%"/> - <col width="8%"/> - <col width="7%"/> - <col width="10%"/> - <col width="8%"/> - <col width="5%"/> - <col width="13%"/> - <col width="13%"/> - </colgroup> - <thead> - <tr class="headerRow" > - <th style="padding-bottom: 6px;">搴忓垪鍙�</th> - <th style="padding-bottom: 6px;">鎺掗槦NO.</th> - <th style="padding-bottom: 6px;">鐢宠鍗昇O.</th> - <th style="padding-bottom: 6px;">鎺掗槦鏃堕棿</th> - <th style="padding-bottom: 6px;">鐢宠鑰呭姙浜嬪</th> - <th style="padding-bottom: 6px;">澶囧搧鍑哄�熸媴褰�</th> - <th style="padding-bottom: 6px;">甯屾湜鍒拌揣鏃�</th> - <th style="padding-bottom: 6px;">鎵瑰噯鏃堕棿</th> - <th style="padding-bottom: 6px;">浣跨敤鐩殑2</th> - <th style="padding-bottom: 6px;">璐熻矗浜�</th> - <th style="padding-bottom: 6px;">鍖婚櫌</th> - <th style="padding-bottom: 6px;">瀛︿細</th> - </tr> - </thead> - </table> - </div> - <div class="table-body" id="table-body" style="height: 270px;overflow-y:auto;"> - <table class="list" border="0" cellpadding="0" cellspacing="0" id="tablebody"> - <colgroup> - <col width="4%" /> - <col width="4%" /> - <col width="10%" /> - <col width="10%"/> - <col width="8%"/> - <col width="8%"/> - <col width="7%"/> - <col width="10%"/> - <col width="8%"/> - <col width="5%"/> - <col width="13%"/> - <col width="13%"/> - </colgroup> - <tbody> - <apex:repeat value="{!raqList}" var="info" id="info"> - <tr height="48px"> - <td style="white-space: pre-wrap;"><apex:outputLink value="/{!info.Id}">{!info.Series_No__c}</apex:outputLink></td> - <td style="white-space: pre-wrap;"><apex:outputField value="{!info.Apply_Set_Detail__r.Queue_Number__c}"/></td> - <td style="white-space: pre-wrap;"><apex:outputField value="{!info.Rental_Apply__c}"/></td> - <td style="white-space: pre-wrap;"><apex:outputField value="{!info.Apply_Set_Detail__r.Queue_Time_F__c}"/></td> - <apex:outputPanel layout="none"> - <td style="white-space: pre-wrap;"><apex:outputField value="{!info.Rental_Apply__r.WorkPlace__c}"/></td> - <td style="white-space: pre-wrap;"><apex:outputField value="{!info.Rental_Apply__r.Person_In_Charge__c}"/></td> - <td style="white-space: pre-wrap;"><apex:outputField value="{!info.Rental_Apply__r.Request_shipping_day__c}"/></td> - <td style="white-space: pre-wrap;"><apex:outputField value="{!info.Rental_Apply__r.Request_approval_time__c}"/></td> - <td style="white-space: pre-wrap;"><apex:outputField value="{!info.Rental_Apply__r.demo_purpose2__c}"/></td> - </apex:outputPanel> - <td style="white-space: pre-wrap;"><apex:outputField value="{!info.Apply_Set_Detail__r.Queue_User__c}"/></td> - <td style="white-space: pre-wrap;"><apex:outputField value="{!info.Rental_Apply__r.Hospital__c}"/></td> - <td style="white-space: pre-wrap;"><apex:outputField value="{!info.Rental_Apply__r.Campaign__c}"/></td> - </tr> - </apex:repeat> - </tbody> - </table> - </div> - </apex:pageBlock> + <div class="" id="table-head"> + <table class="list" border="0" cellpadding="0" cellspacing="0" width="100%" > + <colgroup> + <col width="4%" /> + <col width="4%" /> + <col width="10%" /> + <col width="10%"/> + <col width="8%"/> + <col width="8%"/> + <col width="7%"/> + <col width="10%"/> + <col width="8%"/> + <col width="5%"/> + <col width="13%"/> + <col width="13%"/> + </colgroup> + <thead> + <tr class="headerRow" > + <th style="padding-bottom: 6px;">搴忓垪鍙�</th> + <th style="padding-bottom: 6px;">鎺掗槦NO.</th> + <th style="padding-bottom: 6px;">鐢宠鍗昇O.</th> + <th style="padding-bottom: 6px;">鎺掗槦鏃堕棿</th> + <th style="padding-bottom: 6px;">鐢宠鑰呭姙浜嬪</th> + <th style="padding-bottom: 6px;">澶囧搧鍑哄�熸媴褰�</th> + <th style="padding-bottom: 6px;">甯屾湜鍒拌揣鏃�</th> + <th style="padding-bottom: 6px;">鎵瑰噯鏃堕棿</th> + <th style="padding-bottom: 6px;">浣跨敤鐩殑2</th> + <th style="padding-bottom: 6px;">璐熻矗浜�</th> + <th style="padding-bottom: 6px;">鍖婚櫌</th> + <th style="padding-bottom: 6px;">瀛︿細</th> + </tr> + </thead> + </table> + </div> + <div class="table-body" id="table-body" style="height: 270px;overflow-y:auto;"> + <table class="list" border="0" cellpadding="0" cellspacing="0" id="tablebody"> + <colgroup> + <col width="4%" /> + <col width="4%" /> + <col width="10%" /> + <col width="10%"/> + <col width="8%"/> + <col width="8%"/> + <col width="7%"/> + <col width="10%"/> + <col width="8%"/> + <col width="5%"/> + <col width="13%"/> + <col width="13%"/> + </colgroup> + <tbody> + <apex:repeat value="{!raqList}" var="info" id="info"> + <tr height="48px"> + <!-- <apex:outputLink value="/{!info.Id}">{!info.Series_No__c}</apex:outputLink>--> + <td style="white-space: pre-wrap;"><apex:outputField value="{!info.Series_No__c}"/></td> + <td style="white-space: pre-wrap;"><apex:outputField value="{!info.Apply_Set_Detail__r.Queue_Number__c}"/></td> + <td style="white-space: pre-wrap;"><apex:outputField value="{!info.Rental_Apply__c}"/></td> + <td style="white-space: pre-wrap;"><apex:outputField value="{!info.Apply_Set_Detail__r.Queue_Time_F__c}"/></td> + <apex:outputPanel layout="none"> + <td style="white-space: pre-wrap;"><apex:outputField value="{!info.Rental_Apply__r.WorkPlace__c}"/></td> + <td style="white-space: pre-wrap;"><apex:outputField value="{!info.Rental_Apply__r.Person_In_Charge__c}"/></td> + <td style="white-space: pre-wrap;"><apex:outputField value="{!info.Rental_Apply__r.Request_shipping_day__c}"/></td> + <td style="white-space: pre-wrap;"><apex:outputField value="{!info.Rental_Apply__r.Request_approval_time__c}"/></td> + <td style="white-space: pre-wrap;"><apex:outputField value="{!info.Rental_Apply__r.demo_purpose2__c}"/></td> + </apex:outputPanel> + <td style="white-space: pre-wrap;"><apex:outputField value="{!info.Apply_Set_Detail__r.Queue_User__c}"/></td> + <td style="white-space: pre-wrap;"><apex:outputField value="{!info.Rental_Apply__r.Hospital__c}"/></td> + <td style="white-space: pre-wrap;"><apex:outputField value="{!info.Rental_Apply__r.Campaign__c}"/></td> + </tr> + </apex:repeat> + </tbody> + </table> + </div> + </apex:pageBlock> </apex:form> </apex:page> \ No newline at end of file -- Gitblit v1.9.1