| | |
| | | import authorityManage from '@/views/userManage/authorityManage.vue'; //用户管理-权限管理 |
| | | import resourceManage from '@/views/userManage/resourceManage.vue'; //用户管理-资源管理 |
| | | import userRoleAuthorization from '@/views/AuthorizationManagement/userRoleAuthorization.vue'; //系统管理-用户角色授权 |
| | | |
| | | import menuRoleAuthorization from '@/views/AuthorizationManagement/menuRoleAuthorization.vue'; //系统管理-菜单权限授权 |
| | | import roleResAuthorization from '@/views/AuthorizationManagement/roleResAuthorization.vue'; //系统管理-角色资源授权 |
| | | import roleMenuAuthorization from '@/views/AuthorizationManagement/roleMenuAuthorization.vue'; //系统管理-角色菜单授权 |
| | | |
| | | //包二 |
| | | import WareInspection from '@/views/PackageTwo/WareInspection.vue'; //数据质检-入库质检 |
| | | import QualityInspection from '@/views/PackageTwo/index.vue'; //数据质检-入库质检 |
| | | const originalPush = VueRouter.prototype.push; |
| | | |
| | | VueRouter.prototype.push = function push(location) { |
| | |
| | | component: login, |
| | | }, |
| | | { |
| | | path: '/Thematic', |
| | | name: 'Thematic', |
| | | component: Thematic, |
| | | |
| | | }, |
| | | { |
| | | path: '/', |
| | | name: 'Home', |
| | | component: Home, |
| | | redirect: '/Synthesis', |
| | | children: [ |
| | | { |
| | | path: '/WareInspection', |
| | | component: WareInspection, |
| | | name: 'WareInspection', |
| | | meta: { |
| | | title: '入库质检', |
| | | requireAuth: true, // 标识该路由是否需要登录 |
| | | }, |
| | | }, |
| | | { |
| | | path: '/QualityInspection', |
| | | component: QualityInspection, |
| | | name: 'QualityInspection', |
| | | meta: { |
| | | title: '入库质检', |
| | | requireAuth: true, // 标识该路由是否需要登录 |
| | | }, |
| | | }, |
| | | { |
| | | path: '/mochaitmo', |
| | | component: mochaitmo, |
| | |
| | | requireAuth: true, // 标识该路由是否需要登录 |
| | | }, |
| | | }, |
| | | { |
| | | path: '/Thematic', |
| | | name: 'Thematic', |
| | | component: Thematic, |
| | | meta: { |
| | | title: '专题地图', |
| | | requireAuth: true, // 标识该路由是否需要登录 |
| | | }, |
| | | }, |
| | | |
| | | { |
| | | path: '/Archive', |
| | | name: 'Archive', |