From 450f9922c8b9435e219e9ee44ccc90df581dcd60 Mon Sep 17 00:00:00 2001
From: chenjingwu <chenjingwu@prec-tech.com>
Date: 星期五, 19 四月 2024 17:28:23 +0800
Subject: [PATCH] 123
---
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