yichenxi
2022-12-12 eb07bc16cb0b06f3b96a4f59d74f82b62195f096
src/router/dynamicRouter.js
@@ -155,12 +155,26 @@
  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',
  name: 'air',
  component: () => import('@/views/air/index'),
  meta: { title: '空气质量报告', icon: 'example' }
}
// analyse/dailyreport
const dailyreport = {
  path: 'analyse/dailyreport',
  name: 'dailyreport',
  component: () => import('@/views/dailyreport/index'),
  meta: { title: '走航监测日报', icon: 'example' }
}
@@ -189,7 +203,9 @@
  air,
  airQualityReportDisplay,
  Monitoringstation,
  Equipment
  Equipment,
  dailyreport,
  sectionReport
}
// 网络请求,第一次登陆只有4个路由,所以要添加路由,页面刷新的时候,判断大于4个路由,就不会重新添加。