| | |
| | | component: () => import("@/views/login"), |
| | | hidden: true, |
| | | }, |
| | | // 第三方登录页 |
| | | { |
| | | path: "/thirdpartylogin", |
| | | component: () => import("@/views/thirdpartylogin"), |
| | | hidden: true, |
| | | }, |
| | | // 第三方登录页中转 |
| | | { |
| | | path: "/logindemo", |
| | | component: () => import("@/views/logindemo"), |
| | | hidden: true, |
| | | }, |
| | | { |
| | | path: "/register", |
| | | component: () => import("@/views/register"), |
| | |
| | | { |
| | | path: "/401", |
| | | component: () => import("@/views/error/401"), |
| | | hidden: true, |
| | | }, |
| | | { |
| | | path: "/lock", |
| | | component: () => import("@/layout/components/lock/index"), |
| | | hidden: true, |
| | | }, |
| | | { |
| | |
| | | // 动态路由,基于用户权限动态去加载 |
| | | 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: {keepAlive: false, 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, |