From f5a94e721ae5a26f817f0df75065b64f1f192eb3 Mon Sep 17 00:00:00 2001
From: Li Jun <buli@deloitte.com.cn>
Date: 星期一, 28 三月 2022 21:43:51 +0800
Subject: [PATCH] PIPLFunctionDeploy0328

---
 force-app/main/default/pages/ViewOnCallDecrypt.page |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/force-app/main/default/pages/ViewOnCallDecrypt.page b/force-app/main/default/pages/ViewOnCallDecrypt.page
index 2ddae3a..72a1136 100644
--- a/force-app/main/default/pages/ViewOnCallDecrypt.page
+++ b/force-app/main/default/pages/ViewOnCallDecrypt.page
@@ -17,12 +17,13 @@
                 </apex:repeat>
             </apex:pageBlockSection>
             <script>
+                AWSService.sfSessionId = '{!GETSESSIONID()}';
                 var staticResources = JSON.parse('{!staticResource}');
                 function QueryConsumApplyFromAWS() {
                     AWSService.query(staticResources.queryUrl, '{!AWSDataId}', queryBack, staticResources.token);
                 }
                 var queryBack = function queryBack(data) {
-                    document.querySelector("[id='page:form:pageBlock:pageBlockSection:j_id2:1:j_id3']").innerHTML = data.object.callerPhone;
+                    document.querySelector("[id='page:form:pageBlock:pageBlockSection:j_id2:0:j_id3']").innerHTML = data.object.callerPhone;
                     document.querySelector("[data-id='Responsible_Person_HP__c']").innerHTML = data.object.responsiblePersonHP;
                 };
                 sfdcPage.appendToOnloadQueue(function () {

--
Gitblit v1.9.1