| | |
| | | getCurrentTaskProduceParams(id) { |
| | | // const id = this.currentTaskData?.Procedure?.ID |
| | | if (id) { |
| | | this.currentProcessParams = [] |
| | | this.getProcessParamsErrMsg = "" |
| | | startTask({id}).then((res) => { |
| | | if (res.code === 200) { |
| | | this.currentProcessParams = res.data.Params ?? [] |
| | |
| | | if (this.currentTaskData?.Procedure?.ID && this.currentTaskData?.Procedure?.Status === 1) { |
| | | this.num = 0; |
| | | this.showBtn = 1; |
| | | this.show = true; |
| | | // this.show = true; |
| | | } else { |
| | | this.show = false; |
| | | } |
| | |
| | | |
| | | </template> --> |
| | | <!-- 控制的弹框 --> |
| | | <AddControl ref="control" :Arr="Arr" /> |
| | | <!-- 控制的弹框 --> |
| | | <TaskControlModal |
| | | ref="control" |
| | | :activeName="activeName" |
| | |
| | | // }, 60000); |
| | | // } |
| | | // } |
| | | |
| | | |
| | | }); |
| | | // this.TasksCopy.push(this.object) |
| | | // this.TasksCopy.push(this.object) |