From f20f7ae7178f481e073c02161770fd20b121e6a9 Mon Sep 17 00:00:00 2001 From: 彭锟 <pengkun@prec-tech.com> Date: 星期二, 29 三月 2022 17:44:41 +0800 Subject: [PATCH] Merge branch '624,601,606,相关更改' --- 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