From 8475b9f98c8a4c95446f02be4bf2a64e359c359a Mon Sep 17 00:00:00 2001
From: liwentao <1376563863@qq.com>
Date: 星期五, 11 八月 2023 09:10:31 +0800
Subject: [PATCH] 与测试环境对比,部分代码已被人修改,删除其中的alert和部分硬编码,还原测试环境代码逻辑
---
force-app/main/default/pages/CM_SearchContactService.page | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/force-app/main/default/pages/CM_SearchContactService.page b/force-app/main/default/pages/CM_SearchContactService.page
index 01a4cfe..78d43fa 100644
--- a/force-app/main/default/pages/CM_SearchContactService.page
+++ b/force-app/main/default/pages/CM_SearchContactService.page
@@ -4,6 +4,7 @@
<apex:includeScript value="{!URLFOR($Resource.AWSService, 'AWSService.js') }" />
<!-- 2022/02/15 寮犲崕寤� dependency end -->
<apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/>
+ <apex:stylesheet value="{!URLFOR($Resource.StyleUtilCss)}"/>
<apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/>
<apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/>
<style>
@@ -33,11 +34,16 @@
var aws_result = {};
searchContactAll();
function Foo(){
+ debugger
j$('[aws-id]').each(function(i,e){
let awsDataId = j$(e).attr('aws-id');
if (contact.hasOwnProperty(awsDataId)) {
let piInformation = '濮撳悕:'+contact[awsDataId].lastName +'<br/>' +'鎵嬫満鍙�:'+ (contact[awsDataId].mobilePhone ? contact[awsDataId].mobilePhone :'');
- j$(e).find('.decrypt').html(piInformation);
+ //deloitte-zhj 瑙e瘑鑱旂郴浜轰俊鎭� 2023-07-05 start
+ //j$(e).find('.decrypt').html(piInformation);
+ console.log('j$(e) = ' + j$(e).find('.decrypt'));
+ j$(e)[0].innerText = contact[awsDataId].lastName
+ //deloitte-zhj 瑙e瘑鑱旂郴浜轰俊鎭� 2023-07-05 end
}else{
console.log(awsDataId+' not in contact');
}
@@ -157,6 +163,7 @@
// createDiv.style.background="#dddddd";
// createDiv.style.position = "absolute";
// parentNode.appendChild(createDiv);
+ debugger
console.log('dataId:'+dataId+'awsDataId Value:'+awsDataId);
let piInformation = '濮撳悕:'+contact[awsDataId].lastName +'\n' +'鐢佃瘽:'+ (contact[awsDataId].mobilePhone?contact[awsDataId].mobilePhone:'');
document.getElementById(dataId+'_'+awsDataId).innerText = piInformation;
--
Gitblit v1.9.1