| | |
| | | const event1 = new ShowToastEvent({ |
| | | message: |
| | | "请填写是否需要出借备品!", |
| | | variant : "warning" |
| | | variant : "error" |
| | | }); |
| | | const event2 = new ShowToastEvent({ |
| | | message: |
| | |
| | | const event3 = new ShowToastEvent({ |
| | | message: |
| | | "会议未结束,不允许提交会议报告。!", |
| | | variant : "warning" |
| | | variant : "error" |
| | | }); |
| | | const event4 = new ShowToastEvent({ |
| | | message: |
| | | "不能提交审批,请确认会议状态!", |
| | | variant : "warning" |
| | | variant : "error" |
| | | }); |
| | | |
| | | import init from '@salesforce/apex/LexSubmitCampaignController.initSubmit'; |
| | |
| | | if (urlValue) { |
| | | let str = `${urlValue}`; |
| | | this.recordId = str; |
| | | console.log(this.recordId); |
| | | } |
| | | } |
| | | } |
| | |
| | | }).then(result => { |
| | | if (result != null) { |
| | | this.Campaign = result; |
| | | console.log(this.Campaign); |
| | | this.submit().then(result=>{ |
| | | this.IsLoading=false; |
| | | this.dispatchEvent(new CloseActionScreenEvent()); |
| | |
| | | variant : 'error' |
| | | }); |
| | | this.dispatchEvent(eventFail); |
| | | alert('2222'); |
| | | return; |
| | | } |
| | | }); |