From 01ce9b5788c4369c150e57577cc4ea03b4fc5ee1 Mon Sep 17 00:00:00 2001
From: chenjingwu <chenjingwu@prec-tech.com>
Date: 星期五, 19 四月 2024 17:28:49 +0800
Subject: [PATCH] 123
---
force-app/main/default/lwc/lexTenderingLogicButton/lexTenderingLogicButton.js | 18 ++++++++++++++----
1 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/force-app/main/default/lwc/lexTenderingLogicButton/lexTenderingLogicButton.js b/force-app/main/default/lwc/lexTenderingLogicButton/lexTenderingLogicButton.js
index 54959c0..8bc074b 100644
--- a/force-app/main/default/lwc/lexTenderingLogicButton/lexTenderingLogicButton.js
+++ b/force-app/main/default/lwc/lexTenderingLogicButton/lexTenderingLogicButton.js
@@ -2,7 +2,7 @@
import { CurrentPageReference } from "lightning/navigation";
import { CloseActionScreenEvent } from 'lightning/actions';
import init from '@salesforce/apex/TenderingButtonController.initTenderingController';
-export default class lexTenderingLogicButton extends LightningElement {
+export default class Logic extends LightningElement {
@api recordId;//褰撳墠杩欐潯鏁版嵁鐨刬d
id;//杩斿洖鍊肩殑id Tender_information__c鎷涙爣椤圭洰鐨刬d
IsLoading = true;
@@ -29,11 +29,21 @@
this.LogicButton();
this.dispatchEvent(new CloseActionScreenEvent());
}
- })
+ }).catch(() => {
+
+ }).finally(() => {
+
+ });
}
- //鎷涙爣椤圭洰閫昏緫鍒犻櫎
+ //閫昏緫鍒犻櫎
LogicButton(){
window.open (`/apex/TenderDeletePagelwc?id=${this.id}`, '', 'height=350, width=600, top=200, left=350');
}
-}
\ No newline at end of file
+}
+
+
+// function IfResponse(){
+// window.open ('/apex/TenderDeletePagelwc?id={!Tender_information__c.Id}', '', 'height=350, width=600, top=200, left=350');
+// }
+// IfResponse();
\ No newline at end of file
--
Gitblit v1.9.1