From b551d133c0b97297902564d3cdbd17bd0b0ad79d Mon Sep 17 00:00:00 2001
From: zz <1842059105@qq.com>
Date: 星期三, 31 五月 2023 16:59:34 +0800
Subject: [PATCH] 产品咨询单 修改错误字段
---
force-app/main/default/lwc/lexCreateInstructReport/lexCreateInstructReport.js | 14 ++------------
1 files changed, 2 insertions(+), 12 deletions(-)
diff --git a/force-app/main/default/lwc/lexCreateInstructReport/lexCreateInstructReport.js b/force-app/main/default/lwc/lexCreateInstructReport/lexCreateInstructReport.js
index e9cea49..df27f2b 100644
--- a/force-app/main/default/lwc/lexCreateInstructReport/lexCreateInstructReport.js
+++ b/force-app/main/default/lwc/lexCreateInstructReport/lexCreateInstructReport.js
@@ -10,7 +10,6 @@
CloseActionScreenEvent
} from 'lightning/actions';
import init from '@salesforce/apex/buttonCampaignCtl.init';
-import { ShowToastEvent } from 'lightning/platformShowToastEvent';
export default class LexCreateInstructReport extends LightningElement {
@api recordId;
@@ -52,18 +51,9 @@
CreateInstructReport() {
var status = this.Status;
if (status == '鍏紑涓�') {
- window.open("/apex/InstructReport?camid="+this.Id, "_top");
+ window.open("/apex/InstructReport?camid=" + this.Id, "_top");
} else {
- this.ShowToastEvent("鍙湁鎵瑰噯鍚庢墠鑳藉垱寤烘姤鍛�!", "error")
+ alert("鍙湁鎵瑰噯鍚庢墠鑳藉垱寤烘姤鍛�!")
}
- }
-
- ShowToastEvent(msg, type) {
- const event = new ShowToastEvent({
- title: '',
- message: msg,
- variant: type
- });
- this.dispatchEvent(event);
}
}
\ No newline at end of file
--
Gitblit v1.9.1