From 32939a2e9d8b967fde6e71b9b501e221cf9814d1 Mon Sep 17 00:00:00 2001 From: zhouwenxuan <1175765986@qq.com> Date: 星期三, 13 十二月 2023 13:05:52 +0800 Subject: [PATCH] 样式调整,bug修复 --- src/router/index.js | 151 ++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 146 insertions(+), 5 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 1814798..9a2c07b 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -52,20 +52,161 @@ component: () => import('@/views/error/401'), hidden: true }, + + { + path: '/expertUser', + component: () => import('@/views/safetyReview/userManage/expertUsers/index.vue'), + hidden: true + }, + { + path: '/evaluate', + component: () => import('@/views/safetyReview/baseSet/evaluateType/index.vue'), + hidden: true + }, + { + path: '/business', + component: () => import('@/views/safetyReview/baseSet/business/index.vue'), + hidden: true + }, + { + path: '/area', + component: () => import('@/views/safetyReview/baseSet/area/index.vue'), + hidden: true + }, + // { + // path: '', + // component: Layout, + // redirect: '/index', + // children: [ + // { + // path: '/index', + // component: () => import('@/views/index'), + // name: 'Index', + // meta: { title: '首页',icon: 'form', affix: true } + // } + // ] + // }, { path: '', component: Layout, - redirect: '/index', + redirect: '/institution', children: [ { - path: '/index', - component: () => import('@/views/index'), - name: 'Index', - meta: { title: '首页', icon: 'dashboard', affix: true } + path: '/institution', + component: () => import('@/views/safetyReview/institution/institution.vue'), + name: 'Institution', + meta: { title: '机构公示', icon: 'form', affix: true } } ] }, { + path: '/notice', + component: Layout, + redirect: '/notice', + children: [ + { + path: '/notice', + component: () => import('@/views/safetyReview/notice/notice.vue'), + name: 'Notice', + meta: { title: '公告发布',icon: 'form', affix: true } + } + ] + }, + { + path: '/law', + component: Layout, + redirect: '/law', + children: [ + { + path: '/law', + component: () => import('@/views/safetyReview/law/law.vue'), + name: 'Law', + meta: { title: '法律法规',icon: 'form', affix: true } + } + ] + }, + { + path: '/userManage', + component: Layout, + redirect: '/userManage/supervise', + meta: { title: '用户管理'}, + children: [ + { + path: 'supervise', + component: () => import('@/views/safetyReview/userManage/superviseUsers/index.vue'), + name: 'supervise', + meta: { title: '监管用户管理',icon: 'form'} + }, + { + path: 'institutionUser', + component: () => import('@/views/safetyReview/userManage/institutionUsers/index.vue'), + name: 'institutionUser', + meta: { title: '机构用户管理',icon: 'form'} + }, + { + path: 'expertUsers', + component: () => import('@/views/safetyReview/userManage/expertUsers/index.vue'), + name: 'expertUsers', + meta: { title: '专家用户管理',icon: 'form'} + }, + ] + }, + { + path: '/expertManage', + component: Layout, + redirect: '/expertManage/expert', + meta: { title: '厅专家库管理'}, + children: [ + { + path: 'expert', + component: () => import('@/views/index'), + name: 'expert', + meta: { title: '厅专家库',icon: 'form'} + }, + { + path: 'record', + component: () => import('@/views/index'), + name: 'record', + meta: { title: '专家申请记录',icon: 'form'} + }, + { + path: 'expertUser', + component: () => import('@/views/safetyReview/userManage/expertUsers/index.vue'), + name: 'expertUser', + meta: { title: '专家用户管理',icon: 'form'} + }, + ] + }, + { + path: '/baseSet', + component: Layout, + redirect: '/baseSet/evaluate', + meta: { title: '基础设置'}, + children: [ + { + path: 'evaluate', + component: () => import('@/views/safetyReview/baseSet/evaluateType/index.vue'), + name: 'evaluate', + meta: { title: '评价类型管理',icon: 'form'} + }, + { + path: 'business', + component: () => import('@/views/safetyReview/baseSet/business/index.vue'), + name: 'business', + meta: { title: '业务范围',icon: 'form'} + }, + { + path: 'area', + component: () => import('@/views/safetyReview/baseSet/area/index.vue'), + name: 'area', + meta: { title: '地区维护',icon: 'form'} + }, + ] + }, + + + + { path: '/user', component: Layout, hidden: true, -- Gitblit v1.9.2