shilin hace 3 años
padre
commit
0521ab34f7
Se han modificado 2 ficheros con 8 adiciones y 3 borrados
  1. 7 2
      src/router/index.js
  2. 1 1
      src/views/layout/Header.vue

+ 7 - 2
src/router/index.js

@@ -539,11 +539,16 @@ const routes = [{
 		path: "/globalMonitor", // 全局监视
 		name: "globalMonitor",
 		component: () =>
-			import( /* webpackChunkName: "globalMonitor" */ "../views/globalMonitor/index.vue"),
+			import( /* webpackChunkName: "globalMonitor" */ "../views/Others/index.vue"),
 	}
 		/***********************************************************安全管控************************************************************* */	
 
-		,
+		,{
+			path: "/others", // 报表总览
+			name: "Others",
+			component: () =>
+				import( /* webpackChunkName: "reportPandect" */ "../views/Others/index.vue"),
+		},
 		{
 			path: "/others/reportPandect", // 报表总览
 			name: "reportPandect",

+ 1 - 1
src/views/layout/Header.vue

@@ -67,7 +67,7 @@ export default {
         {
           id: 'others',
           text: '其他',
-          path: '/others/reportPandect',
+          path: '/others',
           isActive: false
         }
       ],