| | |
| | | label: 'this is the aria-label value', |
| | | |
| | | }).then(cancel=>{ |
| | | // this.IsLoading=false; |
| | | // this.dispatchEvent(new CloseActionScreenEvent()); |
| | | |
| | | if(cancel) { |
| | | cancelApply({ |
| | | taId : this.recordId |
| | |
| | | |
| | | |
| | | }); |
| | | } else { |
| | | this.IsLoading=false; |
| | | this.dispatchEvent(new CloseActionScreenEvent()); |
| | | } |
| | | |
| | | }); |
| | |
| | | async cancelSubmit(){ |
| | | if(this.cancelResult == '1') { |
| | | await this.showToast("",'取消成功',"success"); |
| | | window.location.href = window.location; |
| | | |
| | | setTimeout(function(){ |
| | | window.location.href = window.location; |
| | | }, 1500 ) |
| | | } else { |
| | | console.log("result:",this.cancelResult); |
| | | await this.showToast("",this.cancelResult,"warning"); |