From a82f0830a132be063a63dcd7dd2ccca2179d5738 Mon Sep 17 00:00:00 2001
From: zhangzhengmei <zhangzhengmei@prec-tech.com>
Date: 星期日, 06 八月 2023 10:46:38 +0800
Subject: [PATCH] QISPDF课题修改同步
---
force-app/main/default/lwc/lexRentalApplyESetRefreshStatus/lexRentalApplyESetRefreshStatus.js | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/force-app/main/default/lwc/lexRentalApplyESetRefreshStatus/lexRentalApplyESetRefreshStatus.js b/force-app/main/default/lwc/lexRentalApplyESetRefreshStatus/lexRentalApplyESetRefreshStatus.js
index 7cd6690..fa94641 100644
--- a/force-app/main/default/lwc/lexRentalApplyESetRefreshStatus/lexRentalApplyESetRefreshStatus.js
+++ b/force-app/main/default/lwc/lexRentalApplyESetRefreshStatus/lexRentalApplyESetRefreshStatus.js
@@ -4,7 +4,7 @@
import { ShowToastEvent } from 'lightning/platformShowToastEvent';
-import eSetRefreshStatus from '@salesforce/apex/RentalApplyESetRefreshStatusController.eSetRefreshStatus';
+import eSetRefreshStatus from '@salesforce/apex/LexRentalApplyESetRefreshStaController.eSetRefreshStatus';
export default class lexRentalApplyESetRefreshStatus extends LightningElement {
@api raeSetId;
IsLoading=true;
@@ -34,7 +34,6 @@
}).then(result => {
this.refreshResult = result;
-
this.cancelSubmit().then(res=>{
this.IsLoading=false;
this.dispatchEvent(new CloseActionScreenEvent());
@@ -50,14 +49,14 @@
async cancelSubmit(){
if(this.refreshResult == '1') {
- this.showToast('','鐘舵�佹洿鏂板畬姣�','success');
+ this.showToast('','鐘舵�佹洿鏂板畬姣�!','success');
// alert("鐘舵�佹洿鏂板畬姣�!");
location.href = "/"+this.recordId;
} else {
console.log("result:",this.refreshResult);
- this.showToast('','鏇存柊澶辫触锛岃鑱旂郴绠$悊鍛橈紒','warning');
- // alert("鏇存柊澶辫触锛岃鑱旂郴绠$悊鍛橈紒");
+ this.showToast('','鏇存柊澶辫触锛�'+this.refreshResult,'warning');
+ // this.showToast('','鏇存柊澶辫触锛岃鑱旂郴绠$悊鍛橈紒','warning');
}
--
Gitblit v1.9.1