unknown
2023-04-11 fd1234ddc5be42b9ec2fad9d9286cd2aa58eb0ef
force-app/main/default/lwc/lexOCMSubmit/lexOCMSubmit.js
@@ -16,6 +16,7 @@
   qisStatus;
   contractnumber;
   isaohuiproduct;
    err;
   @wire(CurrentPageReference)
     getStateParameters(currentPageReference) {
             console.log(111);
@@ -38,12 +39,10 @@
        }).then(result => {
            this.IsLoading = false;
            this.qisReportId = result.Id;
            this.qisStatus = result.QIStatus;
            this.QISInstallDate = result.QISInstallDate;
            this.qisStatus = result.qIStatus;
            this.QISInstallDate = result.qISInstallDate;
            this.contractnumber = result.contractnumber;
            this.isaohuiproduct = result.isaohuiproduct;
            console.log('this.qisStatus='+this.qisStatus);
            console.log('this.isaohuiproduct='+this.isaohuiproduct);
            if (this.qisStatus!='草案中' && this.qisStatus!='取消') {
               const evt = new ShowToastEvent({
                        title : '已经提交',
@@ -116,9 +115,10 @@
              }).then(result =>{
                 console.log('result'+result);
                 if (result!='成功') {
                        this.err = result;
                    const evt = new ShowToastEvent({
                           title : '更新失败',
                           message: result,
                           message: this.err,
                           variant: 'error'
                       });
                       this.dispatchEvent(evt);