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/InsReportPDF.page | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/force-app/main/default/pages/InsReportPDF.page b/force-app/main/default/pages/InsReportPDF.page
index a58c973..fa829dd 100644
--- a/force-app/main/default/pages/InsReportPDF.page
+++ b/force-app/main/default/pages/InsReportPDF.page
@@ -230,7 +230,7 @@
iframe.setAttribute('style', 'position:absolute;right:0; top:0; bottom:0; height:100%; width:100%');
document.body.appendChild(iframe);
iframe.src = pdf.output('datauristring');
- for(let e of document.body.childNodes){
+ for(let ei in document.body.childNodes){let e=document.body.childNodes[ei];
if( e != iframe && e.style){
e.style.display = 'none';
}
@@ -307,7 +307,7 @@
unblockUI();
document.getElementById("Responsible_Person__c").innerHTML = data.object.responsiblePerson;
- setTimeout(() => {
+ setTimeout(function(){
jsPdfDownload();
}, 1500);
}, staticResources.token);
--
Gitblit v1.9.1