From 5f8c97f8716088019ad9a0302c5dea461bc668b1 Mon Sep 17 00:00:00 2001
From: zhangzhengmei <zhangzhengmei@prec-tech.com>
Date: 星期一, 07 八月 2023 15:35:56 +0800
Subject: [PATCH] CIC相关按钮

---
 force-app/main/default/lwc/lexTenderingLogicButton/lexTenderingLogicButton.js |   13 ++++---------
 1 files changed, 4 insertions(+), 9 deletions(-)

diff --git a/force-app/main/default/lwc/lexTenderingLogicButton/lexTenderingLogicButton.js b/force-app/main/default/lwc/lexTenderingLogicButton/lexTenderingLogicButton.js
index 54959c0..38d5fe8 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;
@@ -18,7 +18,7 @@
          }
      }
     
-
+     //鎷涙爣椤圭洰閫昏緫鍒犻櫎
     connectedCallback(){
         init({
             recordId: this.recordId
@@ -26,14 +26,9 @@
             if (result != null) {
                 this.IsLoading = false;
                 this.id = result.Id;
-                this.LogicButton();
+                window.open (`/apex/TenderDeletePagelwc?id=${this.id}`, '', 'height=350, width=600, top=200, left=350');
                 this.dispatchEvent(new CloseActionScreenEvent());
             }
-        })        
-    }
-    
-    //鎷涙爣椤圭洰閫昏緫鍒犻櫎
-    LogicButton(){
-        window.open (`/apex/TenderDeletePagelwc?id=${this.id}`, '', 'height=350, width=600, top=200, left=350');
+        })     
     }
 }
\ No newline at end of file

--
Gitblit v1.9.1