From 71b93327e8f3fb3bffffc7c033c1f782e7b6ab32 Mon Sep 17 00:00:00 2001
From: buli <137736985@qq.com>
Date: 星期一, 22 五月 2023 17:37:16 +0800
Subject: [PATCH] test
---
force-app/main/default/pages/RepairPCL.page | 40 ++++++++++++++++------------------------
1 files changed, 16 insertions(+), 24 deletions(-)
diff --git a/force-app/main/default/pages/RepairPCL.page b/force-app/main/default/pages/RepairPCL.page
index 2247b32..569e20d 100644
--- a/force-app/main/default/pages/RepairPCL.page
+++ b/force-app/main/default/pages/RepairPCL.page
@@ -10,9 +10,10 @@
<style>
- /* div#out_Div table th, div#out_Div>table>tbody>tr.headerRow>td{
+ /*div#out_Div_L table th, div#out_Div_L>table>tbody>tr.headerRow>td,*/
+ div#out_Div table th, div#out_Div>table>tbody>tr.headerRow>td{
white-space: normal;
- }*/
+ }
td .dateFormat {
@@ -29,19 +30,19 @@
position:relative;
overflow: hidden;
float:left;
- width:1000px;
+ width:700px;
}
div#out_Div_L {
position:relative;
overflow: hidden;
float:left;
- width: 500px;
+ width: 547px;
}
div#in_Div {/* tbody銇屽叆銇c仸銇勩倠銆傘亾銇撱亴銈广偗銉兗銉璞�*/
position:relative;
overflow: auto; /*銈广偗銉兗銉儛銉�*/
float:left;
- width:1000px;
+ width:700px;
height: 100px; /* tbody銈掕〃绀恒仚銈嬮珮銇曘�佸緦銇s銇仸瑾挎暣 */
}
div#in_Div_L {
@@ -49,6 +50,7 @@
overflow: hidden;
float:left;
height: 100px;
+ width: 547px;
}
body .pbBody table.list tr.headerRow td {
@@ -72,24 +74,22 @@
padding:0px 0px 0px 1px;
border-width: 0px 0px 1px 1px; vertical-align: middle; word-break:break-all;
}
-
@-moz-document url-prefix() {
body .pbBody table.list tr.dataRow td.dataCellBorder1 {padding:0px 0px 0px 0px; border-width: 0px 0px 1px 1px; vertical-align: middle; word-break:break-all;}
}
table.list {table-layout: fixed;}
table.list td {width:100px;}
-
-table.list td select {width:85%;}
-table.list td input {width:85%;}
+table.list td select {width:95%;}
+table.list td input {width:95%;}
table.list td textarea {
height:50px;
- width:70%;
+ width:90%;
}
table.list .col_Name {width:110px;}
table.list .col_Service_Repair_No__c {width:49px;}
-table.list .col_Account__c {width:123px;}
+table.list .col_Account__c {width:115px;}
table.list .col_Department_Name__c {width:59px;}
table.list .col_State_Hospital__c {width:69px;}
table.list .col_OwnershipMachine_No__c {width:69px;}
@@ -165,7 +165,7 @@
<tr>
<td width="150px">
<apex:commandButton action="{!save}" value="淇濆瓨" rerender="allPanel" onclick="blockme();" oncomplete="unblockUI();" style="height:30px;width:60px;"/>
- <apex:commandButton value="妫�绱�" onclick="searchOppJs();return false;" style="height:30px;width:60px;"/>
+ <apex:commandButton value="妫�绱�" onclick="searchOppJs();return false;" style="height:30px;width:60px;"/>
</td>
<td width="1000px">
<apex:pageMessages />
@@ -183,9 +183,7 @@
浠� <apex:inputField value="{!con1.BirthDate}" id="fromDateId"/>銆�
鍒� <apex:inputField value="{!con2.BirthDate}" id="toDateId"/>
</td>
-<!-- <td width="30px"><apex:commandButton value="鏍囪" onclick="markOpp('{!$Label.BackgroundColor}');return false;" rerender="allPanel"/></td> -->
-<!-- <td width="10px"></td> -->
-<!-- <td width="80px">鍙浠� <apex:inputCheckbox value="{!onlyOpp}" /></td> -->
+
<td>鏄剧ず銆�<apex:selectList value="{!limits}" size="1" onchange="searchOppJs();return false;"><apex:selectOptions value="{!limitOpts}"/></apex:selectList>銆�鏉℃暟鎹�</td>
<td width="10px"></td>
<td width="70px"><a href="#" onclick="expandAll();return false;" style="text-decoration: underline;">鍏ㄩ儴灞曞紑</a></td>
@@ -219,10 +217,9 @@
</apex:pageBlock>
<apex:pageBlock id="oppBlock" tabStyle="Report">
-<!-- <apex:pageblocksection columns="1" id="oppSection">-->
<apex:outputPanel >
<apex:inputHidden id="oppCount" value="{!oppCount}"/>
- <div id="out_Div_L" >
+ <div id="out_Div_L">
<table class="list" style="border-bottom-width: 0px; font-size:11px; border-spacing:0;" border="" id="tableHeader_L">
<tr class="dataRow" height="1px">
<apex:variable value="{!0}" var="cnt" />
@@ -388,9 +385,6 @@
// list 銇� headerRow 銇� td銇� toggleWidth() 銈掕拷鍔�
bindTdToggleWidth();
-
-
-
});
var elements = document.getElementsByTagName("select");
for (i = 0; i < elements.length; i++) {
@@ -415,16 +409,14 @@
input[i].style.width = "95%";
}
}
-
-//add by zzm 2023/4/26 -----start----
j$('div#in_Div').scroll(function() {
j$('div#out_Div').scrollLeft(j$(this).scrollLeft());
});
j$('div#in_Div').scroll(function() {
j$('div#in_Div_L').scrollTop(j$(this).scrollTop());
});
-windowResize();
-//add by zzm 2023/4/26 -----end----
+resizeTable();
+// windowResize();
</script>
</apex:outputPanel>
</apex:form>
--
Gitblit v1.9.1