| | |
| | | required: true, |
| | | type: String |
| | | }, |
| | | projectType: { |
| | | required: true, |
| | | type: String |
| | | } |
| | | }, |
| | | watch: { |
| | | // 监听回显值 |
| | |
| | | // 启动流程 |
| | | startProcess() { |
| | | this.startLoading = true |
| | | startProcess(this.projectInfo.projectId, this.selectProcessDefId).then(res => { |
| | | const data = { |
| | | projectId: this.projectInfo.projectId, |
| | | processDefId: this.selectProcessDefId, |
| | | projectType: this.projectType |
| | | } |
| | | startProcess(data).then(res => { |
| | | this.$message.success(res.msg); |
| | | this.startLoading = false |
| | | this.handleClose() |
| | |
| | | } |
| | | const data = { |
| | | projectId: this.projectInfo.projectId, |
| | | processDefId: this.selectProcessDefId |
| | | processDefId: this.selectProcessDefId, |
| | | projectType: this.projectType |
| | | } |
| | | this.setLoading = true |
| | | projectSetProcess(data).then(res => { |