From 4dabb710c557345ed5e3c391ebd8e77eb818deb3 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sat, 15 Apr 2023 16:03:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=20OA=20=E8=AF=B7=E5=81=87?= =?UTF-8?q?=EF=BC=8Ccreate=20=E5=92=8C=20detail=20=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E7=8B=AC=E7=AB=8B=E8=B7=AF=E7=94=B1=EF=BC=8C=E5=8F=AF=E6=8E=A5?= =?UTF-8?q?=E5=85=A5=E5=B7=A5=E4=BD=9C=E6=B5=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/modules/remaining.ts | 14 +++- src/views/bpm/oa/leave/create.vue | 113 ++++++++++++------------------ src/views/bpm/oa/leave/detail.vue | 34 +++++---- src/views/bpm/oa/leave/index.vue | 20 +++--- 4 files changed, 88 insertions(+), 93 deletions(-) diff --git a/src/router/modules/remaining.ts b/src/router/modules/remaining.ts index 8886e388..d3b18d9c 100644 --- a/src/router/modules/remaining.ts +++ b/src/router/modules/remaining.ts @@ -313,7 +313,19 @@ const remainingRouter: AppRouteRecordRaw[] = [ hidden: true, canTo: true, title: '发起 OA 请假', - activeMenu: 'bpm/oa/leave/create' + activeMenu: '/bpm/oa/leave' + } + }, + { + path: '/bpm/oa/leave/detail', + component: () => import('@/views/bpm/oa/leave/detail.vue'), + name: 'OALeaveDetail', + meta: { + noCache: true, + hidden: true, + canTo: true, + title: '查看 OA 请假', + activeMenu: '/bpm/oa/leave' } } ] diff --git a/src/views/bpm/oa/leave/create.vue b/src/views/bpm/oa/leave/create.vue index 321ec609..13c49419 100644 --- a/src/views/bpm/oa/leave/create.vue +++ b/src/views/bpm/oa/leave/create.vue @@ -1,56 +1,55 @@ diff --git a/src/views/bpm/oa/leave/detail.vue b/src/views/bpm/oa/leave/detail.vue index 838be149..2efc37fb 100644 --- a/src/views/bpm/oa/leave/detail.vue +++ b/src/views/bpm/oa/leave/detail.vue @@ -1,40 +1,48 @@ - diff --git a/src/views/bpm/oa/leave/index.vue b/src/views/bpm/oa/leave/index.vue index ebf10d72..901b6038 100644 --- a/src/views/bpm/oa/leave/index.vue +++ b/src/views/bpm/oa/leave/index.vue @@ -137,19 +137,12 @@ @pagination="getList" /> - - - - -