智慧园区前端大屏
shuishen
2024-12-10 28dd8afc31dd83aa9a33a00b0ed0a37a422aa277
src/router/index.js
@@ -2,7 +2,7 @@
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2024-10-25 16:35:31
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2024-12-02 17:23:21
 * @LastEditTime: 2024-12-10 16:46:59
 * @FilePath: \bigScreen\src\router\index.js
 * @Description: 
 * 
@@ -38,7 +38,7 @@
  {
    path: '/layout',
    name: 'layout',
    redirect: '/layout/map/main/survey',
    redirect: '/layout/map/main/space',
    component: layout,
    children: [
      {
@@ -51,20 +51,6 @@
            name: 'main',
            component: mainLayout,
            children: [
              {
                path: 'survey',
                meta: {
                  title: '园区概况'
                },
                component: () => import('@/views/survey/index.vue')
              },
              {
                path: 'rs',
                meta: {
                  title: '风险源'
                },
                component: () => import('@/views/rs/index.vue')
              },
              {
                path: 'space',
                meta: {
@@ -88,52 +74,8 @@
              },
            ]
          },
          {
            path: 'sub',
            name: 'sub',
            component: subLayout,
            redirect: '/layout/map/sub/companyInfo',
            children: [
              {
                path: 'companyInfo',
                meta: {
                  title: '企业详情'
                },
                component: companyInfo
              },
            ]
          }
        ]
      },
      {
        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: {
              title: '作战图'
            },
            component: () => import('@/views/ochart/index.vue')
          },
        ]
      },
      }
    ]
  },
]