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 解密联系人信息 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 解密联系人信息 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;