| | |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2024-10-25 16:35:31 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2024-11-26 20:14:39 |
| | | * @LastEditTime: 2024-11-27 20:30:40 |
| | | * @FilePath: \bigScreen\src\router\index.js |
| | | * @Description: |
| | | * |
| | |
| | | const layout = () => import("@/pages/layout/index.vue") |
| | | const firstLayout = () => import('@/pages/first/index.vue') |
| | | const subLayout = () => import('@/pages/sub/index.vue') |
| | | const mapLayout = () => import('@/pages/map/index.vue') |
| | | const singleLayout = () => import('@/pages/single/index.vue') |
| | | const companyInfo = () => import('@/views/companyInfo/index.vue') |
| | | const routes = [ |
| | | // { |
| | |
| | | { |
| | | path: '/layout', |
| | | name: 'layout', |
| | | redirect: '/layout/first/survey', |
| | | redirect: '/layout/map/survey', |
| | | component: layout, |
| | | children: [ |
| | | { |
| | | path: 'first', |
| | | name: 'first', |
| | | component: firstLayout, |
| | | redirect: '/layout/first/survey', |
| | | path: 'map', |
| | | name: 'map', |
| | | component: mapLayout, |
| | | children: [ |
| | | { |
| | | path: 'survey', |
| | |
| | | component: () => import('@/views/space/index.vue') |
| | | }, |
| | | { |
| | | path: 'supplies', |
| | | meta: { |
| | | title: '应急物资' |
| | | }, |
| | | component: () => import('@/views/supplies/index.vue') |
| | | }, |
| | | { |
| | | path: 'pac', |
| | | meta: { |
| | | title: '三级防控' |
| | |
| | | component: () => import('@/views/pac/index.vue') |
| | | }, |
| | | { |
| | | path: 'rt', |
| | | meta: { |
| | | title: '救援队伍' |
| | | }, |
| | | component: () => import('@/views/rt/index.vue') |
| | | }, |
| | | { |
| | | path: 'pd', |
| | | meta: { |
| | | title: '突发事件模拟' |
| | | }, |
| | | component: () => import('@/views/pd/index.vue') |
| | | }, |
| | | ] |
| | | }, |
| | | { |
| | | path: 'single', |
| | | name: 'single', |
| | | component: singleLayout, |
| | | children: [ |
| | | { |
| | | path: 'supplies', |
| | | meta: { |
| | | title: '应急物资' |
| | | }, |
| | | component: () => import('@/views/supplies/index.vue') |
| | | }, |
| | | { |
| | | path: 'rt', |
| | | meta: { |
| | | title: '救援队伍' |
| | | }, |
| | | component: () => import('@/views/rt/index.vue') |
| | | }, |
| | | { |
| | | path: 'ochart', |
| | | meta: { |