import Layout from '@/layout'

// 供水管网安全运行监测系统 - 前端静态菜单
// 说明：如果后端动态菜单已配置，可移除本文件或保留为兜底入口。
export default [
  {
    path: '/waterSupply',
    component: Layout,
    redirect: '/waterSupply/facility/gis',
    name: 'WaterSupply',
    alwaysShow: true,
    meta: { title: '供水管网安全运行监测系统', icon: 'example' },
    children: [
      {
        path: 'facility/gis',
        component: () => import('@/views/subSystem/waterSupply/facility/gis.vue'),
        name: 'WaterSupplyFacilityGis',
        meta: { title: '供水设施GIS一张图', icon: 'map' }
      },
      {
        path: 'facility/statistics',
        component: () => import('@/views/subSystem/waterSupply/facility/statistics.vue'),
        name: 'WaterSupplyFacilityStatistics',
        meta: { title: '管网数据统计分析', icon: 'chart' }
      },
      {
        path: 'monitorAlarm/workOrder',
        component: () => import('@/views/subSystem/waterSupply/monitorAlarm/workOrder.vue'),
        name: 'WaterSupplyMonitorAlarmWorkOrder',
        meta: { title: '报警工单处置', icon: 'work-order' }
      }
    ]
  }
]
