| | |
| | | qisStatus; |
| | | OSHstaff; |
| | | OSHstaffEmail; |
| | | |
| | | err; |
| | | @wire(CurrentPageReference) |
| | | getStateParameters(currentPageReference) { |
| | | console.log(111); |
| | |
| | | }).then(result => { |
| | | this.IsLoading = false; |
| | | this.qisReportId = result.Id; |
| | | this.qisStatus = result.QIStatus; |
| | | this.OSHstaff = result.OSHstaff; |
| | | this.OSHstaffEmail = result.OSHstaffEmail; |
| | | this.qisStatus = result.qIStatus; |
| | | this.OSHstaff = result.oSHstaff; |
| | | this.OSHstaffEmail = result.oSHstaffEmail; |
| | | console.log('this.qisStatus='+this.qisStatus); |
| | | console.log('this.OSHstaff='+this.OSHstaff); |
| | | console.log('this.OSHstaffEmail='+this.OSHstaffEmail); |
| | |
| | | }).then(result =>{ |
| | | console.log('result'+result); |
| | | if (result!='成功') { |
| | | alert(result); |
| | | } |
| | | this.err = result; |
| | | const evt = new ShowToastEvent({ |
| | | title : '更新失败', |
| | | message: this.err, |
| | | variant: 'error' |
| | | }); |
| | | this.dispatchEvent(evt); |
| | | } |
| | | this.dispatchEvent(new CloseActionScreenEvent()); |
| | | this.updateRecordView(this.recordId); |
| | | }).catch(error => { |