guoshipeng
2023-07-06 63c0ecf98f3705b4c70e4bafee5f325966a5777b
src/router/dynamicRouter.js
@@ -56,7 +56,7 @@
  path: 'charts/contrast',
  name: 'contrast',
  component: () => import('@/views/contrast/index'),
  meta: { title: '监测因子对比', icon: 'example' }
  meta: { title: '监测因子相关性对比', icon: 'example' }
}
const averageContrast = {
@@ -79,6 +79,13 @@
  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 = {
@@ -114,18 +121,18 @@
  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: 'Equipment',
  component: () => import('@/views/Equidata/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 = {
@@ -215,11 +222,11 @@
  air,
  airQualityReportDisplay,
  Monitoringstation,
  Equipment,
  dailyreport,
  // Equipment,
  dailyreport,
  sectionReport,
  Listdata,
  Equidata
  // Equidata
}
// 网络请求,第一次登陆只有4个路由,所以要添加路由,页面刷新的时候,判断大于4个路由,就不会重新添加。