From 88d7869b422a1070a0ea8efd22613997e9dbe2fe Mon Sep 17 00:00:00 2001
From: zhouwenxuan <1175765986@qq.com>
Date: 星期三, 29 十一月 2023 10:04:52 +0800
Subject: [PATCH] 后台管理页面、菜单配置

---
 src/router/index.js |  143 +++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 142 insertions(+), 1 deletions(-)

diff --git a/src/router/index.js b/src/router/index.js
index 1814798..4d25555 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -52,6 +52,27 @@
     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,
@@ -61,11 +82,131 @@
         path: '/index',
         component: () => import('@/views/index'),
         name: 'Index',
-        meta: { title: '首页', icon: 'dashboard', affix: true }
+        meta: { title: '首页',icon: 'form', affix: true }
       }
     ]
   },
   {
+    path: '/institution',
+    component: Layout,
+    redirect: '/institution',
+    children: [
+      {
+        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