From 1a846a596c87cf9674caff2c0571962b9909fb58 Mon Sep 17 00:00:00 2001
From: 彭锟 <pengkun@prec-tech.com>
Date: 星期二, 29 三月 2022 17:43:10 +0800
Subject: [PATCH] 329,624batch,601batch,606batch相关更改
---
force-app/main/default/pages/ViewReportDecryptInfo.page | 30 +++++++++++++++---------------
1 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/force-app/main/default/pages/ViewReportDecryptInfo.page b/force-app/main/default/pages/ViewReportDecryptInfo.page
index 02b6176..8c70f71 100644
--- a/force-app/main/default/pages/ViewReportDecryptInfo.page
+++ b/force-app/main/default/pages/ViewReportDecryptInfo.page
@@ -15,21 +15,21 @@
AWSService.query(staticResources.queryUrl, '{!AWSDataId}', queryBack, staticResources.token);
}
var queryBack = function queryBack(data) {
- document.querySelector("[data-id='VOC_Informer_Name__c']").innerHTML=data.object.vocInformerName
- document.querySelector("[id='page:form:pageBlock:pageBlockSection:j_id2:1:j_id3']").innerHTML=data.object.callerPhone
- document.querySelector("[data-id='VOC_Informer_Contact__c']").innerHTML=data.object.vocInformerContact
- document.querySelector("[data-id='Person_In_Charge_Text__c']").innerHTML=data.object.personInChargeText
- document.querySelector("[data-id='Professor_sigh_text__c']").innerHTML=data.object.professorSighText
- document.querySelector("[data-id='Staff_Info_Manual_c__c']").innerHTML=data.object.staffInfoManual
- document.querySelector("[data-id='Medical_History__c']").innerHTML = data.object.medicalHistory
- document.querySelector("[data-id='Practitioner1_Part__c']").innerHTML=data.object.practitioner1Part
- document.querySelector("[data-id='Practitioner2_Part__c']").innerHTML=data.object.practitioner2Part
- document.querySelector("[data-id='Practitioner3_Part__c']").innerHTML=data.object.practitioner3Part
- document.getElementById('page:form:pageBlock:pageBlockSection:j_id2:10:j_id3').innerHTML=data.object.practitioner4Part
- document.getElementById('page:form:pageBlock:pageBlockSection:j_id2:11:j_id3').innerHTML=data.object.practitioner5Part
- document.getElementById('page:form:pageBlock:pageBlockSection:j_id2:12:j_id3').innerHTML=data.object.age
- document.getElementById('page:form:pageBlock:pageBlockSection:j_id2:13:j_id3').innerHTML=data.object.responsiblePersonHP
- document.querySelector("[data-id='sex__c']").innerHTML=data.object.sex
+ document.querySelector("[data-id='VOC_Informer_Name__c']").innerText=data.object.vocInformerName
+ document.querySelector("[id='page:form:pageBlock:pageBlockSection:j_id2:1:j_id3']").innerText=data.object.callerPhone
+ document.querySelector("[data-id='VOC_Informer_Contact__c']").innerText=data.object.vocInformerContact
+ document.querySelector("[data-id='Person_In_Charge_Text__c']").innerText=data.object.personInChargeText
+ document.querySelector("[data-id='Professor_sigh_text__c']").innerText=data.object.professorSighText
+ document.querySelector("[data-id='Staff_Info_Manual_c__c']").innerText=data.object.staffInfoManual
+ document.querySelector("[data-id='Medical_History__c']").innerText = data.object.medicalHistory
+ document.querySelector("[data-id='Responsible_Person_HP_c__c']").innerText=data.object.responsiblePersonHP
+ document.querySelector("[data-id='Practitioner1_Part__c']").innerText=data.object.practitioner1Part
+ document.getElementById('page:form:pageBlock:pageBlockSection:j_id2:8:j_id3').innerText=data.object.practitioner2Part
+ document.getElementById('page:form:pageBlock:pageBlockSection:j_id2:9:j_id3').innerText=data.object.practitioner3Part
+ document.getElementById('page:form:pageBlock:pageBlockSection:j_id2:10:j_id3').innerText=data.object.practitioner4Part
+ document.getElementById('page:form:pageBlock:pageBlockSection:j_id2:11:j_id3').innerText=data.object.practitioner5Part
+ document.querySelector("[data-id='age__c']").innerText=data.object.age
+ document.querySelector("[data-id='sex__c']").innerText=data.object.sex
};
sfdcPage.appendToOnloadQueue(function () {
console.log('awsDataId = '+'{!AWSDataId}')
--
Gitblit v1.9.1