From 47efcaa6a55e4b397442616f8b24d672afddefd8 Mon Sep 17 00:00:00 2001
From: 沙世明 <shashiming@prec-tech.com>
Date: 星期五, 08 四月 2022 17:13:48 +0800
Subject: [PATCH] SWAG-CC58ME
---
force-app/main/default/pages/NewAndEditInspectionReport.page | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/force-app/main/default/pages/NewAndEditInspectionReport.page b/force-app/main/default/pages/NewAndEditInspectionReport.page
index fecb514..0f6e105 100644
--- a/force-app/main/default/pages/NewAndEditInspectionReport.page
+++ b/force-app/main/default/pages/NewAndEditInspectionReport.page
@@ -226,9 +226,12 @@
}
}
- //let reporter = GetEleApiName(nodelist[5])
- //console.log('reporter:'+reporter);
- result['Reporter__c'] = document.getElementById('page:form:block:j_id50:0:j_id51:j_id52:4:j_id53_lkid').value;
+ //璧嬪�煎瘜鏂囨湰鍖哄煙
+ //绉戝璐熻矗浜虹瀛�
+ if(document.querySelector("[title = 'RTF 绶ㄨ集鍣�, page:form:block:j_id51:0:j_id52:j_id53:5:j_id54:textAreaDelegate_ResponsiblePerson_Sign__c']")){
+ result.ResponsiblePerson_Sign__c = document.querySelector("[title = 'RTF 绶ㄨ集鍣�, page:form:block:j_id51:0:j_id52:j_id53:5:j_id54:textAreaDelegate_ResponsiblePerson_Sign__c']").contentWindow.document.getElementsByTagName('body')[0].innerHTML
+ }
+ result['Reporter__c'] = document.getElementById('page:form:block:j_id51:0:j_id52:j_id53:4:j_id54_lkid').value;
return result;
}
function QuerySobjectFromAWS() {
--
Gitblit v1.9.1