From cfa2f69b80ba9658f660706ccc9603846c2dfbe5 Mon Sep 17 00:00:00 2001 From: "851673013@qq.com" <851673013@qq.com> Date: Mon, 8 Aug 2022 17:42:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E5=8F=B0bug=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../workBench/components/dept-todo-view.vue | 25 ++++++++++++------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/back/src/views/modules/workBench/components/dept-todo-view.vue b/back/src/views/modules/workBench/components/dept-todo-view.vue index 34e94cf3..e72e18a3 100644 --- a/back/src/views/modules/workBench/components/dept-todo-view.vue +++ b/back/src/views/modules/workBench/components/dept-todo-view.vue @@ -21,11 +21,7 @@
-
+
-
+
{{ (item.userDeptName || '--') + @@ -73,7 +72,10 @@ " placement="top" > -
+
{{ (item.startUserDeptName || '--') + '提交的' + @@ -112,10 +114,15 @@ export default { }, methods: { // 点击部门待办数据打开弹窗 - workbenchFunction (item, name) { + workbenchFunction (item, name, nameSwitch) { const data = item data.taskName = name - this.getProcDefRouteSet(item, this.forwardHandleUrl) + data.activityId = data.startUserId + if (nameSwitch === '待办') { + this.getProcDefRouteSet(item, this.forwardHandleUrl) + } else { + this.getProcDefRouteSet(item, this.forwardDetail) + } }, formatNum (num) { return num || num === 0 ? num : '--'