From ddb0231ef7c5cf2bad9d3f1afc2f733674ad38a5 Mon Sep 17 00:00:00 2001
From: unknown <sunxia@prec-tech.com>
Date: 星期四, 24 八月 2023 14:50:51 +0800
Subject: [PATCH] 再修理按钮
---
force-app/main/default/pages/ConsumTrialUpdate.page | 21 +++++++++++++++++++--
1 files changed, 19 insertions(+), 2 deletions(-)
diff --git a/force-app/main/default/pages/ConsumTrialUpdate.page b/force-app/main/default/pages/ConsumTrialUpdate.page
index 591da9f..08735b8 100644
--- a/force-app/main/default/pages/ConsumTrialUpdate.page
+++ b/force-app/main/default/pages/ConsumTrialUpdate.page
@@ -1,4 +1,4 @@
-<apex:page controller="ConsumTrialUpdateController" showHeader="false" action="{!init}" id="allPage">
+<apex:page controller="ConsumTrialUpdateController" showHeader="false" action="{!init}" id="allPage" lightningStylesheets="true">
<apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/>
<apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/>
<apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/>
@@ -6,6 +6,8 @@
<apex:includeScript value="{!URLFOR($Resource.ReceivingNotePageJS)}"/>
<apex:includeScript value="{!URLFOR($Resource.CommonUtilJs)}"/>
<apex:includeScript value="{! URLFOR($Resource.AWSService, 'AWSService.js') }"/>
+ <apex:stylesheet value="{!URLFOR($Resource.StyleUtilCss)}"/><!-- 20230619 ljh lightning 聽-->
+
<apex:form id="allForm">
<style>
table.headTable td {
@@ -23,6 +25,7 @@
background-image:url('{!URLFOR($Resource.IconResizePlus_5)}');
background-repeat:no-repeat;
}
+ #tableData td{display: inline-flex;}
</style>
<script type="text/javascript">
var heightAjustment = 120;
@@ -290,7 +293,14 @@
document.getElementById(ids[i]).children[0].children[0].innerText = TrialUser[ids[i].substring(0,18)].trialUser;
console.log('i = '+i);
}
- });
+ });
+ //瑙e瘑淇℃伅add by xq 2023/07/06 Start ConsumTrialUpdate q2
+ for(var i in rowBList){
+ console.log('robId= '+rowBList[i].AWSDataId)
+ console.log('useeId= '+TrialUser[rowBList[i].AWSDataId]["trialUser"]);
+ document.getElementById(rowBList[i].AWSDataId+'_'+rowBList[i].Id).innerText = TrialUser[rowBList[i].AWSDataId]["trialUser"];
+ }
+ //瑙e瘑淇℃伅add by xq 2023/07/06 end
}
function queryUser(){
@@ -313,6 +323,13 @@
let temp = {}
temp.trialUser = contacts.trialUser;
TrialUser[contacts.dataId] = temp;
+ //瑙e瘑淇℃伅add by xq 2023/07/06 Start queryUser else
+ for(var i in rowBList){
+ console.log('robId= '+rowBList[i].AWSDataId)
+ console.log('useeId= '+TrialUser[rowBList[i].AWSDataId]["trialUser"]);
+ document.getElementById(rowBList[i].AWSDataId+'_'+rowBList[i].Id).innerText = TrialUser[rowBList[i].AWSDataId]["trialUser"];
+ }
+ //瑙e瘑淇℃伅add by xq 2023/07/06 end
};
for(var i=0;i<rowBList.length;i++){
ids.push(rowBList[i].AWSDataId + '_' + rowBList[i].Id);
--
Gitblit v1.9.1