From 80b91b46594e6a9501a6dcc410d928a4ea5b9bce Mon Sep 17 00:00:00 2001
From: zz <1842059105@qq.com>
Date: 星期四, 11 五月 2023 18:13:38 +0800
Subject: [PATCH] 招标项目 关联已有询价 修改
---
force-app/main/default/lwc/lexTenderingAttachmentButton/lexTenderingAttachmentButton.js | 25 ++++---------------------
1 files changed, 4 insertions(+), 21 deletions(-)
diff --git a/force-app/main/default/lwc/lexTenderingAttachmentButton/lexTenderingAttachmentButton.js b/force-app/main/default/lwc/lexTenderingAttachmentButton/lexTenderingAttachmentButton.js
index 81c44a0..f32c741 100644
--- a/force-app/main/default/lwc/lexTenderingAttachmentButton/lexTenderingAttachmentButton.js
+++ b/force-app/main/default/lwc/lexTenderingAttachmentButton/lexTenderingAttachmentButton.js
@@ -2,7 +2,6 @@
import { CurrentPageReference } from "lightning/navigation";
import { CloseActionScreenEvent } from 'lightning/actions';
import init from '@salesforce/apex/TenderingButtonController.initTenderingController';
-import { ShowToastEvent } from 'lightning/platformShowToastEvent';
export default class lexTenderingAttachmentButton extends LightningElement {
@api recordId;//褰撳墠杩欐潯鏁版嵁鐨刬d
id;//杩斿洖鍊肩殑id Tender_information__c鎷涙爣椤圭洰鐨刬d
@@ -18,32 +17,16 @@
}
}
}
-
+ //鎷涙爣椤圭洰鏌ョ湅闄勪欢
connectedCallback(){
init({
recordId: this.recordId
}).then(result => {
this.IsLoading = false;
this.id = result.Id;
- this.AttachmentButton();
+ window.open(`/apex/TenderInformationUploadPdf?id=${this.id}`);
this.dispatchEvent(new CloseActionScreenEvent());
- }).catch(() => {
-
- }).finally(() => {
-
- });
+ })
}
- //鏌ョ湅闄勪欢
- AttachmentButton(){
- window.open(`/apex/TenderInformationUploadPdf?id=${this.id}`);
- }
-
- showToast(msg,type) {
- const event = new ShowToastEvent({
- message: msg,
- variant: type
- });
- this.dispatchEvent(event);
- }
-}
+}
\ No newline at end of file
--
Gitblit v1.9.1