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" /> - - - - -