import type { Route } from '@/global' const Layout = () => import('@/layouts/index.vue') const routes: Route.recordRaw[] = [ { path: '/recognition', component: Layout, redirect: '/map1', name: 'recognition', meta: { title: '第三方施工智能识别管理', icon: 'ep:key', auth: '/recognition', }, children: [ { path: '/map2', component: () => import('@/views/recognition/index.vue'), name: 'recognitionMap', meta: { title: '第三方施工智能识别管理', icon: 'ep:key', auth: '/recognition', sidebar: false, breadcrumb: false, }, }, ], }, { path: '/analyse', component: Layout, redirect: '/map3', name: 'analyse', meta: { title: '第三方施工智能识别管理', icon: 'ep:key', auth: '/analyse', }, children: [ { path: '/map4', component: () => import('@/views/recognition/index.vue'), name: 'analyseMap', meta: { title: '第三方施工智能识别管理', icon: 'ep:key', auth: '/analyse', sidebar: false, breadcrumb: false, }, }, ], }, { path: '/database', component: Layout, redirect: '/map5', name: 'database', meta: { title: '第三方施工智能识别管理', icon: 'ep:key', auth: '/database', }, children: [ { path: '/map6', component: () => import('@/views/recognition/index.vue'), name: 'databaseMap', meta: { title: '第三方施工智能识别管理', icon: 'ep:key', auth: '/database', sidebar: false, breadcrumb: false, }, }, ], }, { path: '/undergroundCavity', component: Layout, redirect: '/map7', name: 'undergroundCavity', meta: { title: '第三方施工智能识别管理', icon: 'ep:key', auth: '/undergroundCavity', }, children: [ { path: '/map8', component: () => import('@/views/recognition/index.vue'), name: 'undergroundCavityMap', meta: { title: '第三方施工智能识别管理', icon: 'ep:key', auth: '/undergroundCavity', sidebar: false, breadcrumb: false, }, }, ], }, ] export default routes