| | |
| | | // 动态路由,基于用户权限动态去加载 |
| | | export const dynamicRoutes = [ |
| | | { |
| | | // 下单页面 |
| | | // 检验下单页面 |
| | | path: '/inspectionOrder', |
| | | component: Layout, |
| | | hidden: true, |
| | |
| | | ] |
| | | }, |
| | | { |
| | | // 检验任务页面 |
| | | path: '/inspectionTask', |
| | | component: Layout, |
| | | hidden: true, |
| | | permissions: ['business:inspection'], |
| | | children: [ |
| | | { |
| | | // 任务检验页面 |
| | | path: 'inspection', |
| | | component: () => import('@/views/business/inspectionTask/Inspection'), |
| | | name: 'inspection', |
| | | meta: { title: '委托单检验', activeMenu: '/business/inspectionTask' } |
| | | }, |
| | | // { |
| | | // // 查看委托单详情页面 |
| | | // path: 'showDetails', |
| | | // component: () => import('@/views/business/inspectionOrder/add'), |
| | | // name: 'showDetails', |
| | | // meta: { title: '委托单详情', activeMenu: '/business/inspectionOrder' } |
| | | // } |
| | | ] |
| | | }, |
| | | { |
| | | // 用户管理 |
| | | path: "/system/user-auth", |
| | | component: Layout, |