| | |
| | | init({ |
| | | recordId: this.recordId |
| | | }).then(result => { |
| | | this.Status = result.Statusl; |
| | | this.Status = result.Status; |
| | | this.IsLoading = false; |
| | | this.NoStatus(); |
| | | this.dispatchEvent(new CloseActionScreenEvent()); |
| | |
| | | NoStatus(){ |
| | | if(this.Status != '04.已建意向'){ |
| | | window.open ('/apex/StatusPage?id='+this.recordId , '不需要的理由', |
| | | 'height=400, width=700, top=200, left=400, toolbar=no, menubar=no, scrollbars=no, location=no, status=no'); |
| | | 'height=400, width=790, top=200, left=400, toolbar=no, menubar=no, scrollbars=no, location=no, status=no'); |
| | | }else { |
| | | // alert('已经有意向了,不能执行此操作。'); |
| | | this.showToast("已经有意向了,不能执行此操作。","error") |