From 84e0a7994d22fa5be5e5f8ae91ca4990ef495afd Mon Sep 17 00:00:00 2001
From: chenjingwu <chenjingwu@prec-tech.com>
Date: 星期五, 24 五月 2024 16:49:53 +0800
Subject: [PATCH] 1

---
 force-app/main/default/lwc/lexTenderingAttachmentButton/lexTenderingAttachmentButton.js |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/force-app/main/default/lwc/lexTenderingAttachmentButton/lexTenderingAttachmentButton.js b/force-app/main/default/lwc/lexTenderingAttachmentButton/lexTenderingAttachmentButton.js
index c9f5295..3c58a8d 100644
--- a/force-app/main/default/lwc/lexTenderingAttachmentButton/lexTenderingAttachmentButton.js
+++ b/force-app/main/default/lwc/lexTenderingAttachmentButton/lexTenderingAttachmentButton.js
@@ -27,10 +27,14 @@
             this.id = result.Id;
             this.AttachmentButton();
             this.dispatchEvent(new CloseActionScreenEvent());
-        })       
+        }).catch(error => {
+            console.log("error"+error);
+        }).finally(() => {
+            
+        });        
     }
     
-    //鎷涙爣椤圭洰鏌ョ湅闄勪欢
+    //鏌ョ湅闄勪欢
     AttachmentButton(){
         window.open(`/apex/TenderInformationUploadPdf?id=${this.id}`);
     }
@@ -43,3 +47,8 @@
         this.dispatchEvent(event);
     }
 }
+
+// var From= function(){
+//     window.open( "/apex/TenderInformationUploadPdf?id={!URLENCODE(Tender_information__c.Id)}");
+//     }
+//     From();
\ No newline at end of file

--
Gitblit v1.9.1