| | |
| | | </el-drawer> |
| | | </basic-container> |
| | | <div> |
| | | <top-todo ref="topTodoComponent" /> |
| | | <!--<top-todo ref="topTodoComponent" />--> |
| | | </div> |
| | | </template> |
| | | <script> |
| | |
| | | }; |
| | | }, |
| | | watch: { |
| | | // 'form.category'() { |
| | | // const category = func.toInt(this.form.category); |
| | | // this.$refs.crud.option.column.filter(item => { |
| | | // if (item.prop === 'path') { |
| | | // item.rules[0].required = category === 1; |
| | | // } |
| | | // if (item.prop === 'isOpen') { |
| | | // item.disabled = category === 2; |
| | | // } |
| | | // }); |
| | | // }, |
| | | |
| | | 'formApprove.approve'(val) { |
| | | this.setAssignee(this.row, val); |
| | | // if(val === 'Y' && ['confirmIsUseableTask'].includes(this.row.taskDefinitionKey) && this.row.variables.isProcessEditionSame=='N') { |
| | | // // this.optionApprove.column[2].display = true; // 显示工序版次 |
| | | // } else { |
| | | // this.optionApprove.column[2].display = false; // 隐藏工序版次 |
| | | // } |
| | | |
| | | }, |
| | | 'reassignForm.approve'(val) { |
| | |
| | | }, |
| | | mounted() { |
| | | //this.setApproveBtn(row) |
| | | getAssignee({ |
| | | taskId: 0, |
| | | }).then(res => { |
| | | //if(row.taskDefinitionKey === '') |
| | | this.assigneeData = res.data.data; |
| | | this.reassignOption.column[1].dicData = this.assigneeData; |
| | | }); |
| | | }, |
| | | methods: { |
| | | // 设置审批结果的状态 |
| | |
| | | this.transferTaskSelection = list; |
| | | }, |
| | | reassign(val) {// 重新指派 |
| | | |
| | | this.reassignType = val; |
| | | if (this.transferTaskSelection.length === 0) { |
| | | this.$message.warning('请选择需要操作的任务'); |