| | |
| | | }, |
| | | }, |
| | | mounted() { |
| | | getAssignee(this.row).then(res => { |
| | | this.assigneeData = res.data.data; |
| | | this.optionApprove.column[1].dicData = this.assigneeData; |
| | | this.reassignOption.column[1].dicData = this.assigneeData; |
| | | }) |
| | | //this.setApproveBtn(row) |
| | | }, |
| | | methods: { |
| | |
| | | } |
| | | }, |
| | | handleAction(row, index) { |
| | | getAssignee({ |
| | | taskId: row.taskId, |
| | | }).then(res => { |
| | | this.assigneeData = res.data.data; |
| | | this.optionApprove.column[1].dicData = this.assigneeData; |
| | | this.reassignOption.column[1].dicData = this.assigneeData; |
| | | }) |
| | | this.formApprove = { |
| | | comment: '', |
| | | approve: 'Y', // 默认同 |
| | | } |
| | | this.approveBox = true; |
| | | this.row = row |
| | | |
| | | this.setAssignee(row, this.formApprove.approve); |
| | | this.setApproveBtn(row); |
| | | console.log('handleAction', row, index); |