2025-10-15 14:07:39 +08:00
|
|
|
|
import { createRouter, createWebHistory } from 'vue-router'
|
|
|
|
|
|
|
|
|
|
|
|
const routes = [
|
|
|
|
|
|
{
|
|
|
|
|
|
path: '/',
|
|
|
|
|
|
name: 'Home',
|
2026-04-03 16:29:10 +08:00
|
|
|
|
component: () => import('../views/Home.vue'),
|
|
|
|
|
|
meta: {
|
|
|
|
|
|
title: '首页',
|
|
|
|
|
|
breadcrumb: true
|
|
|
|
|
|
}
|
2025-10-31 15:35:54 +08:00
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
path: '/cockpit',
|
|
|
|
|
|
name: 'Cockpit',
|
2025-11-19 17:47:54 +08:00
|
|
|
|
meta: {
|
2026-04-03 16:29:10 +08:00
|
|
|
|
title: '驾驶舱',
|
|
|
|
|
|
screen: true,
|
|
|
|
|
|
breadcrumb: true
|
2025-11-19 17:47:54 +08:00
|
|
|
|
},
|
2025-10-31 15:35:54 +08:00
|
|
|
|
component: () => import('../views/cockpit/index.vue')
|
2025-10-31 15:40:24 +08:00
|
|
|
|
},
|
2025-10-30 15:34:23 +08:00
|
|
|
|
{
|
2025-10-31 16:27:41 +08:00
|
|
|
|
path: '/yhz',
|
|
|
|
|
|
name: 'yhz',
|
2026-04-03 16:29:10 +08:00
|
|
|
|
component: () => import('../views/ServiceStationManagePage/index.vue'),
|
|
|
|
|
|
meta: {
|
|
|
|
|
|
title: '养护站管理',
|
|
|
|
|
|
breadcrumb: true
|
|
|
|
|
|
}
|
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',
|
2026-04-03 16:29:10 +08:00
|
|
|
|
component: () => import('../views/EquipmentManagement/index.vue'),
|
|
|
|
|
|
meta: {
|
|
|
|
|
|
title: '养护站设备',
|
|
|
|
|
|
breadcrumb: true
|
|
|
|
|
|
}
|
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',
|
2026-04-03 16:29:10 +08:00
|
|
|
|
component: () => import('../views/MaterialManagement/index.vue'),
|
|
|
|
|
|
meta: {
|
|
|
|
|
|
title: '养护站物资',
|
|
|
|
|
|
breadcrumb: true
|
|
|
|
|
|
}
|
2025-11-06 14:23:28 +08:00
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
path: '/yhzevent',
|
|
|
|
|
|
name: 'yhzevent',
|
2026-04-03 16:29:10 +08:00
|
|
|
|
component: () => import('../views/SnowEventManagement/index.vue'),
|
|
|
|
|
|
meta: {
|
|
|
|
|
|
title: '雪情事件管理',
|
|
|
|
|
|
breadcrumb: true
|
|
|
|
|
|
}
|
2025-11-06 14:23:28 +08:00
|
|
|
|
},
|
2025-11-17 17:58:19 +08:00
|
|
|
|
{
|
|
|
|
|
|
path: '/airSkyLand',
|
|
|
|
|
|
name: 'airskyland',
|
|
|
|
|
|
meta: {
|
2026-04-03 16:29:10 +08:00
|
|
|
|
title: '空天地一体化',
|
|
|
|
|
|
screen: true,
|
|
|
|
|
|
breadcrumb: true
|
2025-11-17 17:58:19 +08:00
|
|
|
|
},
|
|
|
|
|
|
component: () => import('../views/airSkyLand/AirSkyLand.vue')
|
2025-11-17 18:02:49 +08:00
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
path: '/3DSituationalAwareness',
|
|
|
|
|
|
name: '3DSituationalAwareness',
|
2025-11-17 18:12:35 +08:00
|
|
|
|
meta: {
|
2026-04-03 16:29:10 +08:00
|
|
|
|
title: '三维态势感知',
|
2025-11-25 09:35:28 +08:00
|
|
|
|
screen: true,
|
2026-04-08 16:01:04 +08:00
|
|
|
|
skipInitialCameraView: true, // 跳过MapViewport的自动初始视图,由页面自己控制相机
|
2026-04-03 16:29:10 +08:00
|
|
|
|
breadcrumb: true
|
2025-11-17 18:12:35 +08:00
|
|
|
|
},
|
2025-11-17 18:02:49 +08:00
|
|
|
|
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-04-03 16:29:10 +08:00
|
|
|
|
title: '风险预警',
|
|
|
|
|
|
screen: true,
|
2026-04-03 16:32:57 +08:00
|
|
|
|
breadcrumb: false
|
2026-03-27 17:47:09 +08:00
|
|
|
|
},
|
|
|
|
|
|
component: () => import('../views/RiskWarning/index.vue')
|
|
|
|
|
|
},
|
2026-03-30 10:57:32 +08:00
|
|
|
|
{
|
|
|
|
|
|
path: '/regulationsDivision',
|
|
|
|
|
|
name: 'RegulationsDivision',
|
|
|
|
|
|
meta: {
|
2026-04-03 16:29:10 +08:00
|
|
|
|
title: '法规分工',
|
|
|
|
|
|
screen: true,
|
|
|
|
|
|
breadcrumb: true
|
2026-03-30 10:57:32 +08:00
|
|
|
|
},
|
|
|
|
|
|
component: () => import('../views/RegulationsDivision/RegulationsDivision.vue')
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
path: '/warningCounty',
|
|
|
|
|
|
name: 'WarningCounty',
|
|
|
|
|
|
meta: {
|
2026-04-03 16:29:10 +08:00
|
|
|
|
title: '区县预警',
|
|
|
|
|
|
screen: true,
|
|
|
|
|
|
breadcrumb: true
|
2026-03-30 10:57:32 +08:00
|
|
|
|
},
|
|
|
|
|
|
component: () => import('../views/warningCounty/warningCounty.vue')
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
path: '/constructionDepartment',
|
|
|
|
|
|
name: 'ConstructionDepartment',
|
|
|
|
|
|
meta: {
|
2026-04-03 16:29:10 +08:00
|
|
|
|
title: '建设部门',
|
|
|
|
|
|
screen: true,
|
|
|
|
|
|
breadcrumb: true
|
2026-03-30 10:57:32 +08:00
|
|
|
|
},
|
|
|
|
|
|
component: () => import('../views/ConstructionDepartment/ConstructionDepartment.vue')
|
|
|
|
|
|
},
|
2026-04-10 17:47:38 +08:00
|
|
|
|
// 响应预警 - 建设处
|
2026-04-02 16:57:40 +08:00
|
|
|
|
{
|
|
|
|
|
|
path: '/warningManagement',
|
|
|
|
|
|
name: 'warningManagement',
|
2026-04-10 17:47:38 +08:00
|
|
|
|
component: () => import('../views/WarningManagement/construction/index.vue'),
|
2026-04-03 16:29:10 +08:00
|
|
|
|
meta: {
|
|
|
|
|
|
title: '响应预警',
|
|
|
|
|
|
breadcrumb: true
|
|
|
|
|
|
}
|
2026-04-02 16:57:40 +08:00
|
|
|
|
},
|
2026-04-10 17:47:38 +08:00
|
|
|
|
// 驻地台账 - 建设处
|
2026-04-02 16:57:40 +08:00
|
|
|
|
{
|
|
|
|
|
|
path: '/ledgerManagement',
|
|
|
|
|
|
name: 'ledgerManagement',
|
2026-04-03 16:29:10 +08:00
|
|
|
|
component: () => import('../views/LedgerManagement/index.vue'),
|
|
|
|
|
|
meta: {
|
|
|
|
|
|
title: '驻地台账',
|
|
|
|
|
|
breadcrumb: true,
|
2026-04-10 17:47:38 +08:00
|
|
|
|
parentRoute: 'warningManagement'
|
2026-04-03 16:29:10 +08:00
|
|
|
|
}
|
2026-04-07 17:56:06 +08:00
|
|
|
|
},
|
2026-04-10 17:47:38 +08:00
|
|
|
|
// 响应预警 - 区县级
|
|
|
|
|
|
{
|
|
|
|
|
|
path: '/warningManagement2',
|
|
|
|
|
|
name: 'warningManagement2',
|
|
|
|
|
|
component: () => import('../views/WarningManagement/district/index.vue'),
|
|
|
|
|
|
meta: {
|
|
|
|
|
|
title: '响应预警',
|
|
|
|
|
|
breadcrumb: true
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
// 驻地台账 - 区县级
|
|
|
|
|
|
{
|
|
|
|
|
|
path: '/ledgerManagement2',
|
|
|
|
|
|
name: 'ledgerManagement2',
|
|
|
|
|
|
component: () => import('../views/LedgerManagement/index.vue'),
|
|
|
|
|
|
meta: {
|
|
|
|
|
|
title: '驻地台账',
|
|
|
|
|
|
breadcrumb: true,
|
|
|
|
|
|
parentRoute: 'warningManagement2'
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
2026-04-13 14:04:56 +08:00
|
|
|
|
// 响应预警 - 法规处
|
|
|
|
|
|
{
|
|
|
|
|
|
path: '/warningManagement3',
|
|
|
|
|
|
name: 'warningManagement3',
|
|
|
|
|
|
component: () => import('../views/WarningManagement/law/index.vue'),
|
|
|
|
|
|
meta: {
|
|
|
|
|
|
title: '响应预警',
|
|
|
|
|
|
breadcrumb: true
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
// 线下帮扶台账 - 法规处
|
|
|
|
|
|
// {
|
|
|
|
|
|
// path: '/ledgerManagement3',
|
|
|
|
|
|
// name: 'ledgerManagement3',
|
|
|
|
|
|
// component: () => import('../views/LedgerManagement/index.vue'),
|
|
|
|
|
|
// meta: {
|
|
|
|
|
|
// title: '驻地台账',
|
|
|
|
|
|
// breadcrumb: true,
|
|
|
|
|
|
// parentRoute: 'warningManagement3'
|
|
|
|
|
|
// }
|
|
|
|
|
|
// },
|
|
|
|
|
|
|
2026-04-10 17:47:38 +08:00
|
|
|
|
|
2026-04-10 10:07:04 +08:00
|
|
|
|
// 项目管理 - 区县
|
2026-04-07 17:56:06 +08:00
|
|
|
|
{
|
|
|
|
|
|
path: '/projectManagement',
|
|
|
|
|
|
name: 'projectManagement',
|
2026-04-10 10:07:04 +08:00
|
|
|
|
component: () => import('../views/ProjectManagement_Rebuild/district/index.vue'),
|
2026-04-07 17:56:06 +08:00
|
|
|
|
meta: {
|
|
|
|
|
|
title: '项目管理',
|
|
|
|
|
|
breadcrumb: true
|
|
|
|
|
|
}
|
2026-04-08 16:01:04 +08:00
|
|
|
|
},
|
2026-04-09 16:12:48 +08:00
|
|
|
|
{
|
|
|
|
|
|
path: '/projectAdd/:data?',
|
|
|
|
|
|
name: 'projectAdd',
|
2026-04-10 10:07:04 +08:00
|
|
|
|
component: () => import('../views/ProjectManagement_Rebuild/district/projectAddPage.vue'),
|
2026-04-09 16:12:48 +08:00
|
|
|
|
meta: {
|
|
|
|
|
|
title: '项目填报',
|
|
|
|
|
|
breadcrumb: true,
|
2026-04-10 17:47:38 +08:00
|
|
|
|
parentRoute: 'projectManagement'
|
2026-04-09 16:12:48 +08:00
|
|
|
|
}
|
|
|
|
|
|
},
|
2026-04-10 10:23:41 +08:00
|
|
|
|
// 项目详情 - 区县版本
|
2026-04-09 18:17:44 +08:00
|
|
|
|
{
|
|
|
|
|
|
path: '/projectDetail/:data?',
|
|
|
|
|
|
name: 'projectDetail',
|
2026-04-10 10:07:04 +08:00
|
|
|
|
component: () => import('../views/ProjectManagement_Rebuild/district/projectDetailPage.vue'),
|
2026-04-09 18:17:44 +08:00
|
|
|
|
meta: {
|
|
|
|
|
|
title: '项目详情',
|
|
|
|
|
|
breadcrumb: true,
|
2026-04-10 17:47:38 +08:00
|
|
|
|
parentRoute: 'projectManagement'
|
2026-04-09 18:17:44 +08:00
|
|
|
|
}
|
|
|
|
|
|
},
|
2026-04-10 10:07:04 +08:00
|
|
|
|
// 项目管理 - 业务部门
|
|
|
|
|
|
{
|
|
|
|
|
|
path: '/projectManagement2',
|
|
|
|
|
|
name: 'projectManagement2',
|
|
|
|
|
|
component: () => import('../views/ProjectManagement_Rebuild/business/index.vue'),
|
|
|
|
|
|
meta: {
|
|
|
|
|
|
title: '项目管理',
|
|
|
|
|
|
breadcrumb: true
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
2026-04-10 10:23:41 +08:00
|
|
|
|
// 项目详情 - 业务部门版本
|
|
|
|
|
|
{
|
|
|
|
|
|
path: '/projectDetail2/:data?',
|
|
|
|
|
|
name: 'projectDetail2',
|
2026-04-13 10:21:26 +08:00
|
|
|
|
component: () => import('../views/ProjectManagement_Rebuild/business/projectDetailPage.vue'),
|
2026-04-10 10:23:41 +08:00
|
|
|
|
meta: {
|
|
|
|
|
|
title: '项目详情',
|
|
|
|
|
|
breadcrumb: true,
|
2026-04-10 17:47:38 +08:00
|
|
|
|
parentRoute: 'projectManagement2'
|
2026-04-10 10:23:41 +08:00
|
|
|
|
}
|
|
|
|
|
|
},
|
2026-04-10 10:07:04 +08:00
|
|
|
|
|
2026-04-08 16:01:04 +08:00
|
|
|
|
{
|
|
|
|
|
|
path: '/disasterManagement',
|
|
|
|
|
|
name: 'disasterManagement',
|
2026-04-10 14:55:19 +08:00
|
|
|
|
component: () => import('../views/DisasterManagement/DisasterManagementPC.vue'),
|
2026-04-08 16:01:04 +08:00
|
|
|
|
meta: {
|
|
|
|
|
|
title: '灾害巡检事件',
|
|
|
|
|
|
breadcrumb: true
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
path: '/disasterReport',
|
|
|
|
|
|
name: 'DisasterReport',
|
2026-04-10 14:55:19 +08:00
|
|
|
|
component: () => import('../views/DisasterManagement/DisasterReport/DisasterReportPC.vue'),
|
2026-04-08 16:01:04 +08:00
|
|
|
|
meta: {
|
2026-04-09 09:35:05 +08:00
|
|
|
|
title: '灾毁事件填报',
|
|
|
|
|
|
breadcrumb: true
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
2026-04-10 10:07:04 +08:00
|
|
|
|
{
|
2026-04-09 09:35:05 +08:00
|
|
|
|
path: '/waterDisasterDetail',
|
|
|
|
|
|
name: 'WaterDisasterDetail',
|
2026-04-10 14:55:19 +08:00
|
|
|
|
component: () => import('../views/DisasterManagement/DisasterDetail/WaterDisasterDetailPC.vue'),
|
2026-04-09 09:35:05 +08:00
|
|
|
|
meta: {
|
|
|
|
|
|
title: '水毁事件详情',
|
2026-04-08 16:01:04 +08:00
|
|
|
|
breadcrumb: true
|
|
|
|
|
|
}
|
2026-04-03 16:29:10 +08:00
|
|
|
|
}
|
2025-10-15 14:07:39 +08:00
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
|
|
const router = createRouter({
|
2025-11-05 11:18:50 +08:00
|
|
|
|
history: createWebHistory(import.meta.env.BASE_URL),
|
2025-10-15 14:07:39 +08:00
|
|
|
|
routes
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
export default router
|