From a8628cfe2640797ba9265e9be46c42430d9e7eba Mon Sep 17 00:00:00 2001
From: twysparks <twysparks@163.com>
Date: 星期一, 26 六月 2023 10:01:44 +0800
Subject: [PATCH] 服务按钮样式调整
---
force-app/main/default/lwc/lexCreateInstructReport/lexCreateInstructReport.js | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/force-app/main/default/lwc/lexCreateInstructReport/lexCreateInstructReport.js b/force-app/main/default/lwc/lexCreateInstructReport/lexCreateInstructReport.js
index df27f2b..a1fe2e8 100644
--- a/force-app/main/default/lwc/lexCreateInstructReport/lexCreateInstructReport.js
+++ b/force-app/main/default/lwc/lexCreateInstructReport/lexCreateInstructReport.js
@@ -17,6 +17,7 @@
IsLoading = true;
Id;
Status;
+ msg;
@wire(CurrentPageReference)
getStateParameters(currentPageReference) {
@@ -35,7 +36,6 @@
}).then(result => {
console.log(result);
if (result != null) {
- this.IsLoading = false;
this.Id = result.Id;
this.Status = result.Status;
@@ -53,7 +53,12 @@
if (status == '鍏紑涓�') {
window.open("/apex/InstructReport?camid=" + this.Id, "_top");
} else {
- alert("鍙湁鎵瑰噯鍚庢墠鑳藉垱寤烘姤鍛�!")
+ this.msg = '鍙湁鎵瑰噯鍚庢墠鑳藉垱寤烘姤鍛�!';
+ this.IsLoading = false;
}
}
+
+ closeAction() {
+ window.history.go(-1);
+ }
}
\ No newline at end of file
--
Gitblit v1.9.1