| | |
| | | * @Author: chen jing wu |
| | | * @Date: 2023-03-28 15:59:44 |
| | | * @LastEditors: chen jing wu |
| | | * @LastEditTime: 2023-04-11 11:24:51 |
| | | * @LastEditTime: 2023-05-09 15:20:58 |
| | | */ |
| | | import { api, wire,LightningElement } from 'lwc'; |
| | | import { CurrentPageReference } from "lightning/navigation"; |
| | |
| | | import updateForOCSMNoToReportButton from '@salesforce/apex/ReportController.updateForOCSMNoToReportButton'; |
| | | import { updateRecord } from 'lightning/uiRecordApi'; |
| | | import { ShowToastEvent } from 'lightning/platformShowToastEvent'; |
| | | import insertAwareDate from '@salesforce/apex/ReportController.updateForOCSMNoToReportButton'; |
| | | export default class LexOCSMNoToReportForReport extends LightningElement { |
| | | @api recordId; |
| | | IsLoading = true; |
| | |
| | | this.dispatchEvent(new CloseActionScreenEvent()); |
| | | return; |
| | | } |
| | | this.AwareDate = Date.now(); |
| | | if(this.AwareDate != undefined ){ |
| | | updateForOCSMNoToReportButton({ |
| | | recordId: this.recordId |