| | |
| | | path: 'charts/contrast', |
| | | name: 'contrast', |
| | | component: () => import('@/views/contrast/index'), |
| | | meta: { title: '监测因子对比', icon: 'example' } |
| | | meta: { title: '监测因子相关性对比', icon: 'example' } |
| | | } |
| | | |
| | | const averageContrast = { |
| | | path: 'charts/averageContrast', |
| | | name: 'averageContrast', |
| | | component: () => import('@/views/averageContrast/index'), |
| | | component: () => import('@/views/averageContrast/index'), |
| | | meta: { title: '监测因子均值对比', icon: 'example' } |
| | | } |
| | | |
| | |
| | | component: () => import('@/views/airPollutionCalendar/index'), |
| | | meta: { title: '空气质量污染日历', icon: 'example' } |
| | | } |
| | | |
| | | // const PM5PM10ForecastChart = { |
| | | // path: 'charts/PM5PM10ForecastChart', |
| | | // name: 'PM5PM10ForecastChart', |
| | | // component: () => import('@/views/PM5PM10ForecastChart/index'), |
| | | // meta: { title: 'PM5PM10预测图', icon: 'example' } |
| | | // } |
| | | |
| | | // 报表管理 |
| | | const showMpData = { |
| | |
| | | component: () => import('@/views/Monitoringstation/index'), |
| | | meta: { title: '监测站点数据', icon: 'example' } |
| | | } |
| | | const Equipment = { |
| | | path: 'report/Equipment', |
| | | name: 'Equipment', |
| | | component: () => import('@/views/Equipment/index'), |
| | | meta: { title: '设备数据', icon: 'example' } |
| | | const Listdata = { |
| | | path: 'report/Listdata', |
| | | name: 'Listdata', |
| | | component: () => import('@/views/Listdata/index'), |
| | | meta: { title: '列表数据导出', icon: 'example' } |
| | | } |
| | | |
| | | // const Equipment = { |
| | | // path: 'report/Equipment', |
| | | // name: 'Equipment', |
| | | // component: () => import('@/views/Equipment/index'), |
| | | // meta: { title: '设备数据', icon: 'example' } |
| | | // } |
| | | // const Equidata = { |
| | | // path: 'report/Equidata', |
| | | // name: 'Equidata', |
| | | // component: () => import('@/views/Equidata/index'), |
| | | // meta: { title: '设备数据导出', icon: 'example' } |
| | | // } |
| | | // 综合分析 |
| | | // 城市空气质量排行 |
| | | const cityAirRank = { |
| | | const cityAirRank = { |
| | | path: 'analyse/cityAirRank', |
| | | name: 'cityAirRank', |
| | | component: () => import('@/views/cityAirRank/index'), |
| | |
| | | } |
| | | |
| | | |
| | | |
| | | // 映射路由,存入对象 |
| | | const ruleMapping = { |
| | | wind: wind, |
| | |
| | | air, |
| | | airQualityReportDisplay, |
| | | Monitoringstation, |
| | | Equipment, |
| | | dailyreport, |
| | | sectionReport |
| | | // Equipment, |
| | | dailyreport, |
| | | sectionReport, |
| | | Listdata, |
| | | // Equidata |
| | | } |
| | | |
| | | // 网络请求,第一次登陆只有4个路由,所以要添加路由,页面刷新的时候,判断大于4个路由,就不会重新添加。 |