| | |
| | | import { createWebHistory, createRouter } from 'vue-router' |
| | | import { createWebHistory, createWebHashHistory, createRouter } from 'vue-router' |
| | | /* Layout */ |
| | | import Layout from '@/layout' |
| | | |
| | |
| | | hidden: true |
| | | }, |
| | | { |
| | | path: '/fillForm', |
| | | component: () => import('@/views/safetyReview/expertManage/fillForm/index.vue'), |
| | | hidden: true |
| | | }, |
| | | { |
| | | path: '/checkProgress', |
| | | component: () => import('@/views/safetyReview/expertManage/checkProgress/index.vue'), |
| | | hidden: true |
| | | }, |
| | | // { |
| | | // path: '/noMenu', |
| | | // component: Layout, |
| | | // redirect: '/noMenu', |
| | | // children: [ |
| | | // { |
| | | // path: '/noMenu', |
| | | // component: () => import('@/views/error/noMenu.vue'), |
| | | // name: 'noMenu', |
| | | // meta: { title: '提示',icon: 'form', affix: true } |
| | | // } |
| | | // ] |
| | | // }, |
| | | { |
| | | path: '', |
| | | component: Layout, |
| | | redirect: '/index', |
| | | hidden: true, |
| | | children: [ |
| | | { |
| | | path: '/index', |
| | |
| | | meta: { title: '个人中心', icon: 'user' } |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | { |
| | | path: '', |
| | | component: Layout, |
| | | redirect: '/process', |
| | | hidden: true, |
| | | children: [ |
| | | { |
| | | path: '/process', |
| | | component: () => import('@/views/safetyReview/projectManage/process.vue'), |
| | | name: 'Process', |
| | | meta: { title: '项目管理', icon: 'dashboard', affix: true } |
| | | } |
| | | ] |
| | | }, |
| | | ] |
| | | |
| | | // 动态路由,基于用户权限动态去加载 |