sunzehao před 10 měsíci
rodič
revize
10c5333c18
3 změnil soubory, kde provedl 2495 přidání a 566 odebrání
  1. 445 562
      src/router/index.js
  2. 2046 0
      src/router/index_restore.js
  3. 4 4
      src/views/layout/Menu.vue

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 445 - 562
src/router/index.js


+ 2046 - 0
src/router/index_restore.js

@@ -0,0 +1,2046 @@
+import { createRouter, createWebHashHistory } from "vue-router";
+
+export const constantRoutes = [
+  {
+    path: "/login",
+    name: "Login",
+    component: () =>
+      import(/* webpackChunkName: "Login" */ "../views/layout/login-page.vue"),
+  },
+];
+export const asyncRoutes = [
+  { path: "/", redirect: "/home" },
+  {
+    path: "/home", // 驾驶舱
+    name: "home",
+    component: () => import("@/views/Home"),
+    meta: {
+      title: "首页",
+      icon: "",
+      permissions: ["jn_sy"],
+    },
+  },
+  //全景监视
+  {
+    path: "/stateMonitor",
+    redirect: "/stateMonitor/lightmatrix",
+    component: () => import("@/views/stateMonitor"),
+    name: "stateMonitor",
+    meta: {
+      title: "全景监视",
+      icon: "",
+      permissions: ["jn_stateMonitor"],
+    },
+    children: [
+      {
+        path: "factoryMonitor/windPowerPlant",
+        redirect: { name: "windhome" },
+        component: () =>
+          import("@/views/stateMonitor/factoryMonitor/windPowerPlant"),
+        name: "windPowerPlant",
+        meta: {
+          title: "风电场站",
+          icon: "svg-fengdian",
+          permissions: ["jn_fdcz"],
+        },
+        showChild: true,
+        children: [
+          {
+            path: "windhome",
+            component: () =>
+              import(
+                "@/views/stateMonitor/factoryMonitor/windPowerPlant/windhome"
+              ),
+            name: "windhome",
+            meta: {
+              title: "场站监视",
+              icon: "svg-station-surveillance",
+              permissions: ["jn_fdcz_czjs"],
+            },
+          },
+          {
+            path: "DataTarget",
+            component: () =>
+              import(
+                "@/views/stateMonitor/factoryMonitor/windPowerPlant/DataTarget"
+              ),
+            name: "DataTarget",
+            meta: {
+              title: "数据指标",
+              icon: "svg-s指标列表",
+              permissions: ["jn_fdcz_sjzb"],
+            },
+          },
+
+          {
+            path: "matrixMonitor",
+            component: () =>
+              import(
+                "@/views/stateMonitor/factoryMonitor/windPowerPlant/matrixMonitor"
+              ),
+            name: "matrixMonitor",
+            meta: {
+              title: "矩阵监视",
+              icon: "svg-matrix",
+              permissions: ["jn_fdcz_jzjs"],
+            },
+          },
+          {
+            path: "draughtFan",
+            component: () =>
+              import(
+                "@/views/stateMonitor/factoryMonitor/windPowerPlant/draughtFan"
+              ),
+            name: "draughtFan",
+            meta: {
+              title: "风机设备",
+              icon: "svg-wind-site",
+              permissions: ["jn_fdcz_fjsb"],
+            },
+          },
+          {
+            path: "boosterStation",
+            component: () =>
+              import(
+                "@/views/stateMonitor/factoryMonitor/windPowerPlant/boosterStation"
+              ),
+            name: "boosterStation",
+            meta: {
+              title: "升压站",
+              icon: "svg-s升压站",
+              permissions: ["jn_fdcz_syz"],
+            },
+          },
+          {
+            path: "millivolt",
+            component: () =>
+              import(
+                "@/views/stateMonitor/factoryMonitor/windPowerPlant/millivolt"
+              ),
+            name: "millivolt",
+            meta: {
+              title: "电计量",
+              icon: "svg-djl",
+              permissions: ["jn_fdcz_syz"],
+            },
+          },
+          {
+            path: "windPower",
+            component: () =>
+              import(
+                "@/views/stateMonitor/factoryMonitor/windPowerPlant/windPower"
+              ),
+            name: "windPower",
+            meta: {
+              title: "测风塔",
+              permissions: ["jn_fdcz_cft"],
+              icon: "svg-s测风塔",
+            },
+          },
+          {
+            path: "geomorphologicMap",
+            component: () =>
+              import(
+                "@/views/stateMonitor/factoryMonitor/windPowerPlant/geomorphologicMap"
+              ),
+            name: "geomorphologicMap",
+            meta: {
+              title: "地貌图",
+              permissions: ["jn_fdcz_dmt"],
+              icon: "svg-s地图",
+            },
+          },
+        ],
+      },
+      {
+        path: "factoryMonitor/photovoltaic",
+        redirect: { name: "lighthome" },
+        component: () =>
+          import("@/views/stateMonitor/factoryMonitor/photovoltaic"),
+        name: "photovoltaic",
+        meta: {
+          title: "光伏场站",
+          icon: "svg-guangfu",
+          permissions: ["jn_gfcz"],
+        },
+        showChild: true,
+        children: [
+          {
+            path: "lighthome",
+            component: () =>
+              import(
+                "@/views/stateMonitor/factoryMonitor/photovoltaic/lighthome"
+              ),
+            name: "lighthome",
+            meta: {
+              title: "场站监视",
+              icon: "svg-station-surveillance",
+              permissions: ["jn_gfcz_czjs"],
+            },
+          },
+          {
+            path: "lightDataTarget",
+            component: () =>
+              import(
+                "@/views/stateMonitor/factoryMonitor/photovoltaic/lightDataTarget"
+              ),
+            name: "lightDataTarget",
+            meta: {
+              title: "数据指标",
+              permissions: ["jn_gfcz_sjzb"],
+              icon: "svg-s指标列表",
+            },
+          },
+          {
+            path: "lightMatrixMonitor",
+            component: () =>
+              import(
+                "@/views/stateMonitor/factoryMonitor/photovoltaic/lightMatrixMonitor"
+              ),
+            name: "lightMatrixMonitor",
+            meta: {
+              title: "矩阵监视",
+              permissions: ["jn_gfcz_jzjs"],
+              icon: "svg-matrix",
+            },
+          },
+          {
+            path: "lightMatrix",
+            component: () =>
+              import(
+                "@/views/stateMonitor/factoryMonitor/photovoltaic/lightMatrix"
+              ),
+            name: "lightMatrix",
+            meta: {
+              title: "分类矩阵",
+              permissions: ["jn_gfcz_fljz"],
+              icon: "svg-fljz",
+            },
+          },
+          {
+            path: "photovoltaicFacility",
+            component: () =>
+              import(
+                "@/views/stateMonitor/factoryMonitor/photovoltaic/photovoltaicFacility"
+              ),
+            name: "photovoltaicFacility",
+            meta: {
+              title: "光伏设备",
+              permissions: ["jn_gfcz_gfsb"],
+              icon: "svg-photovoltaic",
+            },
+          },
+          {
+            path: "lightBoosterStation",
+            component: () =>
+              import(
+                "@/views/stateMonitor/factoryMonitor/photovoltaic/lightBoosterStation"
+              ),
+            name: "lightBoosterStation",
+            meta: {
+              title: "升压站",
+              permissions: ["jn_gfcz_syz"],
+              icon: "svg-s升压站",
+            },
+          },
+          {
+            path: "lightMillivolt",
+            component: () =>
+              import(
+                "@/views/stateMonitor/factoryMonitor/photovoltaic/lightMillivolt"
+              ),
+            name: "lightMillivolt",
+            meta: {
+              title: "电计量",
+              icon: "svg-djl",
+              permissions: ["jn_fdcz_syz"],
+            },
+          },
+          {
+            path: "lightGeomorphologicMap",
+            component: () =>
+              import(
+                "@/views/stateMonitor/factoryMonitor/photovoltaic/lightGeomorphologicMap"
+              ),
+            name: "lightGeomorphologicMap",
+            meta: {
+              title: "地貌图",
+              permissions: ["jn_gfcz_dmt"],
+              icon: "svg-s地图",
+            },
+          },
+        ],
+      },
+        {
+          path: "agc",
+          component: () => import("@/views/stateMonitor/Agc/Agc.vue"),
+          name: "agc",
+          meta: {
+            title: "agc",
+            icon: "svg-s指标列表",
+            permissions: ["jn_fdcz_sjzb"],
+          },
+        },
+      {
+        path: "lightmatrix", // 基础矩阵
+        name: "LightMatrix",
+        component: () => import("@/views/stateMonitor/LightMatrix"),
+        meta: {
+          title: "基础矩阵",
+          icon: "svg-matrix",
+          permissions: ["jn_jcjz"],
+        },
+      },
+      {
+        path: "detailmatrix", // 明细矩阵
+        name: "DetailMatrix",
+        component: () => import("@/views/stateMonitor/DetailMatrix"),
+        meta: {
+          title: "明细矩阵",
+          icon: "svg-mx-matrix",
+          permissions: ["jn_mxjz"],
+        },
+      },
+      {
+        path: "syzmatrix", // 升压站矩阵
+        name: "SYZMatrix",
+        component: () => import("@/views/stateMonitor/focus/syzDetails.vue"),
+        meta: {
+          title: "升压站矩阵",
+          icon: "svg-syz",
+          permissions: ["jn_syzjz"],
+        },
+      },
+      {
+        path: "powerPredictMatrix", // 功率预测矩阵
+        name: "PowerPredictMatrix",
+        component: () => import("@/views/stateMonitor/powerPredictMatrix"),
+        meta: {
+          title: "功率预测矩阵",
+          icon: "svg-power-predict",
+          permissions: ["jn_glyc"],
+        },
+      },
+      {
+        path: "zhzb", // 综合指标统计
+        name: "zhzb",
+        component: () =>
+          import(
+            /* webpackChunkName: "status" */ "@/views/stateMonitor/zhzb/zhzb.vue"
+          ),
+        meta: {
+          title: "综合指标",
+          icon: "svg-自定制报表管理",
+          permissions: ["jn_zhzb"],
+        },
+      },
+      //   {
+      //     path: "factoryMonitor",
+      //     redirect: "factoryMonitor/windPowerPlant",
+      //     component: () => import("@/views/stateMonitor/factoryMonitor"),
+      //     name: "factoryMonitor",
+      //     meta: {
+      //       title: "厂站监视",
+      //       icon: "svg-single-station-surveillance",
+      //       permissions: ["jn_czjs"],
+      //     },
+      //     hidden: true,
+      //     children: [
+      //       {
+      //         path: "windPowerPlant",
+      //         redirect: { name: "windhome" },
+      //         component: () =>
+      //           import("@/views/stateMonitor/factoryMonitor/windPowerPlant"),
+      //         name: "windPowerPlant",
+      //         meta: {
+      //           title: "风电场站",
+      //           icon: "",
+      //           permissions: ["jn_fdcz"],
+      //         },
+      //         children: [
+      //           {
+      //             path: "windhome",
+      //             component: () =>
+      //               import(
+      //                 "@/views/stateMonitor/factoryMonitor/windPowerPlant/windhome"
+      //               ),
+      //             name: "windhome",
+      //             meta: {
+      //               title: "场站监视",
+      //               icon: "svg-station-surveillance",
+      //               permissions: ["jn_fdcz_czjs"],
+      //             },
+      //           },
+      //           {
+      //             path: "DataTarget",
+      //             component: () =>
+      //               import(
+      //                 "@/views/stateMonitor/factoryMonitor/windPowerPlant/DataTarget"
+      //               ),
+      //             name: "DataTarget",
+      //             meta: {
+      //               title: "数据指标",
+      //               icon: "svg-s指标列表",
+      //               permissions: ["jn_fdcz_sjzb"],
+      //             },
+      //           },
+      //           {
+      //             path: "matrixMonitor",
+      //             component: () =>
+      //               import(
+      //                 "@/views/stateMonitor/factoryMonitor/windPowerPlant/matrixMonitor"
+      //               ),
+      //             name: "matrixMonitor",
+      //             meta: {
+      //               title: "矩阵监视",
+      //               icon: "svg-matrix",
+      //               permissions: ["jn_fdcz_jzjs"],
+      //             },
+      //           },
+      //           {
+      //             path: "draughtFan",
+      //             component: () =>
+      //               import(
+      //                 "@/views/stateMonitor/factoryMonitor/windPowerPlant/draughtFan"
+      //               ),
+      //             name: "draughtFan",
+      //             meta: {
+      //               title: "风机设备",
+      //               icon: "svg-wind-site",
+      //               permissions: ["jn_fdcz_fjsb"],
+      //             },
+      //           },
+      //           {
+      //             path: "boosterStation",
+      //             component: () =>
+      //               import(
+      //                 "@/views/stateMonitor/factoryMonitor/windPowerPlant/boosterStation"
+      //               ),
+      //             name: "boosterStation",
+      //             meta: {
+      //               title: "升压站",
+      //               icon: "svg-s升压站",
+      //               permissions: ["jn_fdcz_syz"],
+      //             },
+      //           },
+      //           {
+      //             path: "windPower",
+      //             component: () =>
+      //               import(
+      //                 "@/views/stateMonitor/factoryMonitor/windPowerPlant/windPower"
+      //               ),
+      //             name: "windPower",
+      //             meta: {
+      //               title: "测风塔",
+      //               permissions: ["jn_fdcz_cft"],
+      //               icon: "svg-s测风塔",
+      //             },
+      //           },
+      //           {
+      //             path: "geomorphologicMap",
+      //             component: () =>
+      //               import(
+      //                 "@/views/stateMonitor/factoryMonitor/windPowerPlant/geomorphologicMap"
+      //               ),
+      //             name: "geomorphologicMap",
+      //             meta: {
+      //               title: "地貌图",
+      //               permissions: ["jn_fdcz_dmt"],
+      //               icon: "svg-s地图",
+      //             },
+      //           },
+      //         ],
+      //       },
+      //       {
+      //         path: "photovoltaic",
+      //         redirect: { name: "lighthome" },
+      //         component: () =>
+      //           import("@/views/stateMonitor/factoryMonitor/photovoltaic"),
+      //         name: "photovoltaic",
+      //         meta: {
+      //           title: "光伏场站",
+      //           icon: "",
+      //           permissions: ["jn_gfcz"],
+      //         },
+      //         children: [
+      //           {
+      //             path: "lighthome",
+      //             component: () =>
+      //               import(
+      //                 "@/views/stateMonitor/factoryMonitor/photovoltaic/lighthome"
+      //               ),
+      //             name: "lighthome",
+      //             meta: {
+      //               title: "场站监视",
+      //               icon: "svg-station-surveillance",
+      //               permissions: ["jn_gfcz_czjs"],
+      //             },
+      //           },
+      //           {
+      //             path: "lightDataTarget",
+      //             component: () =>
+      //               import(
+      //                 "@/views/stateMonitor/factoryMonitor/photovoltaic/lightDataTarget"
+      //               ),
+      //             name: "lightDataTarget",
+      //             meta: {
+      //               title: "数据指标",
+      //               permissions: ["jn_gfcz_sjzb"],
+      //               icon: "svg-s指标列表",
+      //             },
+      //           },
+      //           {
+      //             path: "lightMatrixMonitor",
+      //             component: () =>
+      //               import(
+      //                 "@/views/stateMonitor/factoryMonitor/photovoltaic/lightMatrixMonitor"
+      //               ),
+      //             name: "lightMatrixMonitor",
+      //             meta: {
+      //               title: "矩阵监视",
+      //               permissions: ["jn_gfcz_jzjs"],
+      //               icon: "svg-matrix",
+      //             },
+      //           },
+      //           {
+      //             path: "lightMatrix",
+      //             component: () =>
+      //               import(
+      //                 "@/views/stateMonitor/factoryMonitor/photovoltaic/lightMatrix"
+      //               ),
+      //             name: "lightMatrix",
+      //             meta: {
+      //               title: "分类矩阵",
+      //               permissions: ["jn_gfcz_fljz"],
+      //               icon: "svg-fljz",
+      //             },
+      //           },
+      //           {
+      //             path: "photovoltaicFacility",
+      //             component: () =>
+      //               import(
+      //                 "@/views/stateMonitor/factoryMonitor/photovoltaic/photovoltaicFacility"
+      //               ),
+      //             name: "photovoltaicFacility",
+      //             meta: {
+      //               title: "光伏设备",
+      //               permissions: ["jn_gfcz_gfsb"],
+      //               icon: "svg-photovoltaic",
+      //             },
+      //           },
+      //           {
+      //             path: "lightBoosterStation",
+      //             component: () =>
+      //               import(
+      //                 "@/views/stateMonitor/factoryMonitor/photovoltaic/lightBoosterStation"
+      //               ),
+      //             name: "lightBoosterStation",
+      //             meta: {
+      //               title: "升压站",
+      //               permissions: ["jn_gfcz_syz"],
+      //               icon: "svg-s升压站",
+      //             },
+      //           },
+      //           {
+      //             path: "lightGeomorphologicMap",
+      //             component: () =>
+      //               import(
+      //                 "@/views/stateMonitor/factoryMonitor/photovoltaic/lightGeomorphologicMap"
+      //               ),
+      //             name: "lightGeomorphologicMap",
+      //             meta: {
+      //               title: "地貌图",
+      //               permissions: ["jn_gfcz_dmt"],
+      //               icon: "svg-s地图",
+      //             },
+      //           },
+      //         ],
+      //       },
+      //     ],
+      //   },
+      {
+        path: "alarmCenter", // 报警列表
+        name: "alarmCenter",
+        component: () => import("@/views/stateMonitor/alarmCenter/commonAlarm"),
+        meta: {
+          title: "报警列表",
+          icon: "svg-alarm-center",
+          permissions: ["jn_alarm"],
+        },
+      },
+
+      /*{
+        path: "agcmatrix", // AGC矩阵
+        name: "AGCMatrix",
+        component: () => import("@/views/stateMonitor/focus/agcDetails"),
+        meta: {
+          title: "AGC矩阵",
+          icon: "svg-mx-matrix",
+          permissions: ["jn_mxjz"],
+        },
+      }*/
+    ],
+  },
+  //综合报警
+  {
+    path: "/integratedAlarm",
+    component: () => import("@/views/IntegratedAlarm"),
+    name: "integratedAlarm",
+    meta: {
+      title: "综合报警",
+      icon: "",
+      permissions: ["jn_integratedAlarm"],
+    },
+    children: [
+      {
+        path: "safe", // 综合报警
+        name: "safe",
+        component: () => import("@/views/IntegratedAlarm/safe"),
+        meta: {
+          title: "综合报警",
+          icon: "svg-zhbj",
+          permissions: ["jn_safe"],
+        },
+        children: [
+          {
+            path: "realwarning", // 综合报警
+            name: "realwarning",
+            component: () => import("@/views/IntegratedAlarm/safe/realWarning"),
+            meta: {
+              title: "实时报警",
+              icon: "",
+              permissions: ["jn_safe_ssbj"],
+            },
+          },
+          {
+            path: "historyWarning", // 报警查询
+            name: "historyWarning",
+            component: () =>
+              import("@/views/IntegratedAlarm/safe/historyWarning"),
+            meta: {
+              title: "报警查询",
+              icon: "",
+              permissions: ["jn_safe_bjcx"],
+            },
+          },
+          {
+            path: "customWarning", // 预警查询
+            name: "customWarning",
+            component: () =>
+              import("@/views/IntegratedAlarm/safe/customWarning"),
+            meta: {
+              title: "预警查询",
+              icon: "",
+              permissions: ["jn_safe_yjcx"],
+            },
+          },
+          {
+            path: "stopQuery", //停机查询
+            name: "stopQuery",
+            component: () => import("@/views/IntegratedAlarm/safe/stopQuery"),
+            meta: {
+              title: "停机查询",
+              icon: "",
+              permissions: ["jn_safe_tjcx"],
+            },
+          },
+          {
+            path: "dataSearch", //数据查询
+            name: "dataSearch",
+            component: () => import("@/views/IntegratedAlarm/safe/dataSearch"),
+            meta: {
+              title: "数据查询",
+              icon: "",
+              permissions: ["jn_safe_sjcx"],
+            },
+          },
+        ],
+      },
+      {
+        path: "reliability", // 可靠性分析
+        name: "reliability",
+        component: () => import("@/views/IntegratedAlarm/reliability"),
+        meta: {
+          title: "可靠性分析",
+          icon: "svg-kkxfx",
+          permissions: ["jn_reliability"],
+        },
+        children: [
+          {
+            path: "customAnalyse", // 预警分析
+            name: "customAnalyse",
+            component: () =>
+              import("@/views/IntegratedAlarm/reliability/customAnalyse"),
+            meta: {
+              title: "预警分析",
+              icon: "",
+              permissions: ["jn_reliability_yjfx"],
+            },
+          },
+          {
+            path: "historyAnalyse", // 报警分析
+            name: "historyAnalyse",
+            component: () =>
+              import("@/views/IntegratedAlarm/reliability/historyAnalyse"),
+            meta: {
+              title: "报警分析",
+              icon: "",
+              permissions: ["jn_reliability_bjfx"],
+            },
+          },
+        ],
+      },
+      {
+        path: "alarmConfig", // 报警配置
+        name: "alarmConfig",
+        component: () => import("@/views/IntegratedAlarm/alarmConfig"),
+        meta: {
+          title: "报警配置",
+          icon: "svg-bjpz",
+          permissions: ["jn_alarmConfig"],
+        },
+        children: [
+          {
+            path: "customConfig", // 预警配置
+            name: "customConfig",
+            component: () =>
+              import("@/views/IntegratedAlarm/alarmConfig/customConfig"),
+            meta: {
+              title: "预警配置",
+              icon: "",
+              permissions: ["jn_safe_ssbj"],
+            },
+          },
+          {
+            path: "historyConfig", // 报警配置
+            name: "historyConfig",
+            component: () =>
+              import("@/views/IntegratedAlarm/alarmConfig/historyConfig"),
+            meta: {
+              title: "报警配置",
+              icon: "",
+              permissions: ["jn_alarmConfig_bjpz"],
+            },
+          },
+          {
+            path: "logs", // 规则修改日志
+            name: "logs",
+            component: () => import("@/views/IntegratedAlarm/alarmConfig/logs"),
+            meta: {
+              title: "规则修改日志",
+              icon: "",
+              permissions: ["jn_alarmConfig_bjpz"],
+            },
+          },
+        ],
+      },
+      {
+        path: "deviceConfig", // 设备模型配置
+        name: "deviceConfig",
+        component: () => import("@/views/IntegratedAlarm/deviceConfig"),
+        meta: {
+          title: "设备模型配置",
+          icon: "svg-bjpz",
+          permissions: ["jn_alarmConfig"],
+        },
+      },
+    ],
+  },
+  //经济运行
+  {
+    path: "/economicsOperation",
+    // redirect:
+    //   "/economicsOperation/benchmarkingManagement/performanceRankingList",
+    // component: () =>
+    //   import("@/views/economicsOperation/benchmarkingManagement"),
+    component: () => import("@/views/economicsOperation/nxfHomePage"),
+    name: "economicsOperation",
+    meta: {
+      title: "经济运行",
+      icon: "",
+      permissions: ["jn_economicsOperation"],
+    },
+    children: [
+      //对标管理
+      {
+        path: "benchmarkingManagement",
+        redirect: "benchmarkingManagement/performanceRankingList",
+        component: () =>
+          import("@/views/economicsOperation/benchmarkingManagement"),
+        name: "benchmarkingManagement",
+        meta: {
+          title: "对标管理",
+          icon: "svg-dbgl",
+          permissions: ["jn_dbgl"],
+        },
+        children: [
+          {
+            path: "performanceRankingList",
+            component: () =>
+              import(
+                "@/views/economicsOperation/benchmarkingManagement/performanceRankingList/index.vue"
+              ),
+            name: "performanceRankingList",
+            meta: {
+              title: "绩效榜",
+              icon: "",
+              permissions: ["jn_dbgl_jxb"],
+            },
+          },
+          {
+            path: "decision1Mx", //风机绩效榜明细
+            name: "decision1Mx",
+            component: () =>
+              import(
+                "@/views/economicsOperation/benchmarkingManagement/performanceRankingList/decision1Mx.vue"
+              ),
+            meta: {
+              title: "风机绩效榜明细",
+              icon: "",
+              permissions: ["jn_dbgl_jxb"],
+            },
+          },
+          {
+            path: "loseRate",
+            component: () =>
+              import(
+                "@/views/economicsOperation/benchmarkingManagement/loseRate/index.vue"
+              ),
+            name: "loseRate",
+            meta: {
+              title: "五项损失率",
+              icon: "",
+              permissions: ["jn_dbgl_wxssl"],
+            },
+          },
+          //   {
+          //     path: "companyBenchmarking",
+          //     component: () =>
+          //       import(
+          //         "@/views/economicsOperation/benchmarkingManagement/companyBenchmarking"
+          //       ),
+          //     name: "companyBenchmarking",
+          //     meta: {
+          //       title: "公司对标",
+          //       icon: "",
+          //       permissions: ["jn_dbgl_gsdb"],
+          //     },
+          //   },
+          {
+            path: "siteBenchmarking",
+            component: () =>
+              import(
+                "@/views/economicsOperation/benchmarkingManagement/siteBenchmarking"
+              ),
+            name: "siteBenchmarking",
+            meta: {
+              title: "场内对标",
+              icon: "",
+              permissions: ["jn_dbgl_cndb"],
+            },
+          },
+          {
+            path: "intervalBenchmarking",
+            component: () =>
+              import(
+                "@/views/economicsOperation/benchmarkingManagement/intervalBenchmarking"
+              ),
+            name: "intervalBenchmarking",
+            meta: {
+              title: "场际对标",
+              icon: "",
+              permissions: ["jn_dbgl_cjdb"],
+            },
+          },
+          //   {
+          //     path: "valueBenchmarking",
+          //     component: () =>
+          //       import(
+          //         "@/views/economicsOperation/benchmarkingManagement/valueBenchmarking"
+          //       ),
+          //     name: "valueBenchmarking",
+          //     meta: {
+          //       title: "值际对标",
+          //       icon: "",
+          //     },
+          //   },
+          {
+            path: "projectBenchmarking",
+            component: () =>
+              import(
+                "@/views/economicsOperation/benchmarkingManagement/projectBenchmarking"
+              ),
+            name: "projectBenchmarking",
+            meta: {
+              title: "项目对标",
+              icon: "",
+              permissions: ["jn_dbgl_xmdb"],
+            },
+          },
+          {
+            path: "wiringBenchmarking",
+            component: () =>
+              import(
+                "@/views/economicsOperation/benchmarkingManagement/wiringBenchmarking"
+              ),
+            name: "wiringBenchmarking",
+            meta: {
+              title: "线路对标",
+              icon: "",
+              permissions: ["jn_dbgl_xldb"],
+            },
+          },
+          //   {
+          //     path: "singleMachineBenchmarking",
+          //     component: () =>
+          //       import(
+          //         "@/views/economicsOperation/benchmarkingManagement/singleMachineBenchmarking"
+          //       ),
+          //     name: "singleMachineBenchmarking",
+          //     meta: {
+          //       title: "单机对标",
+          //       icon: "",
+          //     },
+          //   },
+        ],
+      },
+      //专题分析
+      {
+        path: "thematicAnalysis",
+        redirect: "thematicAnalysis/comprehensiveAnalysis",
+        component: () => import("@/views/economicsOperation/thematicAnalysis"),
+        name: "thematicAnalysis",
+        meta: {
+          title: "专题分析",
+          icon: "svg-ztfx",
+          permissions: ["jn_ztfx"],
+        },
+        children: [
+          {
+            path: "comprehensiveAnalysis",
+            component: () =>
+              import(
+                "@/views/economicsOperation/thematicAnalysis/comprehensiveAnalysis"
+              ),
+            name: "comprehensiveAnalysis",
+            meta: {
+              title: "综合分析",
+              icon: "",
+              permissions: ["jn_ztfx_zhfx"],
+            },
+          },
+          {
+            path: "windEnergy",
+            component: () =>
+              import("@/views/economicsOperation/thematicAnalysis/windEnergy"),
+            name: "windEnergy",
+            meta: {
+              title: "风光能利用率",
+              icon: "",
+              permissions: ["jn_ztfx_fnlyl"],
+            },
+          },
+          {
+            path: "failure",
+            component: () =>
+              import("@/views/economicsOperation/thematicAnalysis/failure"),
+            name: "failure",
+            meta: {
+              title: "五项损失率",
+              icon: "",
+              permissions: ["jn_ztfx_wxssl"],
+            },
+          },
+
+          {
+            path: "MTBF",
+            component: () =>
+              import("@/views/economicsOperation/thematicAnalysis/MTBF"),
+            name: "MTBF",
+            meta: {
+              title: "可靠性分析",
+              icon: "",
+              permissions: ["jn_ztfx_kkxfx"],
+            },
+          },
+          {
+            path: "generation",
+            component: () =>
+              import("@/views/economicsOperation/thematicAnalysis/generation"),
+            name: "generation",
+            meta: {
+              title: "发电量分析",
+              icon: "",
+              permissions: ["jn_ztfx_dlfx"],
+            },
+          },
+        ],
+      },
+      //场站分析
+      {
+        path: "stationAnalyse",
+        component: () => import("@/views/economicsOperation/stationAnalyse"),
+        name: "StationAnalyse",
+        meta: {
+          title: "场站分析",
+          icon: "svg-fddl",
+          permissions: ["jn_czfx"],
+        },
+        children: [
+          {
+            path: "electricAnalyse",
+            component: () =>
+              import(
+                "@/views/economicsOperation/stationAnalyse/electricAnalyse"
+              ),
+            name: "ElectricAnalyse",
+            meta: {
+              title: "发电量分析",
+              icon: "",
+              permissions: ["jn_czfx_fdlfx"],
+            },
+          },
+          {
+            path: "stationElectricAnalyse",
+            component: () =>
+              import(
+                "@/views/economicsOperation/stationAnalyse/stationElectricAnalyse"
+              ),
+            name: "StationElectricAnalyse",
+            meta: {
+              title: "综合场用电量分析",
+              icon: "",
+              permissions: ["jn_czfx_zhcydlfx"],
+            },
+          },
+          {
+            path: "WindAndPhotovoltaic",
+            component: () =>
+              import(
+                "@/views/economicsOperation/stationAnalyse/windAndPhotovoltaic"
+              ),
+            name: "WindAndPhotovoltaic",
+            meta: {
+              title: "风光资源分析",
+              icon: "",
+              permissions: ["jn_czfx_fgzyfx"],
+            },
+          },
+        ],
+      },
+      //风电分析
+      {
+        path: "windAnalyse",
+        component: () => import("@/views/economicsOperation/windAnalyse"),
+        name: "WindAnalyse",
+        meta: {
+          title: "风电分析",
+          icon: "svg-fdfx",
+          permissions: ["jn_fdfx"],
+        },
+        children: [
+          {
+            path: "stateTransition",
+            component: () =>
+              import(
+                "@/views/economicsOperation/windAnalyse/stateTransition/index.vue"
+              ),
+            name: "stateTransition",
+            meta: {
+              title: "状态时间分析",
+              icon: "",
+              permissions: ["jn_fdfx_ztzhfx"],
+            },
+          },
+          {
+            path: "timeTransition",
+            component: () =>
+              import(
+                "@/views/economicsOperation/windAnalyse/timeTransition/index.vue"
+              ),
+            name: "timeTransition",
+            meta: {
+              title: "状态转换分析",
+              icon: "",
+              permissions: ["jn_fdfx_ztsjfx"],
+            },
+          },
+          {
+            path: "powerAnalyse",
+            component: () =>
+              import("@/views/economicsOperation/windAnalyse/powerCurve"),
+            name: "PowerCurve",
+            meta: {
+              title: "功率曲线拟合",
+              icon: "",
+              permissions: ["jn_fdfx_glqxnh"],
+            },
+          },
+          {
+            path: "powerSearch",
+            component: () =>
+              import("@/views/economicsOperation/windAnalyse/powerSearch"),
+            name: "PowerSearch",
+            meta: {
+              title: "功率曲线查询",
+              icon: "",
+              permissions: ["jn_fdfx_glqxcx"],
+            },
+          },
+          {
+            path: "qxpclfx",
+            component: () =>
+              import(
+                "@/views/economicsOperation/windAnalyse/qxpclfx/index.vue"
+              ),
+            name: "Qxpclfx",
+            meta: {
+              title: "曲线偏差率分析",
+              icon: "",
+              permissions: ["jn_fdfx_qxpclfx"],
+            },
+          },
+          {
+            path: "qxqjpcl",
+            component: () =>
+              import(
+                "@/views/economicsOperation/windAnalyse/qxqjpcl/index.vue"
+              ),
+            name: "Qxqjpcl",
+            meta: {
+              title: "曲线区间偏差率分析",
+              icon: "",
+              permissions: ["jn_fdfx_qxpclfx"],
+            },
+          },
+          {
+            path: "cutInAndOutAnalysis",
+            component: () =>
+              import(
+                "@/views/economicsOperation/windAnalyse/cutInAndOutAnalysis/index.vue"
+              ),
+            name: "CutInAndOutAnalysis",
+            meta: {
+              title: "切入切出分析",
+              icon: "",
+              permissions: ["jn_fdfx_qrqcfx"],
+            },
+          },
+          {
+            path: "singleWindAnasyle",
+            component: () =>
+              import(
+                "@/views/economicsOperation/windAnalyse/singleWindAnasyle/index.vue"
+              ),
+            name: "SingleWindAnasyle",
+            meta: {
+              title: "单机性能分析",
+              icon: "",
+              permissions: ["jn_fdfx_djxnfx"],
+            },
+          },
+          {
+            path: "monthlyAnalysis",
+            component: () =>
+              import(
+                "@/views/economicsOperation/windAnalyse/monthlyAnalysis/index.vue"
+              ),
+            name: "MonthlyAnalysis",
+            meta: {
+              title: "单机月度分析",
+              icon: "",
+              permissions: ["jn_fdfx_djydfx"],
+            },
+          },
+          {
+            path: "performanceAssess",
+            component: () =>
+              import(
+                "@/views/economicsOperation/windAnalyse/performanceAssess/index.vue"
+              ),
+            name: "PerformanceAssess",
+            meta: {
+              title: "性能等级评估",
+              icon: "",
+              permissions: ["jn_fdfx_xndjpg"],
+            },
+          },
+        ],
+      },
+      //光伏分析
+      {
+        path: "photovoltaicAnalyse",
+        redirect: "analyse/standAloneAnalyse",
+        component: () =>
+          import("@/views/economicsOperation/photovoltaicAnalyse"),
+        name: "PhotovoltaicAnalyse",
+        meta: {
+          title: "光伏分析",
+          icon: "svg-gffx",
+          permissions: ["jn_gffx"],
+        },
+        children: [
+          {
+            path: "gfstateTransition",
+            component: () =>
+              import(
+                "@/views/economicsOperation/photovoltaicAnalyse/stateTransition/index.vue"
+              ),
+            name: "gfstateTransition",
+            meta: {
+              title: "状态时间分析",
+              icon: "",
+              permissions: ["jn_gffx_ztzhfx"],
+            },
+          },
+          {
+            path: "gftimeTransition",
+            component: () =>
+              import(
+                "@/views/economicsOperation/photovoltaicAnalyse/timeTransition/index.vue"
+              ),
+            name: "gftimeTransition",
+            meta: {
+              title: "状态转换分析",
+              icon: "",
+              permissions: ["jn_gffx_ztsjfx"],
+            },
+          },
+          {
+            path: "powerHotAnalyse",
+            component: () =>
+              import(
+                "@/views/economicsOperation/photovoltaicAnalyse/powerHotAnalyse"
+              ),
+            name: "PowerHotAnalyse",
+            meta: {
+              title: "功率曲线拟合",
+              icon: "",
+              permissions: ["jn_gffx_glwdfx"],
+            },
+          },
+          {
+            path: "powerAnalyse",
+            component: () =>
+              import(
+                "@/views/economicsOperation/photovoltaicAnalyse/powerAnalyse"
+              ),
+            name: "PowerAnalyse",
+            meta: {
+              title: "功率曲线查询",
+              icon: "",
+              permissions: ["jn_gffx_glqxnh"],
+            },
+          },
+
+          {
+            path: "lslfx",
+            component: () =>
+              import("@/views/economicsOperation/photovoltaicAnalyse/lslfx"),
+            name: "Lslfx",
+            meta: {
+              title: "离散率分析",
+              icon: "",
+              permissions: ["jn_gffx_lslfx"],
+            },
+          },
+          {
+            path: "prAnalyse",
+            component: () =>
+              import(
+                "@/views/economicsOperation/photovoltaicAnalyse/prAnalyse"
+              ),
+            name: "PrAnalyse",
+            meta: {
+              title: "系统效率分析",
+              icon: "",
+              permissions: ["jn_gffx_xtxlfx"],
+            },
+          },
+          {
+            path: "performanceEvaluation",
+            component: () =>
+              import(
+                "@/views/economicsOperation/photovoltaicAnalyse/performanceEvaluation"
+              ),
+            name: "PerformanceEvaluation",
+            meta: {
+              title: "性能等级评估",
+              icon: "",
+              permissions: ["jn_gffx_xndjpg"],
+            },
+          },
+        ],
+      },
+      //管控效率
+      {
+        path: "efficiency",
+        redirect: "efficiency/restorationEfficiency",
+        component: () => import("@/views/economicsOperation/efficiency"),
+        name: "efficiency",
+        meta: {
+          title: "管控效率",
+          icon: "svg-dimension-new",
+          permissions: ["jn_slgl"],
+        },
+        children: [
+          {
+            path: "restorationEfficiency",
+            component: () =>
+              import(
+                "@/views/economicsOperation/efficiency/restorationEfficiency"
+              ),
+            name: "restorationEfficiency",
+            meta: {
+              title: "复位及时率",
+              icon: "",
+              permissions: ["jn_slgl_fwjsl"],
+            },
+          },
+          {
+            path: "consumeEfficiency",
+            component: () =>
+              import("@/views/economicsOperation/efficiency/consumeEfficiency"),
+            name: "consumeEfficiency",
+            meta: {
+              title: "消缺及时率",
+              icon: "",
+              permissions: ["jn_slgl_xqjsl"],
+            },
+          },
+          {
+            path: "stateEfficiency",
+            component: () =>
+              import("@/views/economicsOperation/efficiency/stateEfficiency"),
+            name: "stateEfficiency",
+            meta: {
+              title: "状态转换率",
+              icon: "",
+              permissions: ["jn_slgl_ztzhl"],
+            },
+          },
+        ],
+      },
+      //综合管控KPI
+      {
+        path: "comprehensiveControl",
+        redirect: "comprehensiveControl/running",
+        component: () =>
+          import("@/views/economicsOperation/comprehensiveControl"),
+        name: "comprehensiveControl",
+        meta: {
+          title: "综合管控KPI",
+          icon: "svg-zhgk",
+          permissions: ["jn_zhgk"],
+        },
+        children: [
+          {
+            path: "running",
+            component: () =>
+              import(
+                "@/views/economicsOperation/comprehensiveControl/runningKPI/index.vue"
+              ),
+            name: "running",
+            meta: {
+              title: "运行KPI",
+              icon: "",
+              permissions: ["jn_zhgk_yx"],
+            },
+          },
+          {
+            path: "maintenance",
+            component: () =>
+              import(
+                "@/views/economicsOperation/comprehensiveControl/maintenanceKPI/index.vue"
+              ),
+            name: "maintenance",
+            meta: {
+              title: "检修KPI",
+              icon: "",
+              permissions: ["jn_zhgk_jx"],
+            },
+          },
+          {
+            path: "stationControl",
+            component: () =>
+              import(
+                "@/views/economicsOperation/comprehensiveControl/stationControlKPI/index.vue"
+              ),
+            name: "stationControl",
+            meta: {
+              title: "场站管控KPI",
+              icon: "",
+              permissions: ["jn_zhgk_czgk"],
+            },
+          },
+        ],
+      },
+    ],
+  },
+  //智慧检修
+  {
+    path: "/health",
+    redirect: "/health/healthManagement/first",
+    component: () => import("@/views/HealthControl"),
+    name: "health",
+    meta: {
+      title: "智慧检修",
+      icon: "",
+      permissions: ["jn_health"],
+    },
+    children: [
+      {
+        path: "healthManagement",
+        component: () => import("@/views/HealthControl/healthManagement"),
+        name: "healthManagement",
+        meta: {
+          title: "风电健康管理",
+          icon: "svg-fjjkd",
+          permissions: ["jn_jkgl"],
+        },
+        children: [
+          {
+            path: "first",
+            component: () =>
+              import("@/views/HealthControl/healthManagement/first/index.vue"),
+            name: "first",
+            meta: {
+              title: "健康推荐",
+              icon: "",
+              permissions: ["jn_jkgl_jktj"],
+            },
+          },
+          {
+            path: "homepage",
+            component: () =>
+              import(
+                "@/views/HealthControl/healthManagement/homepage/index.vue"
+              ),
+            name: "homepage",
+            meta: {
+              title: "健康首页",
+              icon: "",
+              permissions: ["jn_jkgl_jksy"],
+            },
+          },
+
+          {
+            path: "overview",
+            component: () =>
+              import(
+                "@/views/HealthControl/healthManagement/overview/index.vue"
+              ),
+            name: "overview",
+            meta: {
+              title: "健康总览",
+              icon: "",
+              permissions: ["jn_jkgl_jkzl"],
+            },
+          },
+          {
+            path: "healthMatrix",
+            component: () =>
+              import(
+                "@/views/HealthControl/healthManagement/healthMatrix/index.vue"
+              ),
+            name: "healthMatrix",
+            meta: {
+              title: "健康矩阵",
+              icon: "",
+              permissions: ["jn_jkgl_jkjz"],
+            },
+          },
+          {
+            path: "healthList",
+            component: () =>
+              import(
+                "@/views/HealthControl/healthManagement/healthList/index.vue"
+              ),
+            name: "healthList",
+            meta: {
+              title: "健康列表",
+              icon: "",
+              permissions: ["jn_jkgl_jklb"],
+            },
+          },
+          {
+            path: "badStateAnalyse/:wpId/:wtId",
+            component: () =>
+              import(
+                "@/views/HealthControl/healthManagement/badStateAnalyse/index.vue"
+              ),
+            name: "badStateAnalyse",
+            meta: {
+              title: "劣化状态分析",
+              icon: "",
+              permissions: ["jn_jkgl_lhztfx"],
+            },
+          },
+          //   {
+          //     path: "wtSaturability",
+          //     component: () =>
+          //       import(
+          //         "@/views/HealthControl/healthManagement/wtSaturability/index.vue"
+          //       ),
+          //     name: "wtSaturability",
+          //     meta: {
+          //       title: "单机饱和度",
+          //       icon: "",
+          //       permissions: ["jn_nxfx_djbhd"],
+          //     },
+          //   },
+          {
+            path: "temperatureAnalysis",
+            component: () =>
+              import(
+                "@/views/HealthControl/healthManagement/temperatureAnalysis/index.vue"
+              ),
+            name: "temperatureAnalysis",
+            meta: {
+              title: "部件温度分析",
+              icon: "",
+              permissions: ["jn_jkgl_bjwd"],
+            },
+          },
+        ],
+      },
+      {
+        path: "gfHealthManagement",
+        component: () => import("@/views/HealthControl/gfHealthManagement"),
+        name: "gfHealthManagement",
+        meta: {
+          title: "光伏健康管理",
+          icon: "svg-gfjkd",
+          permissions: ["jn_gfjkgl"],
+        },
+      },
+      //   {
+      //     path: "energyEfficAnalyse",
+      //     redirect: "energyEfficAnalyse/healthPowerCurve",
+      //     component: () => import("@/views/HealthControl/energyEfficAnalyse"),
+      //     name: "energyEfficAnalyse",
+      //     meta: {
+      //       title: "能效分析",
+      //       icon: "svg-能效分析",
+      //       permissions: ["jn_nxfx"],
+      //     },
+      //     children: [
+      //       {
+      //         path: "evaluationAnalysis",
+      //         component: () =>
+      //           import(
+      //             "@/views/HealthControl/energyEfficAnalyse/evaluationAnalysis/index.vue"
+      //           ),
+      //         name: "evaluationAnalysis",
+      //         meta: {
+      //           title: "预警评判分析",
+      //           icon: "",
+      //           permissions: ["jn_nxfx_yjpp"],
+      //         },
+      //       },
+      //       {
+      //         path: "malfunctionAnalysis",
+      //         component: () =>
+      //           import(
+      //             "@/views/HealthControl/energyEfficAnalyse/malfunctionAnalysis/index.vue"
+      //           ),
+      //         name: "malfunctionAnalysis",
+      //         meta: {
+      //           title: "故障评判分析",
+      //           icon: "",
+      //           permissions: ["jn_nxfx_gzpp"],
+      //         },
+      //       },
+      //       {
+      //         path: "powerAnalysis",
+      //         component: () =>
+      //           import(
+      //             "@/views/HealthControl/energyEfficAnalyse/powerAnalysis/index.vue"
+      //           ),
+      //         name: "powerAnalysis",
+      //         meta: {
+      //           title: "部件功率分析",
+      //           icon: "",
+      //           permissions: ["jn_nxfx_gzpp"],
+      //         },
+      //       },
+      //     ],
+      //   },
+      {
+        path: "healthDetail",
+        redirect: "healthDetail/wpHealth",
+        component: () => import("@/views/HealthControl/healthDetail"),
+        name: "healthDetail",
+        hidden: true,
+        meta: {
+          title: "健康详情",
+          icon: "",
+          permissions: ["jn_jkgl"],
+        },
+        children: [
+          {
+            path: "wpHealth/:wpId/:wpName?", // 场站健康管理
+            name: "health3",
+            component: () =>
+              import("@/views/HealthControl/healthDetail/wpHealth"),
+            meta: {
+              title: "场站健康管理",
+              icon: "",
+              permissions: ["jn_jkgl"],
+            },
+          },
+          {
+            path: "wtHealth/:wpId/:wtId", //设备健康详情
+            name: "health0",
+            component: () =>
+              import("@/views/HealthControl/healthDetail/wtHealth"),
+            meta: {
+              title: "设备健康详情",
+              icon: "",
+              permissions: ["jn_jkgl"],
+            },
+          },
+          {
+            path: "healthTrend/:wpId/:wtId", //设备健康详情
+            name: "healthTrend",
+            component: () =>
+              import("@/views/HealthControl/healthDetail/healthTrend"),
+            meta: {
+              title: "健康趋势",
+              icon: "",
+              permissions: ["jn_jkgl"],
+            },
+          },
+          {
+            path: "badState/:wpId/:wtId", //设备健康详情
+            name: "",
+            component: () =>
+              import("@/views/HealthControl/healthManagement/badStateAnalyse"),
+            meta: {
+              title: "劣化状态分析曲线",
+              icon: "",
+              permissions: ["jn_jkgl"],
+            },
+          },
+        ],
+      },
+    ],
+  },
+  //发电能力分析
+  {
+    path: "/generatingCap",
+    name: "generatingCap",
+    meta: {
+      title: "发电能力分析",
+    },
+    children: [
+      {
+        path: "dataFilter/prepare",
+        name: "dataFilterPrepare",
+        meta: {
+          title: "风电数据准备",
+          elIcon: "FolderChecked",
+          permissions: ["jn_fdnlfx"],
+        },
+        component: () => import("../views/fdnlfx/dataFilter/prepare/index.vue"),
+      },
+      {
+        path: "dataFilter/process",
+        name: "dataFilterProcess",
+        meta: {
+          title: "风电数据处理",
+          elIcon: "Files",
+          permissions: ["jn_fdnlfx"],
+        },
+        component: () => import("../views/fdnlfx/dataFilter/process/index.vue"),
+      },
+      {
+        path: "dataAnalysis/combine",
+        name: "dataAnalysisCombine",
+        meta: {
+          title: "功率曲线拟合",
+          elIcon: "TrendCharts",
+          permissions: ["jn_fdnlfx"],
+        },
+        component: () => import("../views/fdnlfx/dataAnalysis/combine/index.vue"),
+      },
+      {
+        path: "dataAnalysis/lineAnalysis",
+        name: "dataAnalysisLineAnalysis",
+        meta: {
+          title: "曲线偏差率分析",
+          elIcon: "DataAnalysis",
+          permissions: ["jn_fdnlfx"],
+        },
+        component: () => import("../views/fdnlfx/dataAnalysis/lineAnalysis/index.vue"),
+      },
+      {
+        path: "dataAnalysis/hotAnalysis",
+        name: "dataAnalysisthotAnalysis",
+        meta: {
+          title: "温度与功率分析",
+          elIcon: "Platform",
+          permissions: ["jn_fdnlfx"],
+        },
+        component: () => import("../views/fdnlfx/dataAnalysis/hotAnalysis/index.vue"),
+      },
+      {
+        path: "dataAnalysis/rateAnalysis",
+        name: "dataAnalysisRateAnalysis",
+        meta: {
+          title: "对风偏差分析",
+          elIcon: "PieChart",
+          permissions: ["jn_fdnlfx"],
+        },
+        component: () => import("../views/fdnlfx/dataAnalysis/rateAnalysis/index.vue"),
+      },
+      {
+        path: "dataAnalysis/angleAnalysis",
+        name: "dataAnalysisAngleAnalysis",
+        meta: {
+          title: "桨距角分析",
+          elIcon: "TrendCharts",
+          permissions: ["jn_fdnlfx"],
+        },
+        component: () =>
+          import("../views/fdnlfx/dataAnalysis/angleAnalysis/index.vue"),
+      },
+      {
+        path: "dataAnalysis/windAnalysis",
+        name: "dataAnalysisWindAnalysis",
+        meta: {
+          title: "损失电量分析",
+          elIcon: "Odometer",
+          permissions: ["jn_fdnlfx"],
+        },
+        component: () =>
+          import("../views/fdnlfx/dataAnalysis/windAnalysis/index.vue"),
+      },
+      {
+        path: "dataAnalysis/spaceAnalysis",
+        name: "dataAnalysisspaceAnalysis",
+        meta: {
+          title: "毛容量分析",
+          elIcon: "TrendCharts",
+          permissions: ["jn_fdnlfx"],
+        },
+        component: () =>
+          import("../views/fdnlfx/dataAnalysis/spaceAnalysis/index.vue"),
+      },
+      {
+        path: "dataAnalysis/posAnalysis",
+        name: "dataAnalysisPosAnalysis",
+        meta: {
+          title: "微观选址分析",
+          elIcon: "MapLocation",
+          permissions: ["jn_fdnlfx"],
+        },
+        component: () =>
+          import("../views/fdnlfx/dataAnalysis/posAnalysis/index.vue"),
+      },
+      {
+        path: "dataAnalysis/agcAnalysis",
+        name: "dataAnalysisAgcAnalysis",
+        meta: {
+          title: "AGC曲线偏差分析",
+          elIcon: "Checked",
+          permissions: ["jn_fdnlfx"],
+        },
+        component: () =>
+          import("../views/fdnlfx/dataAnalysis/agcAnalysis/index.vue"),
+      },
+      {
+        path: "dataAnalysis/analysisReport",
+        name: "dataAnalysisAnalysisReport",
+        meta: {
+          title: "能效分析报告",
+          elIcon: "Document",
+          permissions: ["jn_fdnlfx"],
+        },
+        component: () =>
+          import("../views/fdnlfx/report/index.vue"),
+      },
+      {
+        path: "dataAnalysis/yhjyReport",
+        name: "yhjyReport",
+        meta: {
+          title: "优化建议报告",
+          elIcon: "Document",
+          permissions: ["jn_fdnlfx"],
+        },
+        component: () =>
+          import("../views/fdnlfx/yhjyReport/index.vue"),
+      },
+      {
+        path: "dataAnalysis/jjyxReport",
+        name: "dataAnalysisJjyxReport",
+        meta: {
+          title: "经济运行分析报告",
+          elIcon: "Document",
+          permissions: ["jn_fdnlfx"],
+        },
+        component: () =>
+          import("../views/fdnlfx/jjyxReport/index.vue"),
+      },
+
+
+    ],
+  },
+
+  //功率预测相关页面
+  {
+    path: '/powerPrediction',
+    name: 'powerPrediction',
+    meta: {
+      title: '功率预测',
+    },
+    children: [
+      {
+        path: 'index',
+        name: 'powerPredictionIndex',
+        meta: {
+          title: '概要',
+          elIcon: "Monitor",
+          permissions: ["jn_glyc"],
+        },
+        component: () =>
+          import(
+            '../views/powerPrediction/homePageNoMap.vue'
+          ),
+      },
+      {
+        path: 'panoramicPower',
+        name: 'panoramicPower',
+        meta: {
+          title: '全景功率',
+          elIcon: "Film",
+          permissions: ["jn_glyc"],
+        },
+        component: () =>
+          import(
+            '../views/powerPrediction/panoramicPower.vue'
+          ),
+      },
+      {
+        path: 'powerYc',
+        name: 'powerPre',
+        meta: {
+          title: '功率预测',
+          elIcon: "Operation",
+          permissions: ["jn_glyc"],
+        },
+        component: () =>
+          import(
+            '../views/powerPrediction/powerPredictionPage.vue'
+          ),
+      },
+      {
+        path: 'batteryDiviner',
+        name: 'batteryDiviner',
+        meta: {
+          title: '电量预测',
+          elIcon: "HelpFilled",
+          permissions: ["jn_glyc"],
+        },
+        component: () =>
+          import(
+            '../views/powerPrediction/batteryDivinerPage.vue'
+          ),
+      },
+      {
+        path: 'weather',
+        name: 'weatherPage',
+        meta: {
+          title: '天气预报',
+          elIcon: "PartlyCloudy",
+          permissions: ["jn_glyc"],
+        },
+        component: () =>
+          import(
+            '../views/powerPrediction/weatherPage.vue'
+          ),
+      },
+      {
+        path: 'statisticalSummary',
+        name: 'statisticalSummary',
+        meta: {
+          title: '统计汇总',
+          elIcon: "Cellphone",
+          permissions: ["jn_glyc"],
+        },
+        component: () =>
+          import(
+            '../views/powerPrediction/statisticalSummaryPage.vue'
+          ),
+      },
+      {
+        path: 'stationPowerContro',
+        name: 'stationPowerContro',
+        meta: {
+          title: '场站电量预测',
+          elIcon: "DataLine",
+          permissions: ["jn_glyc"],
+        },
+        component: () =>
+          import(
+            '../views/powerPrediction/stationPowerContro.vue'
+          ),
+      },
+      {
+        path: 'detailedRules',
+        name: 'detailedRules',
+        meta: {
+          title: '双细则考核',
+        },
+        component: () =>
+          import(
+            '../views/powerPrediction/detailedRulesPage.vue'
+          ),
+      },
+    ],
+
+  },
+
+  // 智能报表
+  {
+      path: "/report",
+      name: "report",
+    redirect: "report/reportst/fdxnyrb",
+    meta: {
+      title: "智能报表",
+      icon: "",
+      permissions: ["jn_zhbb"],
+    },
+    // component: () => import("@/views/report/index copy.vue"),
+    component: () => import("@/views/report"),
+    children: [
+      {
+        path: "reportst",
+        meta: {
+          title: "自定制报表管理",
+          icon: "svg-自定制报表管理",
+          permissions: ["jn_zdz"],
+        },
+        component: () => import("@/views/report/stationReport"),
+        children: [
+          {
+            path: "fdxnyrb",
+            name: "fdxnyrb",
+            component: () => import("@/views/report/stationReport/fdxnyrb"),
+            meta: {
+              title: "关口表",
+              icon: "",
+              permissions: ["jn_zdz_fdxnyrb"],
+            },
+          },
+          {
+            path: "gfxnyrb",
+            name: "gfxnyrb",
+            component: () => import("@/views/report/stationReport/fdczzdy"),
+            meta: {
+              title: "erp",
+              icon: "",
+              permissions: ["jn_zdz_gfxnyrb"],
+            },
+          },
+        //   {
+        //     path: "scrb",
+        //     name: "scrb",
+        //     component: () => import("@/views/report/stationReport/scrb"),
+        //     meta: {
+        //       title: "晋能清洁能源生产日报",
+        //       icon: "",
+        //       permissions: ["jn_zdz_scrb"],
+        //     },
+        //   },
+          //   {
+          //     path: "gjyrbb",
+          //     name: "gjyrbb",
+          //     component: () => import("@/views/report/stationReport/rbb"),
+          //     meta: {
+          //       title: "日报表",
+          //       icon: "",
+          //       permissions: ["jn_zdz_rbb"],
+          //     },
+          //   },
+
+        //   {
+        //     path: "fczybb",
+        //     name: "fczybb",
+        //     component: () => import("@/views/report/stationReport/fczybb"),
+        //     meta: {
+        //       title: "风场自由报表",
+        //       icon: "",
+        //       permissions: ["jn_zdz_fdcz"],
+        //     },
+        //   },
+        //   {
+        //     path: "xmzybb",
+        //     name: "xmzybb",
+        //     component: () => import("@/views/report/stationReport/xmzybb"),
+        //     meta: {
+        //       title: "项目自由报表",
+        //       icon: "",
+        //       permissions: ["jn_zdz_fdxm"],
+        //     },
+        //   },
+
+          //   {
+          //     path: "fdczzdy",
+          //     name: "fdczzdy",
+          //     component: () => import("@/views/report/stationReport/fdczzdy"),
+          //     meta: {
+          //       title: "风电场站自定义",
+          //       icon: "",
+          //       permissions: ["jn_zdz_fdcz"],
+          //     },
+          //   },
+          //   {
+          //     path: "fdxmzdy",
+          //     name: "fdxmzdy",
+          //     component: () => import("@/views/report/stationReport/fdxmzdy"),
+          //     meta: {
+          //       title: "风电项目自定义",
+          //       icon: "",
+          //       permissions: ["jn_zdz_fdxm"],
+          //     },
+          //   },
+        ],
+      },
+      {
+        path: "electricReport",
+        redirect: "electricReport/dmb",
+        name: "electricReport",
+        meta: {
+          title: "自定义报表",
+          icon: "svg-dlbb",
+          permissions: ["jn_dlbb"],
+        },
+        component: () => import("@/views/report/stationReport"),
+        children: [
+          {
+            path: "dmb",
+            name: "dmb",
+            component: () => import("@/views/report/stationReport/fczybb"),
+            meta: {
+              title: "自定义报表",
+              icon: "",
+              permissions: ["jn_dlbb_dmb"],
+            },
+          },
+        ],
+      },
+    ],
+  },
+];
+const router = createRouter({
+  history: createWebHashHistory(),
+  base: "/nem/",
+  routes: [...constantRoutes, ...asyncRoutes],
+});
+
+// router.beforeEach((to, from, next) => {
+//   next();
+// });
+
+export default router;

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

@@ -30,7 +30,7 @@
                 "
               >
                 <SvgIcon :svgid="menu.icon" v-if="menu.icon"></SvgIcon>
-                <el-icon v-else-if="menu.elIcon" :size="20">
+                <el-icon v-else-if="menu.elIcon" :size="20" style="position:relative;left:-4px">
                   <component :is="menu.elIcon"></component>
                 </el-icon>
               </div>
@@ -53,7 +53,7 @@
                 "
               >
                 <SvgIcon :svgid="menu.icon" v-if="menu.icon"></SvgIcon>
-                <el-icon v-else-if="menu.elIcon" :size="20">
+                <el-icon v-else-if="menu.elIcon" :size="20" style="position:relative;left:-4px">
                   <component :is="menu.elIcon"></component>
                 </el-icon>
               </div>
@@ -142,7 +142,7 @@
                 "
               >
                 <SvgIcon :svgid="menu.icon" v-if="menu.icon"></SvgIcon>
-                <el-icon v-else-if="menu.elIcon" :size="20">
+                <el-icon v-else-if="menu.elIcon" :size="20" style="position:relative;left:-4px">
                   <component :is="menu.elIcon"></component>
                 </el-icon>
               </div>
@@ -165,7 +165,7 @@
                 "
               >
                 <SvgIcon :svgid="menu.icon" v-if="menu.icon"></SvgIcon>
-                <el-icon v-else-if="menu.elIcon" :size="20">
+                <el-icon v-else-if="menu.elIcon" :size="20" style="position:relative;left:-4px">
                   <component :is="menu.elIcon"></component>
                 </el-icon>
               </div>

Některé soubory nejsou zobrazeny, neboť je v těchto rozdílových datech změněno mnoho souborů