From d3e4451e36fbe25da4427bccd4e6b41aefd473c8 Mon Sep 17 00:00:00 2001
From: binxie <137736985@qq.com>
Date: 星期一, 26 六月 2023 14:53:16 +0800
Subject: [PATCH] newclass0626formate
---
force-app/main/default/pages/RentalApplyMultiPostpone.page | 58 +++++++++++++++++++++++++++++-----------------------------
1 files changed, 29 insertions(+), 29 deletions(-)
diff --git a/force-app/main/default/pages/RentalApplyMultiPostpone.page b/force-app/main/default/pages/RentalApplyMultiPostpone.page
index 265f4b5..0d237f2 100644
--- a/force-app/main/default/pages/RentalApplyMultiPostpone.page
+++ b/force-app/main/default/pages/RentalApplyMultiPostpone.page
@@ -1,4 +1,4 @@
-<apex:page controller="RentalApplyMultiPostponeController" action="{!init}" showHeader="false" sidebar="true" id="allPage" title="鎵归噺寤舵湡">
+<apex:page controller="RentalApplyMultiPostponeController" action="{!init}" showHeader="false" sidebar="true" id="allPage" title="鎵归噺寤舵湡" lightningStylesheets="true">
<apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/>
<apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/>
<apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/>
@@ -9,7 +9,7 @@
}
//淇濆瓨鎸夐挳
- function searchBtnJs(){
+ function searchBtnJs(){
var checkId = '';
//鑾峰彇鍕鹃�夌殑鍊�
var lawtable = document.getElementById("tableHeader_L");//鑾峰彇id涓簍ableHeader_L鐨則able
@@ -36,32 +36,32 @@
//璺宠浆鍒板叿浣撳欢鏈熺敾闈紙鍘熷欢鏈熼〉闈級
window.open("/apex/RentalApplyExtensions?parentId="+checkId+'&entranceId={!parentId}');
}
- }
+ }
//杩斿洖鎸夐挳
- function sendBackJs(){
+ function sendBackJs(){
senBackPage();
- }
- //鍏ㄩ��
- function checkAll(){
+ }
+ //鍏ㄩ��
+ function checkAll(){
var lawtable = document.getElementById("tableHeader_L");//鑾峰彇id涓簍ableHeader_L鐨則able
var rows = lawtable.rows;//鑾峰彇鎵�鏈夎
if(rows != null && rows.length > 1){
- //鍒ゆ柇鏄渶瑕佹妸鎵�鏈夌殑鍕鹃�変笂杩樻槸鍏ㄩ儴鍘绘帀鍕鹃��
- var trueOrfalse = rows[0].cells[0].getElementsByTagName("input")[0].checked == false?false:true;
- for(var i=0; i < rows.length; i++){
+ //鍒ゆ柇鏄渶瑕佹妸鎵�鏈夌殑鍕鹃�変笂杩樻槸鍏ㄩ儴鍘绘帀鍕鹃��
+ var trueOrfalse = rows[0].cells[0].getElementsByTagName("input")[0].checked == false?false:true;
+ for(var i=0; i < rows.length; i++){
//鍒ゆ柇鏄惁鍙互鍕鹃�夛紝澶囧搧鐘舵�侊細鍙栨秷锛屽垹闄わ紝宸插欢鏈燂紝涓嶅彲浠ュ嬀閫�
if(!rows[i].cells[0].getElementsByTagName("input")[0].disabled){
rows[i].cells[0].getElementsByTagName("input")[0].checked = trueOrfalse;
}
- }
+ }
}
}
</script>
<apex:form id="allForm">
<!-- 杩斿洖鐖堕〉闈� -->
<apex:actionFunction name="senBackPage" action="{!senBackPage}" rerender="true" onComplete="unblockUI();"></apex:actionFunction>
- <apex:pageBlock id="searchBlock" tabStyle="Report">
- <table style="border-bottom-width: 0px; font-size:12px;width:100%;margin-left: 40%;">
+ <apex:pageBlock id="searchBlock" tabStyle="Report">
+ <table style="border-bottom-width: 0px; font-size:12px;width:100%;margin-left: 40%;">
<tr>
<td style="width: 20%">
<apex:commandButton onclick="searchBtnJs();return false;" rendered="true" value="涓嬩竴姝�" style="width:70px;"/>
@@ -70,16 +70,16 @@
</td>
</tr>
</table>
- </apex:pageBlock>
- <apex:pageBlock id="oppBlock1" tabStyle="Report">
- <apex:pageblocksection title="閫夋嫨寤舵湡鐢宠鍗�" id="edmpdDetails" rendered="true" columns="1" >
- <apex:outputPanel rendered="{!IF(tableData.size > 0, true, false)}">
- <table class="list" style="border-bottom-width: 0px; font-size:11px; border-spacing:0;" border="" id="tableHeader_L" >
+ </apex:pageBlock>
+ <apex:pageBlock id="oppBlock1" tabStyle="Report">
+ <apex:pageblocksection title="閫夋嫨寤舵湡鐢宠鍗�" id="edmpdDetails" rendered="true" columns="1" >
+ <apex:outputPanel rendered="{!IF(tableData.size > 0, true, false)}">
+ <table class="list" style="border-bottom-width: 0px; font-size:11px; border-spacing:0;" border="" id="tableHeader_L" >
<thead>
<tr class="headerRow" height="30px" align="center">
<!--鏍囬 -->
<td style="">
- <input type="checkbox" class="rowchkcls" onchange="checkAll()" />
+ <input type="checkbox" class="rowchkcls" onchange="checkAll()" />
</td>
<td style="">鐢宠鍗昇o.</td>
<td style="">浣跨敤鐩殑2</td>
@@ -90,10 +90,10 @@
</tr>
</thead>
<tbody>
- <apex:variable value="{!0}" var="cnt" />
+ <apex:variable value="{!0}" var="cnt" />
<apex:repeat value="{!tableData}" var="or" id="oppTable">
- <tr class="dataRow {!IF(MOD(cnt, 2)==0, 'odd', 'even')} {!IF(cnt==1, 'first', '')}" onmouseover="if (window.hiOn){hiOn(this);} " onmouseout="if (window.hiOff){hiOff(this);} " onblur="if (window.hiOff){hiOff(this);}" onfocus="if (window.hiOn){hiOn(this);}" >
- <td align="center" style="vertical-align: inherit;width:25px;border-width: 0px 1px 1px 0px;" >
+ <tr class="dataRow {!IF(MOD(cnt, 2)==0, 'odd', 'even')} {!IF(cnt==1, 'first', '')}" onmouseover="if (window.hiOn){hiOn(this);} " onmouseout="if (window.hiOff){hiOff(this);} " onblur="if (window.hiOff){hiOff(this);}" onfocus="if (window.hiOn){hiOn(this);}" >
+ <td align="center" style="vertical-align: inherit;width:25px;border-width: 0px 1px 1px 0px;" >
<apex:outputPanel rendered="{!if( or.canCheck , 'true','false')}" >
<input type="checkbox" value="canCheck" id="{!or.rentalApplyTable.Id}" class="rowchkcls" />
</apex:outputPanel>
@@ -102,9 +102,9 @@
</apex:outputPanel>
</td>
<td align="center" style="vertical-align: inherit;border-width: 0px 1px 1px 0px;">
- <a href="/{!or.rentalApplyTable.id}" target="LINK_a0u1m000000qwTuAAI">
- <span id="allPage:allForm:cmpid:cmpinnerid:dataBlock:oppTable_L:0:j_id109:0:j_id114">{!or.rentalApplyTable.name}</span>
- </a>
+ <a href="/{!or.rentalApplyTable.id}" target="LINK_a0u1m000000qwTuAAI">
+ <span id="allPage:allForm:cmpid:cmpinnerid:dataBlock:oppTable_L:0:j_id109:0:j_id114">{!or.rentalApplyTable.name}</span>
+ </a>
</td>
<td align="center" style="vertical-align: inherit;border-width: 0px 1px 1px 0px;">
<apex:outputText value="{!or.rentalApplyTable.demo_purpose2__c}" />
@@ -121,16 +121,16 @@
<td align="center" style="vertical-align: inherit;border-width: 0px 1px 1px 0px;">
<apex:outputText value="{!or.rentalApplyTable.RA_Status__c}" />
</td>
- </tr>
+ </tr>
<apex:variable value="{!cnt + 1}" var="cnt" />
</apex:repeat>
</tbody>
</table>
- </apex:outputPanel>
+ </apex:outputPanel>
<apex:outputPanel rendered="{!IF(tableData.size > 0, false, true)}">
<font style="color:red;font-size: 14px;">鏃犱换浣曠敵璇峰崟婊¤冻寤舵湡</font>
</apex:outputPanel>
- </apex:pageblocksection>
- </apex:pageBlock>
+ </apex:pageblocksection>
+ </apex:pageBlock>
</apex:form>
</apex:page>
\ No newline at end of file
--
Gitblit v1.9.1