From d7891fe7592bc32d24efe81875dcdc467482ee90 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Tue, 28 Mar 2023 08:10:11 +0800 Subject: [PATCH] =?UTF-8?q?Vue3=20=E9=87=8D=E6=9E=84=EF=BC=9A=E6=B5=81?= =?UTF-8?q?=E7=A8=8B=E5=AE=9E=E4=BE=8B=E7=9A=84=E5=88=9B=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/bpm/processInstance/index.ts | 1 + src/router/modules/remaining.ts | 2 +- .../bpm/processInstance/create/index.vue | 126 +++++++++--------- .../processInstance/create/process.create.ts | 39 ------ 4 files changed, 66 insertions(+), 102 deletions(-) delete mode 100644 src/views/bpm/processInstance/create/process.create.ts diff --git a/src/api/bpm/processInstance/index.ts b/src/api/bpm/processInstance/index.ts index d48253c3..95591ae3 100644 --- a/src/api/bpm/processInstance/index.ts +++ b/src/api/bpm/processInstance/index.ts @@ -4,6 +4,7 @@ export type Task = { id: string name: string } + export type ProcessInstanceVO = { id: number name: string diff --git a/src/router/modules/remaining.ts b/src/router/modules/remaining.ts index 380e3618..4d8c3dac 100644 --- a/src/router/modules/remaining.ts +++ b/src/router/modules/remaining.ts @@ -272,7 +272,7 @@ const remainingRouter: AppRouteRecordRaw[] = [ }, { path: '/process-instance/create', - component: () => import('@/views/bpm/processInstance/create.vue'), + component: () => import('@/views/bpm/processInstance/create/index.vue'), name: 'BpmProcessInstanceCreate', meta: { noCache: true, diff --git a/src/views/bpm/processInstance/create/index.vue b/src/views/bpm/processInstance/create/index.vue index 023788c3..dd043eae 100644 --- a/src/views/bpm/processInstance/create/index.vue +++ b/src/views/bpm/processInstance/create/index.vue @@ -1,51 +1,53 @@