| | |
| | | /* |
| | | * @Description: |
| | | * @version: |
| | | * @Author: chen jing wu |
| | | * @Date: 2023-03-27 14:05:59 |
| | | * @LastEditors: chen jing wu |
| | | * @LastEditTime: 2023-04-10 17:56:04 |
| | | */ |
| | | import { LightningElement, wire, track, api } from "lwc"; |
| | | import { CurrentPageReference } from "lightning/navigation"; |
| | | import { CloseActionScreenEvent } from "lightning/actions"; |
| | |
| | | .then((result) => { |
| | | console.log(result); |
| | | if (result != null) { |
| | | this.Isloading = false; |
| | | this.status = result.status; |
| | | this.update(); |
| | | } |
| | |
| | | this.showToast(result,"error"); |
| | | } |
| | | this.updateRecordView(this.recordId); |
| | | this.Isloading = false; |
| | | this.dispatchEvent(new CloseActionScreenEvent()); |
| | | }).catch(error=>{ |
| | | console.log(error); |