import { createRouter, createWebHistory } from 'vue-router'; const router = createRouter({ history: createWebHistory(''), routes: [ { path: '/', redirect: '/WatershedOneMap', }, { path: '/index', name: 'index', component: () => import('@/pages/index.vue'), children: [ { path: '/home', name: 'Home', component: () => import('@/pages/home.vue'), }, { path: '/homePage', name: 'homePage', component: () => import('@/pages/views/homePage/homePage.vue'), }, // 流域一张图 // { // path: "/WatershedOneMap", // name: "WatershedOneMap", // component: () => // import( // "@/pages/views/WatershedOneMap/WatershedOneMap.vue" // ), // }, // 流域一张图 新版2022 { path: '/WatershedOneMap', name: 'WatershedOneMap', component: () => import('@/pages/views/WatershedOneMap/newOneMap.vue'), }, // 流域一张图 新版2024(cesium模型底图) { path: '/ShugjOneMap', name: 'ShugjOneMap', component: () => import('@/pages/views/WatershedOneMap/OneMapModal.vue'), },{ path: '/test', name: 'tileset', component: () => import('@/pages/views/Mapbox.vue'), }, { path: '/publicService', name: 'publicService', component: () => import('@/pages/views/publicService/index.vue'), }, { path: '/user', name: 'user', component: () => import('@/pages/views/system/user.vue'), }, { path: '/ceshi', name: 'ceshi', component: () => import('@/pages/views/ceshi.vue'), }, { path: '/role', name: 'role', component: () => import('@/pages/views/system/role.vue'), }, { path: '/authority', name: 'authority', component: () => import('@/pages/views/system/authority.vue'), }, { path: '/menu', name: 'menu', component: () => import('@/pages/views/system/menu.vue'), }, { path: '/scheduled', name: 'scheduled', component: () => import('@/pages/views/system/scheduled.vue'), }, { path: '/logs', name: 'logs', component: () => import('@/pages/views/system/logs.vue'), }, { path: '/reminderSettings', name: 'reminderSettings', component: () => import('@/pages/views/reminder/reminderSettings.vue'), }, { path: '/trainingResults', name: 'trainingResults', component: () => import('@/pages/views/personnel/trainingResults.vue'), }, { path: '/trainingPlan', name: 'trainingPlan', component: () => import('@/pages/views/personnel/trainingPlan.vue'), }, { path: '/DutyHours', name: 'DutyHours', component: () => import('@/pages/views/personnel/DutyHours.vue'), }, { path: '/trainingDetails', name: 'trainingDetails', component: () => import('@/pages/views/personnel/trainingDetails.vue'), }, { path: '/DutyHistory', name: 'DutyHistory', component: () => import('@/pages/views/personnel/DutyHistory.vue'), }, // 值班计划配置 { path: '/dutyPlan', name: 'dutyPlan', component: () => import('@/pages/views/personnel/dutyPlan.vue'), }, // 维修分析 { path: '/analysis', name: 'analysis', component: () => import('@/pages/views/device/analysis.vue'), }, // 维修记录 { path: '/maintenanceRecord', name: 'maintenanceRecord', component: () => import('@/pages/views/device/maintenanceRecord.vue'), }, // 派单申请 { path: '/dispatchApplication', name: 'dispatchApplication', component: () => import('@/pages/views/device/dispatchApplication.vue'), }, // 维修审核 { path: '/maintenanceAudit', name: 'maintenanceAudit', component: () => import('@/pages/views/device/maintenanceAudit.vue'), }, // 防汛应急一张图 { path: '/preventionOneMap', name: 'preventionOneMap', component: () => import('@/pages/views/prevention/index.vue'), }, // 运维一张图 { path: '/maintenanceOneMap', name: 'maintenanceOneMap', component: () => import('@/pages/views/maintenance/index.vue'), }, // 工单评价 { path: '/WorkEvaluation', name: 'WorkEvaluation', component: () => import('@/pages/views/device/WorkEvaluation.vue'), }, // 泵站基础资料 { path: '/basicData', name: 'basicData', component: () => import('@/pages/views/pumpStation/basicData.vue'), }, // 工作台 { path: '/workbench', name: 'workbench', component: () => import('@/pages/views/workbench/workbench.vue'), }, // 首页一张图 { path: '/oneMap', name: 'oneMap', component: () => import('@/pages/views/oneMap/oneMap.vue'), }, // 泵站工况管理--物联设备工况 { path: '/iotEquipment', name: 'iotEquipment', component: () => import('@/pages/views/pumpWorking/iotEquipment.vue'), }, // 泵站工况管理--实时运行统计 { path: '/realtimeStatistics', name: 'realtimeStatistics', component: () => import('@/pages/views/pumpWorking/realtimeStatistics.vue'), }, // 泵站工况管理--泵闸工况 { path: '/pumpGateworking', name: 'pumpGateworking', component: () => import('@/pages/views/pumpWorking/pumpGateworking.vue'), }, // 数据推送任务管理 { path: '/dataPushManagement', name: 'dataPushManagement', component: () => import('@/pages/views/dataService/dataPushManagement.vue'), }, // 数据服务配置管理 { path: '/dataConfiguration', name: 'dataConfiguration', component: () => import('@/pages/views/dataService/dataConfiguration.vue'), }, // 数据访问统计 { path: '/visitStatistics', name: 'visitStatistics', component: () => import('@/pages/views/dataService/visitStatistics.vue'), }, // 数据明细管理 { path: '/dataDetailManagement', name: 'dataDetailManagement', component: () => import('@/pages/views/dataService/dataDetailManagement.vue'), }, // 视频监控 { path: '/videoMonitor', name: 'videoMonitor', component: () => import('@/pages/views/operationMonitor/videoMonitor.vue'), }, // 人员绩效考核 { path: '/userJX', name: 'userJX', component: () => import('@/pages/views/userJX/index.vue'), }, // 绩效考核管理新版 { path: '/jiXiao', name: 'jiXiao', component: () => import('@/pages/views/performance/jiXiao.vue'), }, // 年度考核绩效管理 { path: '/yearAssessment', name: 'yearAssessment', component: () => import('@/pages/views/performance/yearAssessment.vue'), }, // 月度考核绩效管理 { path: '/mouthAssessment', name: 'mouthAssessment', component: () => import('@/pages/views/performance/mouthAssessment.vue'), }, // 绩效考核指标库 { path: '/appraisal', name: 'appraisal', component: () => import('@/pages/views/performance/appraisal.vue'), }, // 考核通知 { path: '/AssessmentNotice', name: 'AssessmentNotice', component: () => import('@/pages/views/performance/AssessmentNotice.vue'), }, // 考核结果 { path: '/assessmentResults', name: 'assessmentResults', component: () => import('@/pages/views/performance/assessmentResults.vue'), }, // 考核评价(水务局) { path: '/evaluation_Water', name: 'evaluation_Water', component: () => import('@/pages/views/performance/evaluation_Water.vue'), }, // 考核评价 { path: '/evaluation', name: 'evaluation', component: () => import('@/pages/views/performance/evaluation.vue'), }, // 考核结果公示 { path: '/resultsPublicity', name: 'resultsPublicity', component: () => import('@/pages/views/performance/resultsPublicity.vue'), }, // 指标库管理 { path: '/indexLibrary', name: 'indexLibrary', component: () => import('@/pages/views/performance/indexLibrary.vue'), }, //统计分析 { path: '/statisticalAna', name: 'statisticalAna', component: () => import('@/pages/views/performance/statisticalAna.vue'), }, // 实时数据 { path: '/DataNow', name: 'DataNow', component: () => import('@/pages/views/DataNow/DataNow.vue'), }, // 报警预警-报警设置 { path: '/alarmSettings', name: 'alarmSettings', component: () => import('@/pages/views/alarmWarning/alarmSettings.vue'), }, // 报警预警-报警日志 { path: '/alarmLogs', name: 'alarmLogs', component: () => import('@/pages/views/alarmWarning/alarmLogs.vue'), }, // 报警预警-推行规则 { path: '/alarmAnalys', name: 'alarmAnalys', component: () => import('@/pages/views/alarmWarning/alarmAnalys.vue'), }, // 报警预警-实时监测 { path: '/realTimeMonitoring', name: 'realTimeMonitoring', component: () => import('@/pages/views/alarmWarning/realTimeMonitoring.vue'), }, // 站点管理-站点管理 { path: '/siteManage', name: 'siteManage', component: () => import('@/pages/views/siteManage/siteManage.vue'), }, // 站点管理-站点管理 { path: '/factorManage', name: 'factorManage', component: () => import('@/pages/views/siteManage/factorManage.vue'), }, // 站点管理-厂站工情 { path: '/substation', name: 'substation', component: () => import('@/pages/views/siteManage/substation.vue'), }, // 服务监控-服务器管理 { path: '/serverManager', name: 'serverManager', component: () => import('@/pages/views/server/serverManager.vue'), }, // 服务监控-用户绑定 { path: '/userManage', name: 'userManage', component: () => import('@/pages/views/server/userManage.vue'), }, // 服务监控-详情 { path: '/details', name: 'details', component: () => import('@/pages/views/server/details.vue'), }, ], }, ], }); export default router;