From 107f1136290e7368f7f004e51348bb341490edb1 Mon Sep 17 00:00:00 2001
From: ssc <273702440@qq.com>
Date: Mon, 16 May 2022 08:35:52 +0800
Subject: [PATCH] =?UTF-8?q?perf:=20=E5=8F=91=E8=B5=B7=E4=BA=BA=E8=8A=82?=
=?UTF-8?q?=E7=82=B9=E6=8C=89=E9=92=AE=E6=96=87=E6=A1=88?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../workflow/process/components/button.vue | 35 ++++++++++++++-----
1 file changed, 26 insertions(+), 9 deletions(-)
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