Forráskód Böngészése

修改菜单配置

shilin 3 éve
szülő
commit
e17ded25e6

+ 1 - 1
public/static/config/modeConfig.js

@@ -1,5 +1,5 @@
 // 本地联调开关
-const localTest = 1;
+const localTest = 0;
 
 // 服务器地址
 let baseURL = null;

+ 12 - 1
src/router/index.js

@@ -793,7 +793,18 @@ const routes = [{
 		name: "nhycfsdl",
 		component: () =>
 			import( /* webpackChunkName: "historysearch" */ "../views/report/nhycfsdl.vue"),
-	},
+	},{
+		    path: "/globalMonitor", // 全局监视
+		    name: "globalMonitor",
+		    component: () =>
+		        import( /* webpackChunkName: "globalMonitor" */ "../views/globalMonitor/index.vue"),
+		},
+		{
+		    path: "/reportPandect", // 报表总览
+		    name: "reportPandect",
+		    component: () =>
+		        import( /* webpackChunkName: "reportPandect" */ "../views/reportPandect/index.vue"),
+		},
 ]
 const router = createRouter({
 	history: createWebHashHistory(),

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

@@ -42,7 +42,8 @@ export default {
         {
           id: 'health',
           text: '智慧检修',
-          path: '/sandtable',
+          // path: '/sandtable',
+          path: '/health',
           isActive: false
         },
         // {

+ 50 - 4
src/views/layout/Menu.vue

@@ -303,6 +303,28 @@ export default {
                   path: '/singleAnalysis'
                 },
               ],
+            },
+            {
+              text: '气象分析',
+              icon: 'svg-wind-site',
+              path: '/new/fs'
+            },
+            {
+              text: '电量预测',
+              icon: 'svg-wind-site',
+              path: '/nhycfsdl',
+              children: [
+                {
+                  text: '预测拟合风速电量',
+                  icon: 'svg-wind-site',
+                  path: '/nhycfsdl'
+                },
+                {
+                  text: '修正预测风速电量',
+                  icon: 'svg-wind-site',
+                  path: '/xzycfsdl'
+                }
+              ]
             }
             // {
             //   text: "单机分析",
@@ -335,7 +357,8 @@ export default {
             {
               text: '沙盘',
               icon: 'svg-wind-site',
-              path: '/monitor/sandtable'
+              // path: '/monitor/sandtable'
+               path: '/health'
             },
             {
               text: '等级评估',
@@ -343,6 +366,24 @@ export default {
               path: '/assess/index'
             },
             {
+              text: '故障诊断',
+              icon: 'svg-wind-site',
+              path: '/malfunctionDiagnose',
+              children: [
+                {
+                  text: '故障诊断',
+                  icon: 'svg-wind-site',
+                  path: '/malfunctionDiagnose'
+                },
+                {
+                  text: '故障回溯',
+                  icon: 'svg-wind-site',
+                  path: '/malfunctionRecall'
+                },
+               
+              ]
+            },
+            {
               text: '健康管理',
               icon: 'svg-wind-site',
               path: '/health',
@@ -440,7 +481,12 @@ export default {
                   text: '故障评判分析',
                   icon: 'svg-wind-site',
                   path: '/malfunctionStatistics'
-                }
+                },
+                {
+                  text: '部件评判分析',
+                  icon: 'svg-wind-site',
+                  path: '/bjgltjb'
+                },
               ]
             },
             {
@@ -459,7 +505,7 @@ export default {
                   path: '/windAnalysis/fx'
                 }
               ]
-            }
+            },
           ]
         },
         {
@@ -516,7 +562,7 @@ export default {
                 {
                   text: '全局监视',
                   icon: 'svg-wind-site',
-                  path: '/new/personnel'
+                  path: '/globalMonitor'
                 }
               ]
             }