diff --git a/src/router/views/index.js b/src/router/views/index.js index 23c83ca..e439539 100644 --- a/src/router/views/index.js +++ b/src/router/views/index.js @@ -87,4 +87,44 @@ export default [{ component: () => import( /* webpackChunkName: "views" */ '@/views/inspection/inspectionobjectDetail') }] + }, { + path: '/inspection', + component: Layout, + redirect: '/inspection/index', + children: [{ + path: 'inspectionrouteDetail', + name: '巡检路线详情', + meta: { + menu: false + }, + component: () => + import( /* webpackChunkName: "views" */ '@/views/inspection/inspectionrouteDetail') + }] + }, { + path: '/inspection', + component: Layout, + redirect: '/inspection/index', + children: [{ + path: 'inspectionplanDetail', + name: '巡检计划详情', + meta: { + menu: false + }, + component: () => + import( /* webpackChunkName: "views" */ '@/views/inspection/inspectionPlanDetail') + }] + }, { + path: '/inspection', + component: Layout, + redirect: '/inspection/index', + children: [{ + path: 'inspectiontasksDetail', + name: '巡检任务详情', + meta: { + menu: false + }, + component: () => + import( /* webpackChunkName: "views" */ '@/views/inspection/inspectiontasksDetail') }] +} + ]