108 lines
2.5 KiB
JavaScript
Raw Normal View History

2025-10-30 15:34:23 +08:00
import component from 'element-plus/es/components/tree-select/src/tree-select-option.mjs'
2025-10-15 14:07:39 +08:00
import { createRouter, createWebHistory } from 'vue-router'
const routes = [
{
path: '/',
name: 'Home',
2025-11-07 18:13:40 +08:00
component: () => import('../views/Home.vue')
},
{
path: '/cockpit',
name: 'Cockpit',
meta: {
screen: true
},
component: () => import('../views/cockpit/index.vue')
},
2025-10-30 15:34:23 +08:00
{
2025-10-31 16:27:41 +08:00
path: '/yhz',
name: 'yhz',
2025-10-30 15:34:23 +08:00
component: () => import('../views/ServiceStationManagePage/index.vue')
2025-11-03 11:33:56 +08:00
},
{
2025-11-06 14:23:28 +08:00
path: '/yhzsb/:data?',
2025-11-03 11:33:56 +08:00
name: 'yhzsb',
component: () => import('../views/EquipmentManagement/index.vue')
2025-11-04 10:13:02 +08:00
},
{
2025-11-06 14:23:28 +08:00
path: '/yhzwz/:data?',
2025-11-04 10:13:02 +08:00
name: 'yhzwz',
component: () => import('../views/MaterialManagement/index.vue')
2025-11-06 14:23:28 +08:00
},
{
path: '/yhzevent',
name: 'yhzevent',
component: () => import('../views/SnowEventManagement/index.vue')
},
{
path: '/airSkyLand',
name: 'airskyland',
meta: {
screen: true
},
component: () => import('../views/airSkyLand/AirSkyLand.vue')
},
{
path: '/3DSituationalAwareness',
name: '3DSituationalAwareness',
meta: {
screen: true,
skipInitialCameraView: true // 跳过MapViewport的自动初始视图由页面自己控制相机
},
component: () => import('../views/3DSituationalAwarenessRefactor/index.vue')
2026-03-27 17:47:09 +08:00
},
{
path: '/riskWarning',
name: 'RiskWarning',
2026-04-02 16:57:40 +08:00
meta: {
2026-03-27 17:47:09 +08:00
screen: true
},
component: () => import('../views/RiskWarning/index.vue')
},
{
path: '/regulationsDivision',
name: 'RegulationsDivision',
meta: {
screen: true
},
component: () => import('../views/RegulationsDivision/RegulationsDivision.vue')
},
{
path: '/warningCounty',
name: 'WarningCounty',
meta: {
screen: true
},
component: () => import('../views/warningCounty/warningCounty.vue')
},
{
path: '/constructionDepartment',
name: 'ConstructionDepartment',
meta: {
screen: true
},
component: () => import('../views/ConstructionDepartment/ConstructionDepartment.vue')
},
2026-04-02 16:57:40 +08:00
// 响应预警
{
path: '/warningManagement',
name: 'warningManagement',
component: () => import('../views/WarningManagement/index.vue')
},
// 驻地台账
{
path: '/ledgerManagement',
name: 'ledgerManagement',
component: () => import('../views/LedgerManagement/index.vue')
},
2025-10-15 14:07:39 +08:00
]
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
2025-10-15 14:07:39 +08:00
routes
})
export default router