From a3f57a44242758e1517adf7b75fe227eeee118ff Mon Sep 17 00:00:00 2001 From: YunaiV Date: Thu, 19 Jan 2023 23:30:02 +0800 Subject: [PATCH] =?UTF-8?q?bpm=EF=BC=9A=E5=A2=9E=E5=8A=A0=E6=B5=81?= =?UTF-8?q?=E7=A8=8B=E8=A1=A8=E5=8D=95=E7=9A=84=E4=BF=9D=E5=AD=98=E7=AA=97?= =?UTF-8?q?=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/form/formEditor.vue | 79 +++++++++++++++++++ .../src/views/bpm/form/index.vue | 7 +- 3 files changed, 92 insertions(+), 6 deletions(-) create mode 100644 yudao-ui-admin-vue3/src/views/bpm/form/formEditor.vue diff --git a/yudao-ui-admin-vue3/src/router/modules/remaining.ts b/yudao-ui-admin-vue3/src/router/modules/remaining.ts index 1fb7c2ae8..43ad50aa6 100644 --- a/yudao-ui-admin-vue3/src/router/modules/remaining.ts +++ b/yudao-ui-admin-vue3/src/router/modules/remaining.ts @@ -186,6 +186,18 @@ const remainingRouter: AppRouteRecordRaw[] = [ hidden: true }, children: [ + { + path: '/manager/form/edit', + component: () => import('@/views/bpm/form/formEditor.vue'), + name: 'bpmFormEditor', + meta: { + noCache: true, + hidden: true, + canTo: true, + title: '流程表单', + activeMenu: 'bpm/manager/form/formEditor' + } + }, { path: '/manager/definition', component: () => import('@/views/bpm/definition/index.vue'), diff --git a/yudao-ui-admin-vue3/src/views/bpm/form/formEditor.vue b/yudao-ui-admin-vue3/src/views/bpm/form/formEditor.vue new file mode 100644 index 000000000..201b663f2 --- /dev/null +++ b/yudao-ui-admin-vue3/src/views/bpm/form/formEditor.vue @@ -0,0 +1,79 @@ + + diff --git a/yudao-ui-admin-vue3/src/views/bpm/form/index.vue b/yudao-ui-admin-vue3/src/views/bpm/form/index.vue index 068b60b1f..37733533a 100644 --- a/yudao-ui-admin-vue3/src/views/bpm/form/index.vue +++ b/yudao-ui-admin-vue3/src/views/bpm/form/index.vue @@ -91,13 +91,8 @@ const [registerTable, { deleteData }] = useXTable({ // 新增操作 const handleCreate = () => { - console.log('新增') - if (true) { - message.success('动态表单开发中,预计 2 月底完成') - return - } router.push({ - path: '/manager/form/edit' + name: 'bpmFormEditor' }) }