| | |
| | | } |
| | | }).catch(error => { |
| | | console.log(error); |
| | | }).finally(() => { |
| | | |
| | | }); |
| | | }) |
| | | } |
| | | |
| | | // 提交待审批 |
| | | SCSubmit() { |
| | | if (this.StatusC != '草案中') { |
| | | this.ShowToastEvent("已经提交审批", "error") |
| | | // alert('已经提交审批'); |
| | | return; |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | updateQISSCReport({ |
| | | Id: this.Id |
| | | QId: this.Id |
| | | }).then(result => { |
| | | console.log(result); |
| | | if (result.length > 0) { |
| | | var split = result.split(", "); |
| | | alert(split[1]); |
| | | } else { |
| | | this.ShowToastEvent("已提交", "success") |
| | | window.location.reload(); |
| | | } |
| | | this.ShowToastEvent("已提交", "success") |
| | | // alert('已提交!') |
| | | window.location.reload(); |
| | | }) |
| | | } |
| | | |