| | |
| | | const event1 = new ShowToastEvent({ |
| | | message: |
| | | "不能提交审批,请确认会议状态!", |
| | | variant : "warning" |
| | | variant : "error" |
| | | }); |
| | | import init from '@salesforce/apex/LexSubmitCampaignController.initSubmit'; |
| | | import newAndUpddateCampaign from '@salesforce/apex/LexSubmitCampaignController.newAndUpddateCampaign'; |
| | |
| | | this.dispatchEvent(eventErroe3); |
| | | } |
| | | }); |
| | | if(checkUpdate!=0){ |
| | | return; |
| | | } |
| | | const eventFail = new ShowToastEvent({ |
| | | message: |
| | | result, |
| | | variant : 'error' |
| | | }); |
| | | this.dispatchEvent(eventFail); |
| | | checkUpdate +=1; |
| | | return; |
| | | } |
| | | }); |
| | | if(checkUpdate!=0){ |
| | | return; |
| | | } |
| | | |
| | | window.location.reload(); |
| | | } |