From 9587297f13ea444c3f3b43417b6c7bee83fe82d9 Mon Sep 17 00:00:00 2001
From: 黄千龙 <huangqianlong@prec-tech.com>
Date: 星期二, 04 四月 2023 14:46:18 +0800
Subject: [PATCH] 黄千龙修改按钮(更新至2023.4.4)
---
force-app/main/default/lwc/lexRCSubmit/lexRCSubmit.js | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/force-app/main/default/lwc/lexRCSubmit/lexRCSubmit.js b/force-app/main/default/lwc/lexRCSubmit/lexRCSubmit.js
index 002e02a..d548720 100644
--- a/force-app/main/default/lwc/lexRCSubmit/lexRCSubmit.js
+++ b/force-app/main/default/lwc/lexRCSubmit/lexRCSubmit.js
@@ -21,6 +21,7 @@
QISReplyDay;
RCproblemnotfound;
type;
+ err;
@wire(CurrentPageReference)
getStateParameters(currentPageReference) {
console.log(111);
@@ -51,11 +52,6 @@
this.RCinspectionDate = result.RCinspectionDate;
this.QISReplyDay = result.QISReplyDay;
this.RCproblemnotfound = result.RCproblemnotfound;
- console.log('this.qisStatus='+this.qisStatus);
- console.log('this.CancelQISReason='+this.CancelQISReason);
- console.log('this.Rcid='+this.Rcid);
- console.log('this.RCproblemnotfound='+this.RCproblemnotfound);
- console.log('this.RCinspectionDate='+this.RCinspectionDate);
if (this.qisStatus!='RC妫�娴嬩腑') {
const evt = new ShowToastEvent({
title : '宸茬粡鎻愪氦瀹℃壒',
@@ -142,10 +138,11 @@
oldQIStatus: this.qisStatus
}).then(result =>{
console.log('result'+result);
+ this.err = result;
if (result!='鎴愬姛') {
const evt = new ShowToastEvent({
title : '鏇存柊澶辫触',
- message: result,
+ message: this.err,
variant: 'error'
});
this.dispatchEvent(evt);
--
Gitblit v1.9.1