From 0d4b6f6344052b131b474c6212c8427f26d6a4e0 Mon Sep 17 00:00:00 2001 From: jason <2667446@qq.com> Date: Wed, 20 Mar 2024 22:25:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=81=E7=A8=8B=E6=A8=A1=E5=9E=8B=E4=B8=AD?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=BB=BF=E9=92=89=E9=92=89=E8=AE=BE=E8=AE=A1?= =?UTF-8?q?=E5=99=A8=E5=85=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/modules/remaining.ts | 12 ++++++++++ src/views/bpm/model/index.vue | 17 ++++++++++++++ src/views/bpm/simpleWorkflow/index.vue | 31 ++++++++++++++++++++++++++ 3 files changed, 60 insertions(+) create mode 100644 src/views/bpm/simpleWorkflow/index.vue diff --git a/src/router/modules/remaining.ts b/src/router/modules/remaining.ts index ec61e971..309a8e49 100644 --- a/src/router/modules/remaining.ts +++ b/src/router/modules/remaining.ts @@ -266,6 +266,18 @@ const remainingRouter: AppRouteRecordRaw[] = [ activeMenu: '/bpm/manager/model' } }, + { + path: '/manager/simple/workflow/model/edit', + component: () => import('@/views/bpm/simpleWorkflow/index.vue'), + name: 'SimpleWorkflowDesignEditor', + meta: { + noCache: true, + hidden: true, + canTo: true, + title: '仿钉钉设计流程', + activeMenu: '/bpm/manager/model' + } + }, { path: '/manager/definition', component: () => import('@/views/bpm/definition/index.vue'), diff --git a/src/views/bpm/model/index.vue b/src/views/bpm/model/index.vue index 9b0eec5e..47d24ea9 100644 --- a/src/views/bpm/model/index.vue +++ b/src/views/bpm/model/index.vue @@ -157,6 +157,14 @@ > 设计流程 + + 仿钉钉设计流程 + { }) } +const handleSimpleDesign = (row) => { + push({ + name: 'SimpleWorkflowDesignEditor', + query: { + modelId: row.id + } + }) +} + /** 发布流程 */ const handleDeploy = async (row) => { try { diff --git a/src/views/bpm/simpleWorkflow/index.vue b/src/views/bpm/simpleWorkflow/index.vue new file mode 100644 index 00000000..7873da7f --- /dev/null +++ b/src/views/bpm/simpleWorkflow/index.vue @@ -0,0 +1,31 @@ + + + \ No newline at end of file