19626
2023-04-13 920f16a391a3a25a7e7f4d90b6cb600d6c6dbd91
force-app/main/default/lwc/lexDispatchOCSMQARA/lexDispatchOCSMQARA.js
@@ -4,7 +4,7 @@
 * @Author: chen jing wu
 * @Date: 2023-04-07 09:02:03
 * @LastEditors: chen jing wu
 * @LastEditTime: 2023-04-11 09:07:34
 * @LastEditTime: 2023-04-11 11:23:37
 */
import { api, wire,LightningElement } from 'lwc';
import { CurrentPageReference } from "lightning/navigation";
@@ -58,9 +58,13 @@
            updateForDispatchOCSMQARAButton({
                recordId: this.recordId
            }).then(result =>{
                if(result){
                    this.showToast(result,"error");
                }else{
                this.showToast("成功","success");
                this.updateRecordView(this.recordId);
                this.IsLoading = false;
                }
                this.dispatchEvent(new CloseActionScreenEvent());
                });
    }