瀏覽代碼

修改菜单页面

shilin 3 年之前
父節點
當前提交
59c5225a2d
共有 5 個文件被更改,包括 641 次插入631 次删除
  1. 452 443
      src/router/index.js
  2. 4 4
      src/views/layout/Header.vue
  3. 183 182
      src/views/layout/Menu.vue
  4. 1 1
      src/views/performanceAnalysis/index.vue
  5. 1 1
      src/views/singleAnalysis/index.vue

File diff suppressed because it is too large
+ 452 - 443
src/router/index.js


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

@@ -53,9 +53,9 @@ export default {
         //   isActive: false,
         // },
         {
-          id: 'personnel',
+          id: 'save',
           text: '安全管控',
-          path: '/new/personnel',
+          path: '/save/personnel',
           isActive: false
         },
         // {
@@ -65,9 +65,9 @@ export default {
         //   isActive: false,
         // },
         {
-          id: 'realSearch',
+          id: 'others',
           text: '其他',
-          path: '/realSearch',
+          path: '/others/reportPandect',
           isActive: false
         }
       ],

+ 183 - 182
src/views/layout/Menu.vue

@@ -157,160 +157,160 @@ export default {
             {
               text: "三率管理",
               icon: "svg-slgl",
-              path: "/fwjsl",
+              path: "/decision/fwjsl",
               children: [
                 {
                   text: "复位及时率",
                   icon: "svg-wind-site",
-                  path: "/fwjsl",
+                  path: "/decision/fwjsl",
                 },
                 {
                   text: "状态转换率",
                   icon: "svg-wind-site",
-                  path: "/ztzhl",
+                  path: "/decision/ztzhl",
                 },
                 {
                   text: "消缺及时率",
                   icon: "svg-wind-site",
-                  path: "/xqjsl",
+                  path: "/decision/xqjsl",
                 },
               ],
             },
             {
               text: "排行榜",
               icon: "svg-phb",
-              path: "/powerRank",
+              path: "/decision/powerRank",
               children: [
                 {
                   text: "发电效率排行",
                   icon: "svg-wind-site",
-                  path: "/powerRank",
+                  path: "/decision/powerRank",
                 },
                 {
                   text: "总发电效率排行",
                   icon: "svg-wind-site",
-                  path: "/totalPowerRank",
+                  path: "/decision/totalPowerRank",
                 },
                 {
                   text: "报警排行",
                   icon: "svg-wind-site",
-                  path: "/warningRank",
+                  path: "/decision/warningRank",
                 },
               ],
             },
             {
               text: "专题分析",
               icon: "svg-ztfx",
-              path: "/new/ztfx",
+              path: "/decision/ztfx",
               children: [
                 {
                   text: "综合分析",
                   icon: "svg-wind-site",
-                  path: "/new/ztfx",
+                  path: "/decision/ztfx",
                 },
                 {
                   text: "风能利用率",
                   icon: "svg-wind-site",
-                  path: "/new/fnlyl",
+                  path: "/decision/fnlyl",
                 },
                 {
                   text: "维护损失率",
                   icon: "svg-wind-site",
-                  path: "/new/whssl",
+                  path: "/decision/whssl",
                 },
                 {
                   text: "故障损失率",
                   icon: "svg-wind-site",
-                  path: "/new/gzssl",
+                  path: "/decision/gzssl",
                 },
                 {
                   text: "限电损失率",
                   icon: "svg-wind-site",
-                  path: "/new/xdssl",
+                  path: "/decision/xdssl",
                 },
                 {
                   text: "性能损失率",
                   icon: "svg-wind-site",
-                  path: "/new/xnssl",
+                  path: "/decision/xnssl",
                 },
                 {
                   text: "受累损失率",
                   icon: "svg-wind-site",
-                  path: "/new/slssl",
+                  path: "/decision/slssl",
                 },
                 {
                   text: "MTBF分析",
                   icon: "svg-wind-site",
-                  path: "/new/mtbf",
+                  path: "/decision/mtbf",
                 },
                 {
                   text: "MTTR分析",
                   icon: "svg-wind-site",
-                  path: "/new/mttr",
+                  path: "/decision/mttr",
                 },
                 {
                   text: "复位分析",
                   icon: "svg-wind-site",
-                  path: "/new/zfwjsl",
+                  path: "/decision/zfwjsl",
                 },
                 {
                   text: "状态分析",
                   icon: "svg-wind-site",
-                  path: "/new/zztzhl",
+                  path: "/decision/zztzhl",
                 },
                 {
                   text: "消缺分析",
                   icon: "svg-wind-site",
-                  path: "/new/zxqjsl",
+                  path: "/decision/zxqjsl",
                 },
                 {
                   text: "发电量分析",
                   icon: "svg-wind-site",
-                  path: "/new/zfdl",
+                  path: "/decision/zfdl",
                 },
                 {
                   text: "综合场用电量",
                   icon: "svg-wind-site",
-                  path: "/new/zzhcydl",
+                  path: "/decision/zzhcydl",
                 },
               ],
             },
             {
               text: "风机分析",
               icon: "svg-fjfx",
-              path: "/fjfx",
+              path: "/decision/performanceAnalysis",
               children: [
                 {
                   text: "单机性能分析",
                   icon: "svg-wind-site",
-                  path: "/performanceAnalysis",
+                  path: "/decision/performanceAnalysis",
                 },
                 {
                   text: "单机月度分析",
                   icon: "svg-wind-site",
-                  path: "/singleAnalysis",
+                  path: "/decision/singleAnalysis",
                 },
               ],
             },
             {
               text: "气象分析",
               icon: "svg-qxfx",
-              path: "/new/fs",
+              path: "/decision/fs",
             },
             {
               text: "电量预测",
               icon: "svg-dlyc",
-              path: "/nhycfsdl",
+              path: "/decision/nhycfsdl",
               children: [
                 {
                   text: "预测拟合风速电量",
-                  icon: "svg-wind-site",
-                  path: "/nhycfsdl",
+                  icon: "svg-wind-sitenhycfsdl",
+                  path: "/decision/nhycfsdl",
                 },
                 {
                   text: "修正预测风速电量",
                   icon: "svg-wind-site",
-                  path: "/xzycfsdl",
+                  path: "/decision/xzycfsdl",
                 },
               ],
             },
@@ -351,34 +351,34 @@ export default {
             {
               text: "等级评估",
               icon: "svg-等级评估",
-              path: "/assess/index",
+              path: "/health/assess/index",
             },
             {
               text: "故障诊断",
               icon: "svg-故障诊断",
-              path: "/malfunctionDiagnose",
+              path: "/health/malfunctionDiagnose",
               children: [
                 {
                   text: "故障诊断",
                   icon: "svg-wind-site",
-                  path: "/malfunctionDiagnose",
+                  path: "/health/malfunctionDiagnose",
                 },
                 {
                   text: "故障回溯",
                   icon: "svg-wind-site",
-                  path: "/malfunctionRecall",
+                  path: "/health/malfunctionRecall",
                 },
               ],
             },
             {
               text: "健康管理",
               icon: "svg-健康管理",
-              path: "/health",
+              path: "/health/frist",
               children: [
                 {
                   text: "健康推荐",
                   icon: "svg-wind-site",
-                  path: "/health",
+                  path: "/health/frist",
                 },
                 {
                   text: "健康首页",
@@ -410,32 +410,32 @@ export default {
             {
               text: "全生命周期",
               icon: "svg-全生命周期",
-              path: "/allLifeManage",
+              path: "/health/allLifeManage",
             },
             {
               text: "能效分析",
               icon: "svg-能效分析",
-              path: "/powerCurve",
+              path: "/health/powerCurve",
               children: [
                 {
                   text: "功率曲线拟合",
                   icon: "svg-wind-site",
-                  path: "/powerCurve",
+                  path: "/health/powerCurve",
                 },
                 {
                   text: "偏航对风分析",
                   icon: "svg-wind-site",
-                  path: "/phdffx",
+                  path: "/health/phdffx",
                 },
                 {
                   text: "切入切出分析",
                   icon: "svg-wind-site",
-                  path: "/cutAnalyse",
+                  path: "/health/cutAnalyse",
                 },
                 {
                   text: "曲线偏差率分析",
                   icon: "svg-wind-site",
-                  path: "/qxpclfx",
+                  path: "/health/qxpclfx",
                 },
 
                 {
@@ -448,72 +448,72 @@ export default {
             {
               text: "可靠性分析",
               icon: "svg-可靠性分析",
-              path: "/new/alarmcenter1",
+              path: "/health/alarmcenter1",
               children: [
                 {
                   text: "预警分析",
                   icon: "svg-wind-site",
-                  path: "/new/alarmcenter1",
+                  path: "/health/alarmcenter1",
                 },
                 {
                   text: "故障分析",
                   icon: "svg-wind-site",
-                  path: "/new/alarmcenter2",
+                  path: "/health/alarmcenter2",
                 },
                 {
                   text: "预警评判分析",
                   icon: "svg-wind-site",
-                  path: "/warnStatistics",
+                  path: "/health/warnStatistics",
                 },
                 {
                   text: "故障评判分析",
                   icon: "svg-wind-site",
-                  path: "/malfunctionStatistics",
+                  path: "/health/malfunctionStatistics",
                 },
                 {
                   text: "部件评判分析",
                   icon: "svg-wind-site",
-                  path: "/bjgltjb",
+                  path: "/health/bjgltjb",
                 },
               ],
             },
             {
               text: "风光资源分析",
               icon: "svg-风光资源分析",
-              path: "/windAnalysis",
+              path: "/health/windAnalysis",
               children: [
                 {
                   text: "风资源散点",
                   icon: "svg-wind-site",
-                  path: "/windAnalysis",
+                  path: "/health/windAnalysis",
                 },
                 {
                   text: "风资源风向",
                   icon: "svg-wind-site",
-                  path: "/windAnalysis/fx",
+                  path: "/health/windAnalysis/fx",
                 },
               ],
             },
           ],
         },
         {
-          id: "personnel",
+          id: "save",
           text: "安全管控",
           data: [
             {
               text: "安全管控",
               icon: "svg-安全管控",
-              path: "/new/personnel",
+              path: "/save/personnel",
               children: [
                 {
                   text: "人员矩阵",
                   icon: "svg-wind-site",
-                  path: "/new/personnel",
+                  path: "/save/personnel",
                 },
                 {
                   text: "全局监视",
                   icon: "svg-wind-site",
-                  path: "/globalMonitor",
+                  path: "/save/globalMonitor",
                 },
               ],
             },
@@ -657,238 +657,239 @@ export default {
         //   ],
         // },
         {
-          id: "realSearch",
+          id: "others",
           text: "其他",
           data: [
             {
-              text: "原始数据查询",
-              icon: "svg-报表首页",
-              path: "/realSearch",
-              children: [
-                {
-                  text: "测点数据查询",
-                  icon: "svg-wind-site",
-                  path: "/realSearch",
-                },
-                {
-                  text: "测点历史数据查询",
-                  icon: "svg-wind-site",
-                  path: "/historySearch",
-                },
-              ],
-            },
-            {
-              text: "预警记录",
-              icon: "svg-wind-site",
-              path: "/new/alarmcenter",
-              children: [
-                {
-                  text: "预警管理",
-                  icon: "svg-wind-site",
-                  path: "/new/alarmcenter",
-                },
-
-                {
-                  text: "停机事件管理",
-                  icon: "svg-wind-site",
-                  path: "/new/tjsj",
-                },
-                {
-                  text: "限电管理",
-                  icon: "svg-wind-site",
-                  path: "/new/xdgl",
-                },
-                {
-                  text: "升压站报警",
-                  icon: "svg-wind-site",
-                  path: "/alarmCenter/boosterAlarm",
-                },
-                {
-                  text: "SCADA报警",
-                  icon: "svg-wind-site",
-                  path: "/alarmCenter/scadaAlarm",
-                },
-                {
-                  text: "自定义报警",
-                  icon: "svg-wind-site",
-                  path: "/alarmCenter/customAlarm",
-                },
-                {
-                  text: "自定义报警统计",
-                  icon: "svg-wind-site",
-                  path: "/alarmCenter/customStatistics",
-                },
-              ],
-            },
-            {
-              text: "专家知识",
-              icon: "svg-wind-site",
-              path: "/knowledge",
-              children: [
-                {
-                  text: "故障知识列表",
-                  icon: "svg-matrix",
-                  path: "/knowledge",
-                },
-                {
-                  text: "安全措施知识",
-                  icon: "svg-matrix",
-                  path: "/knowledge2",
-                },
-                {
-                  text: "排查检修方案",
-                  icon: "svg-matrix",
-                  path: "/knowledge6",
-                },
-                {
-                  text: "预警知识",
-                  icon: "svg-matrix",
-                  path: "/knowledge7",
-                },
-                {
-                  text: "特征参数",
-                  icon: "svg-matrix",
-                  path: "/knowledge5",
-                },
-                {
-                  text: "风险辨识知识",
-                  icon: "svg-matrix",
-                  path: "/knowledge3",
-                },
-                {
-                  text: "作业指导知识",
-                  icon: "svg-matrix",
-                  path: "/knowledge4",
-                },
-              ],
-            },{
               text: "统计分析",
               icon: "svg-统计分析",
-              path: "/tjfx",
+              path: "/others/tjfx",
               children: [
                 {
                   text: "统计分析",
                   icon: "svg-matrix",
-                  path: "/tjfx",
+                  path: "/others/tjfx",
                 },
                 {
                   text: "表底值查询",
                   icon: "svg-matrix",
-                  path: "/bdzcx",
+                  path: "/others/bdzcx",
                 },
               ],
             },
             {
               text: "报表管理",
               icon: "svg-报表管理",
-              path: "/bdzcx",
+              path: "/others/oafd",
               children: [
                 {
                   text: "OA日报",
                   icon: "svg-matrix",
-                  path: "/oafd",
+                  path: "/others/oafd",
                 },
                 {
                   text: "OA日报(光伏)",
                   icon: "svg-matrix",
-                  path: "/oagf",
+                  path: "/others/oagf",
                 },
                 {
                   text: "新能源日报",
                   icon: "svg-matrix",
-                  path: "/xnyrb",
+                  path: "/others/xnyrb",
                 },
                 {
                   text: "国电MIS日报(风电)",
                   icon: "svg-matrix",
-                  path: "/missfdrb",
+                  path: "/others/missfdrb",
                 },
                 {
                   text: "国电MIS日报(光伏)",
                   icon: "svg-matrix",
-                  path: "/missgfrb",
+                  path: "/others/missgfrb",
                 },
                 {
                   text: "新能源风电生产月报",
                   icon: "svg-matrix",
-                  path: "/xnyfdscyb",
+                  path: "/others/xnyfdscyb",
                 },
                 {
                   text: "麻黄山生产月报",
                   icon: "svg-matrix",
-                  path: "/mhsscyb",
+                  path: "/others/mhsscyb",
                 },
                 {
                   text: "牛首山生产月报",
                   icon: "svg-matrix",
-                  path: "/nssscyb",
+                  path: "/others/nssscyb",
                 },
                 {
                   text: "青山生产月报",
                   icon: "svg-matrix",
-                  path: "/qsscyb",
+                  path: "/others/qsscyb",
                 },
                 {
                   text: "石板泉生产月报",
                   icon: "svg-matrix",
-                  path: "/sbqscyb",
+                  path: "/others/sbqscyb",
                 },
                 {
                   text: "香山生产月报",
                   icon: "svg-matrix",
-                  path: "/xsscyb",
+                  path: "/others/xsscyb",
                 },
                 {
                   text: "新能源光伏生产月报",
                   icon: "svg-matrix",
-                  path: "/xnygfscyb",
+                  path: "/others/xnygfscyb",
                 },
                 {
                   text: "大武口生产月报",
                   icon: "svg-matrix",
-                  path: "/dwkscyb",
+                  path: "/others/dwkscyb",
                 },
                 {
                   text: "平罗生产月报",
                   icon: "svg-matrix",
-                  path: "/plscyb",
+                  path: "/others/plscyb",
                 },
                 {
                   text: "宣和生产月报",
                   icon: "svg-matrix",
-                  path: "/xhscyb",
+                  path: "/others/xhscyb",
                 },
               ],
             },
             {
               text: "自定制报表管理",
               icon: "svg-自定制报表管理",
-              path: "/fdczzdy",
+              path: "/others/fdczzdy",
               children: [
                 {
                   text: "风电场站自定义",
                   icon: "svg-matrix",
-                  path: "/fdczzdy",
+                  path: "/others/fdczzdy",
                 },
                 {
                   text: "风电项目自定义",
                   icon: "svg-matrix",
-                  path: "/fdxmzdy",
+                  path: "/others/fdxmzdy",
                 },
                 {
                   text: "光伏场站自定义",
                   icon: "svg-matrix",
-                  path: "/gfczzdy",
+                  path: "/others/gfczzdy",
                 },
                 {
                   text: "光伏项目自定义",
                   icon: "svg-matrix",
-                  path: "/gfxmzdy",
+                  path: "/others/gfxmzdy",
                 },
               ],
             },
           ],
         },
+            {
+              text: "原始数据查询",
+              icon: "svg-报表首页",
+              path: "/other/realSearch",
+              children: [
+                {
+                  text: "测点数据查询",
+                  icon: "svg-wind-site",
+                  path: "/others/realSearch",
+                },
+                {
+                  text: "测点历史数据查询",
+                  icon: "svg-wind-site",
+                  path: "/others/historySearch",
+                },
+              ],
+            },
+            {
+              text: "预警记录",
+              icon: "svg-wind-site",
+              path: "/others/alarmCenter/alarmcenter",
+              children: [
+                {
+                  text: "预警管理",
+                  icon: "svg-wind-site",
+                  path: "/others/alarmCenter/alarmcenter",
+                },
+
+                {
+                  text: "停机事件管理",
+                  icon: "svg-wind-site",
+                  path: "/others/alarmCenter/tjsj",
+                },
+                {
+                  text: "限电管理",
+                  icon: "svg-wind-site",
+                  path: "/others/alarmCenter/xdgl",
+                },
+                {
+                  text: "升压站报警",
+                  icon: "svg-wind-site",
+                  path: "/others/alarmCenter/boosterAlarm",
+                },
+                {
+                  text: "SCADA报警",
+                  icon: "svg-wind-site",
+                  path: "/others/alarmCenter/scadaAlarm",
+                },
+                {
+                  text: "自定义报警",
+                  icon: "svg-wind-site",
+                  path: "/others/alarmCenter/customAlarm",
+                },
+                {
+                  text: "自定义报警统计",
+                  icon: "svg-wind-site",
+                  path: "/others/alarmCenter/customStatistics",
+                },
+              ],
+            },
+            {
+              text: "专家知识",
+              icon: "svg-wind-site",
+              path: "/others/knowledge/knowledge",
+              children: [
+                {
+                  text: "故障知识列表",
+                  icon: "svg-matrix",
+                  path: "/others/knowledge/knowledge",
+                },
+                {
+                  text: "安全措施知识",
+                  icon: "svg-matrix",
+                  path: "/others/knowledge/knowledge2",
+                },
+                {
+                  text: "排查检修方案",
+                  icon: "svg-matrix",
+                  path: "/others/knowledge/knowledge6",
+                },
+                {
+                  text: "预警知识",
+                  icon: "svg-matrix",
+                  path: "/others/knowledge/knowledge7",
+                },
+                {
+                  text: "特征参数",
+                  icon: "svg-matrix",
+                  path: "/others/knowledge/knowledge5",
+                },
+                {
+                  text: "风险辨识知识",
+                  icon: "svg-matrix",
+                  path: "/others/knowledge/knowledge3",
+                },
+                {
+                  text: "作业指导知识",
+                  icon: "svg-matrix",
+                  path: "/others/knowledge/knowledge4",
+                },
+              ],
+            },
       ],
       activeIndex: 0,
       isShowSubMenu: false,

+ 1 - 1
src/views/performanceAnalysis/index.vue

@@ -542,7 +542,7 @@ export default {
 
     // 页面跳转
     jumpUrl (item) {
-      this.$router.push(`/performanceAnalysis/detail/${item.windtpowerstationid}/${item.windturbineid}`);
+      this.$router.push(`/decision/performanceAnalysis/detail/${item.windtpowerstationid}/${item.windturbineid}`);
     }
   },
 

+ 1 - 1
src/views/singleAnalysis/index.vue

@@ -212,7 +212,7 @@ export default {
   methods: {
     goznzhfx(row){
       console.warn(row);
-      this.$router.push({path:`/new/znzhfx/${row.windturbineid}/${new Date(this.recorddate).formatDate("yyyy")}/${new Date(this.recorddate).formatDate("MM")}`})
+      this.$router.push({path:`/decision/znzhfx/${row.windturbineid}/${new Date(this.recorddate).formatDate("yyyy")}/${new Date(this.recorddate).formatDate("MM")}`})
     },
     // 请求服务
     requestData() {