guoshipeng
2023-01-05 e4bdde0126e1d922456c270626bac312df27912f
src/router/dynamicRouter.js
@@ -80,6 +80,13 @@
  meta: { title: '空气质量污染日历', icon: 'example' }
}
// const PM5PM10ForecastChart = {
//   path: 'charts/PM5PM10ForecastChart',
//   name: 'PM5PM10ForecastChart',
//   component: () => import('@/views/PM5PM10ForecastChart/index'),
//   meta: { title: 'PM5PM10预测图', icon: 'example' }
// }
// 报表管理
const showMpData = {
  path: 'report/showMpData',
@@ -155,6 +162,13 @@
  component: () => import('@/views/surveyReport/index'),
  meta: { title: '现场勘察报告', icon: 'example' }
}
const sectionReport = {
  path: 'analyse/sectionReport',
  name: 'sectionReport',
  component: () => import('@/views/sectionReport/index'),
  meta: { title: '道路尘负荷走航报告', icon: 'example' }
}
// analyse/air
const air = {
  path: 'analyse/air',
@@ -197,7 +211,8 @@
  Monitoringstation,
  Equipment,
  dailyreport,
  sectionReport,
  // PM5PM10ForecastChart
}
// 网络请求,第一次登陆只有4个路由,所以要添加路由,页面刷新的时候,判断大于4个路由,就不会重新添加。