From 500ddf6571e656f33ef7fe10c570f6345344c989 Mon Sep 17 00:00:00 2001
From: quanyawei <401863037@qq.com>
Date: Thu, 01 Feb 2024 15:47:38 +0800
Subject: [PATCH] fix:断线监控
---
src/router/dynamicRouter.js | 19 +++++++++++++++++--
1 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/src/router/dynamicRouter.js b/src/router/dynamicRouter.js
index 5358aeb..933f131 100644
--- a/src/router/dynamicRouter.js
+++ b/src/router/dynamicRouter.js
@@ -79,6 +79,12 @@
component: () => import('@/views/airPollutionCalendar/index'),
meta: { title: '������������������������', icon: 'example' }
}
+const heatMap = {
+ path: 'charts/heatMap',
+ name: 'heatMap',
+ component: () => import('@/views/hotMap/index'),
+ meta: { title: '���������������', icon: 'example' }
+}
// const PM5PM10ForecastChart = {
// path: 'charts/PM5PM10ForecastChart',
@@ -155,6 +161,12 @@
component: () => import('@/views/levelStatistic/index'),
meta: { title: '���������������������', icon: 'example' }
}
+const onlineRate = {
+ path: 'analyse/onlineRate',
+ name: 'onlineRate',
+ component: () => import('@/views/onlineRate/index'),
+ meta: { title: '������������', icon: 'example' }
+}
const industryContributionRate = {
path: 'analyse/industryContributionRate',
@@ -200,7 +212,8 @@
const summaryPage = {
path: 'toCarryOutLegislativeReforms/summaryPage',
name: 'summaryPage',
- component: () => import('@/views/toCarryOutLegislativeReforms/summaryPage/index'),
+ component: () =>
+ import('@/views/toCarryOutLegislativeReforms/summaryPage/index'),
meta: { title: '������������', icon: 'example' }
}
const reform = {
@@ -229,9 +242,11 @@
showGovHourData: showGovHourData,
cityAirRank: cityAirRank,
levelStatistic: levelStatistic,
+ onlineRate: onlineRate,
heatmap: heatmap,
hexagon: hexagon,
airPollutionCalendar: airPollutionCalendar,
+ heatMap: heatMap,
averageContrast: averageContrast,
industryContributionRate,
regionalContributionRate,
@@ -263,7 +278,7 @@
export function routerMenus() {
const routersMenu = JSON.parse(store.state.user.menus)
// ��������������������������������� ���������������������������
- console.log('routersMenu',routersMenu)
+ console.log('routersMenu', routersMenu)
const currentRoutes = router.options.routes
if (routersMenu.length > 0) {
routersMenu.forEach(item => {
--
Gitblit v1.8.0