diff --git a/src/views/plugin/workflow/process/components/button.vue b/src/views/plugin/workflow/process/components/button.vue index d2c6ddd..427d6d5 100644 --- a/src/views/plugin/workflow/process/components/button.vue +++ b/src/views/plugin/workflow/process/components/button.vue @@ -9,12 +9,18 @@ type="success" size="medium" v-loading="loading" - @click="$emit('examine', true)">通过 + @click="$emit('examine', true)"> + 重新提交 + 通过 + 驳回 + @click="$emit('examine', false)"> + 驳回 + 取消申请 + 加签 - { + const list = res.data.data + this.backNodes = list + this.findObject(this.nodeOption.column, 'nodeId').dicData = list + }) + } + }, + immediate: true } }, methods: { @@ -112,11 +133,7 @@ export default { this.$message.error("请填写批复意见") return } - const { taskId } = this.process - backNodes({ taskId }).then(res => { - this.findObject(this.nodeOption.column, 'nodeId').dicData = res.data.data - this.nodeVisible = true - }) + this.nodeVisible = true }, handleNodeSubmit() { // 指定回退确定 const { nodeId } = this.nodeForm