From 9c43ce3f3bf2d0a2f70b73a4ba89eccf5030a683 Mon Sep 17 00:00:00 2001
From: 19626 <1962676589@qq.com>
Date: 星期三, 10 五月 2023 17:54:00 +0800
Subject: [PATCH] 查漏补缺
---
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