From 2f1466af31796c1a963f26e86038ddc84471ed2e Mon Sep 17 00:00:00 2001
From: 李彤 <litong@prec-tech.com>
Date: 星期六, 02 四月 2022 17:42:24 +0800
Subject: [PATCH] 目标录入相关判断修改

---
 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