| | |
| | | const event1 = new ShowToastEvent({ |
| | | message: |
| | | "存在审批中的会议延期申请,无法再次提交延期申请。!", |
| | | variant : "warning" |
| | | variant : "error" |
| | | }); |
| | | const event2 = new ShowToastEvent({ |
| | | message: |
| | | "耗材借出申请的状态未处于`草案中`或`取消`,该会议只能取消,无法延期。", |
| | | variant : "warning" |
| | | variant : "error" |
| | | }); |
| | | const event3 = new ShowToastEvent({ |
| | | message: |
| | | "备品借出申请的状态未处于`草案中`或`取消`,该会议只能取消,无法延期。", |
| | | variant : "warning" |
| | | variant : "error" |
| | | }); |
| | | const event4 = new ShowToastEvent({ |
| | | message: |
| | | "该活动信息已发送到智慧医疗,请确认后再操作", |
| | | variant : "warning" |
| | | variant : "error" |
| | | }); |
| | | const event5 = new ShowToastEvent({ |
| | | message: |
| | | "该会议不在公开中或申请中,只能取消,无法延期。", |
| | | variant : "warning" |
| | | variant : "error" |
| | | }); |
| | | export default class lexMeetingDelayApplyCampaign extends NavigationMixin(LightningElement) { |
| | | @api recordId; |
| | |
| | | if (urlValue) { |
| | | let str = `${urlValue}`; |
| | | this.recordId = str; |
| | | console.log(this.recordId); |
| | | } |
| | | } |
| | | } |
| | | |
| | | connectedCallback(){ |
| | | init({recordId:this.recordId}).then(res=>{ |
| | | console.log(res); |
| | | this.Campaign=res; |
| | | this.meetingDelayApply().then(res=>{ |
| | | this.IsLoading=false; |