分级分类任务更新
Showing
5 changed files
with
41 additions
and
1 deletions
| ... | @@ -34,7 +34,7 @@ const routes: RouteRecordRaw[] = [ | ... | @@ -34,7 +34,7 @@ const routes: RouteRecordRaw[] = [ |
| 34 | cache: true, | 34 | cache: true, |
| 35 | reuse: true, | 35 | reuse: true, |
| 36 | editPage: true, | 36 | editPage: true, |
| 37 | activeMenu: '/data-inventory/classify-grade-manage/template-config' | 37 | activeMenu: '/data-inventory/classify-grade-manage/task-config' |
| 38 | }, | 38 | }, |
| 39 | beforeEnter: (to, from) => { | 39 | beforeEnter: (to, from) => { |
| 40 | if (to.query.name) { | 40 | if (to.query.name) { |
| ... | @@ -45,6 +45,46 @@ const routes: RouteRecordRaw[] = [ | ... | @@ -45,6 +45,46 @@ const routes: RouteRecordRaw[] = [ |
| 45 | } | 45 | } |
| 46 | }, | 46 | }, |
| 47 | { | 47 | { |
| 48 | path: 'task-detail', | ||
| 49 | name: 'taskDetail', | ||
| 50 | component: () => import('@/views/data_inventory/taskDetail.vue'), | ||
| 51 | meta: { | ||
| 52 | title: '结果-', | ||
| 53 | sidebar: false, | ||
| 54 | breadcrumb: false, | ||
| 55 | cache: true, | ||
| 56 | reuse: true, | ||
| 57 | editPage: true, | ||
| 58 | activeMenu: '/data-inventory/classify-grade-manage/task-config' | ||
| 59 | }, | ||
| 60 | beforeEnter: (to, from) => { | ||
| 61 | if (to.query.type == 'confirm') { | ||
| 62 | to.meta.title = `${to.query.name}-结果确认`; | ||
| 63 | } else { | ||
| 64 | to.meta.title = `${to.query.name}-结果修改`; | ||
| 65 | } | ||
| 66 | } | ||
| 67 | }, | ||
| 68 | { | ||
| 69 | path: 'task-log', | ||
| 70 | name: 'taskLog', | ||
| 71 | component: () => import('@/views/data_inventory/taskLog.vue'), | ||
| 72 | meta: { | ||
| 73 | title: '分级分类日志', | ||
| 74 | sidebar: false, | ||
| 75 | breadcrumb: false, | ||
| 76 | cache: true, | ||
| 77 | reuse: true, | ||
| 78 | editPage: true, | ||
| 79 | activeMenu: '/data-inventory/classify-grade-manage/task-config' | ||
| 80 | }, | ||
| 81 | beforeEnter: (to, from) => { | ||
| 82 | // if (to.query.name) { | ||
| 83 | // to.meta.title = `编辑-${to.query.name}`; | ||
| 84 | // } | ||
| 85 | } | ||
| 86 | }, | ||
| 87 | { | ||
| 48 | path: 'template-config', | 88 | path: 'template-config', |
| 49 | name: 'templateConfig', | 89 | name: 'templateConfig', |
| 50 | component: () => import('@/views/data_inventory/templateConfig.vue'), | 90 | component: () => import('@/views/data_inventory/templateConfig.vue'), | ... | ... |
This diff is collapsed.
Click to expand it.
src/views/data_inventory/taskDetail.vue
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
src/views/data_inventory/taskLog.vue
0 → 100644
This diff is collapsed.
Click to expand it.
-
Please register or sign in to post a comment