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: "/monitor/status", // 状态监视 // name: "Status", // component: () => // import( // /* webpackChunkName: "status" */ "@/views/stateMonitor/Status/Status.vue" // ), // }, // { // path: "/monitor/agc", // AGC 监视 // name: "Agc", // component: () => // import(/* webpackChunkName: "agc" */ "@/views/stateMonitor/Agc/Agc.vue"), // }, //安全监视 { path: "/stateMonitor", redirect: "/stateMonitor/lightmatrix", component: () => import("@/views/stateMonitor"), name: "stateMonitor", meta: { title: "安全监视", icon: "", permissions: ["jn_stateMonitor", "*:*:*"], }, children: [ { 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: "powerPredictMatrix", // 明细矩阵 name: "PowerPredictMatrix", component: () => import("@/views/stateMonitor/powerPredictMatrix"), meta: { title: "功率预测", icon: "svg-power-predict", permissions: ["jn_mxjz", "*:*:*"], }, }, { 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", "*:*:*"], }, 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"), meta: { title: "综合报警", icon: "svg-alarm-center", permissions: ["jn_alarm", "*:*:*"], }, children: [ { path: "commonAlarm", // 报警列表 name: "commonAlarm", component: () => import("@/views/stateMonitor/alarmCenter/commonAlarm"), meta: { title: "报警列表", icon: "", permissions: ["jn_alarm_bjlb", "*:*:*"], }, }, ], }, { path: "syzmatrix", // 升压站矩阵 name: "SYZMatrix", component: () => import("@/views/stateMonitor/focus/agcDetails"), meta: { title: "升压站矩阵", icon: "svg-mx-matrix", permissions: ["jn_mxjz", "*:*:*"], }, }, /*{ path: "agcmatrix", // AGC矩阵 name: "AGCMatrix", component: () => import("@/views/stateMonitor/focus/agcDetails"), meta: { title: "AGC矩阵", icon: "svg-mx-matrix", permissions: ["jn_mxjz", "*:*:*"], }, }*/ ], }, // 经济运行 { path: "/economicsOperation", redirect: "/economicsOperation/benchmarkingManagement/performanceRankingList", component: () => import("@/views/economicsOperation/benchmarkingManagement"), name: "economicsOperation", meta: { title: "经济运行", icon: "", permissions: ["jn_economicsOperation", "*:*:*"], }, children: [ // { // path: "homePage", // component: () => import("@/views/economicsOperation/homePage"), // name: "homePage", // meta: { // title: "首页", // icon: "icon-Simple-matrix", // }, // }, { 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: "efficiency", redirect: "efficiency/restorationEfficiency", component: () => import("@/views/economicsOperation/efficiency"), name: "efficiency", meta: { title: "三率", icon: "svg-slgl", 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", "*:*:*"], }, }, ], }, { path: "analyse", redirect: "analyse/standAloneAnalyse", component: () => import("@/views/economicsOperation/analyse"), name: "analyse", meta: { title: "性能分析", icon: "svg-dimension-new", permissions: ["jn_xnfx", "*:*:*"], }, children: [ { path: "standAloneAnalyse", component: () => import("@/views/economicsOperation/analyse/standAloneAnalyse"), name: "standAloneAnalyse", meta: { title: "单机性能分析", icon: "", permissions: ["jn_xnfx_djxnfx", "*:*:*"], }, }, { path: "monthlyAnalysis", component: () => import("@/views/economicsOperation/analyse/monthlyAnalysis"), name: "monthlyAnalysis", meta: { title: "单机月度分析", icon: "", permissions: ["jn_xnfx_djydfx", "*:*:*"], }, }, ], }, { path: "performanceAnalyse", redirect: "performanceAnalyse/standAloneAnalyse", component: () => import("@/views/economicsOperation/performanceAnalyse"), name: "performanceAnalyse", meta: { title: "性能评估", icon: "svg-fjfx", permissions: ["jn_xndjpg", "*:*:*"], }, children: [ { path: "performanceAssess", component: () => import( "@/views/economicsOperation/performanceAnalyse/performanceAssess" ), name: "performanceAssess", meta: { title: "性能等级评估", icon: "", permissions: ["jn_xndjpg", "*:*:*"], }, }, ], }, { path: "powerCurve", redirect: "powerCurve/powerLinefitting", component: () => import("@/views/economicsOperation/powerCurve"), name: "powerCurve", meta: { title: "功率曲线", icon: "svg-power-curve", permissions: ["jn_glqx", "*:*:*"], }, children: [ { path: "powerLinefitting", component: () => import("@/views/economicsOperation/powerCurve/powerLinefitting"), name: "powerLinefitting", meta: { title: "功率曲线拟合", icon: "", permissions: ["jn_glqx_glqxnh", "*:*:*"], }, }, { path: "cutInAndOutAnalysis", component: () => import( "@/views/economicsOperation/powerCurve/cutInAndOutAnalysis" ), name: "cutInAndOutAnalysis", meta: { title: "切入切出分析", icon: "", permissions: ["jn_glqx_qrqcfx", "*:*:*"], }, }, ], }, { 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: "reset", component: () => import("@/views/economicsOperation/thematicAnalysis/reset"), name: "reset", meta: { title: "三率分析", icon: "", permissions: ["jn_ztfx_fwjsl", "*:*:*"], }, }, { 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: "reportForms", // redirect: "reportForms/newEnergyDaily", // component: () => import("@/views/economicsOperation/reportForms"), // name: "reportForms", // meta: { // title: "报表", // icon: "icon-dimension", // }, // children: [ // { // path: "newEnergyDaily", // component: () => // import("@/views/economicsOperation/reportForms/newEnergyDaily"), // name: "newEnergyDaily", // meta: { // title: "新能源日报", // icon: "", // }, // }, // { // path: "newEnergyMonthly", // component: () => // import("@/views/economicsOperation/reportForms/newEnergyMonthly"), // name: "newEnergyMonthly", // meta: { // title: "新能源月报", // icon: "", // }, // }, // { // path: "specifcGravity", // component: () => // import("@/views/economicsOperation/reportForms/specifcGravity"), // name: "specifcGravity", // meta: { // title: "各风场生产月报", // icon: "", // }, // }, // { // path: "windMonthly", // component: () => // import("@/views/economicsOperation/reportForms/windMonthly"), // name: "windMonthly", // meta: { // title: "新能源月报", // icon: "", // }, // }, // ], // }, ], }, //智慧检修 { path: "/health", redirect: "/health/healthManagement/first", component: () => import("@/views/HealthControl"), name: "health", meta: { title: "智慧检修", icon: "", permissions: ["jn_health", "*:*:*"], }, children: [ { path: "healthManagement", // redirect: "healthManagement/first", component: () => import("@/views/HealthControl/healthManagement"), name: "healthManagement", meta: { title: "健康管理", icon: "svg-健康管理", 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: "energyEfficAnalyse", redirect: "energyEfficAnalyse/healthPowerCurve", component: () => import("@/views/HealthControl/energyEfficAnalyse"), name: "energyEfficAnalyse", meta: { title: "能效分析", icon: "svg-能效分析", permissions: ["jn_nxfx", "*:*:*"], }, children: [ { path: "healthPowerCurve", component: () => import( "@/views/HealthControl/energyEfficAnalyse/healthPowerCurve" ), name: "healthPowerCurve", meta: { title: "功率曲线拟合", icon: "", permissions: ["jn_nxfx_glqxnh", "*:*:*"], }, }, { path: "qxpclfx", component: () => import( "@/views/HealthControl/energyEfficAnalyse/qxpclfx/index.vue" ), name: "qxpclfx", meta: { title: "曲线偏差率分析", icon: "", permissions: ["jn_nxfx_qxpcl", "*:*:*"], }, }, { path: "wtSaturability", component: () => import( "@/views/HealthControl/energyEfficAnalyse/wtSaturability/index.vue" ), name: "wtSaturability", meta: { title: "单机饱和度", icon: "", permissions: ["jn_nxfx_djbhd", "*:*:*"], }, }, { path: "temperatureAnalysis", component: () => import( "@/views/HealthControl/energyEfficAnalyse/temperatureAnalysis/index.vue" ), name: "temperatureAnalysis", meta: { title: "部件温度分析", icon: "", permissions: ["jn_nxfx_bjwd", "*:*:*"], }, }, { 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: "/others", redirect: "/others/report/gjyrbb", name: "others", meta: { title: "综合报表", icon: "", permissions: ["jn_zhbb", "*:*:*"], }, component: () => import("@/views/report"), children: [ { path: "report", redirect: "report/gjyrbb", name: "report", meta: { title: "自定制报表管理", icon: "svg-自定制报表管理", permissions: ["jn_zdz", "*:*:*"], }, component: () => import("@/views/report/stationReport"), children: [ { path: "scrb", name: "scrb", component: () => import("@/views/report/stationReport/scrb"), meta: { title: "晋能清洁能源生产日报", icon: "", permissions: ["jn_zdz_scrb", "*:*:*"], }, }, { 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/gfxnyrb"), meta: { title: "晋能清洁能源光伏日报", icon: "", permissions: ["jn_zdz_gfxnyrb", "*:*:*"], }, }, { path: "gjyrbb", name: "gjyrbb", component: () => import("@/views/report/stationReport/rbb"), meta: { title: "日报表", icon: "", permissions: ["jn_zdz_rbb", "*:*:*"], }, }, { 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: "/others/statisticAnalysis", // name: "statisticAnalysis", // component: () => // import( // /* webpackChunkName: "fs" */ "../views/NewPages/statisticAnalysis.vue" // ), // }, //报表管理-统计分析-表底 // { // path: "/others/statisticAnalysis/form", // name: "fr", // component: () => // import( // /* webpackChunkName: "windsitehome" */ "../views/NewPages/form.vue" // ), // }, //报表管理-统计分析-场站 // { // path: "/others/statisticAnalysis/station", // name: "cz", // component: () => // import( // /* webpackChunkName: "windsitehome" */ "../views/NewPages/station.vue" // ), // }, //报表管理-统计分析-新能源日报 // { // path: "/others/statisticAnalysis/daily", // name: "ny", // component: () => // import( // /* webpackChunkName: "windsitehome" */ "../views/NewPages/daily.vue" // ), // }, // { // path: "/decision/nhycfsdl", // name: "nhycfsdl", // component: () => // import(/* webpackChunkName: "nhycfsdl" */ "../views/report/nhycfsdl.vue"), // }, // { // path: "/decision/xzycfsdl", // name: "xzycfsdl", // component: () => // import(/* webpackChunkName: "xzycfsdl" */ "../views/report/xzycfsdl.vue"), // }, /***********************************************************经济运行************************************************************* */ /***********************************************************智慧检修************************************************************* */ { path: "/health/sandtable", name: "sandtable", component: () => import( /* webpackChunkName: "sandtable" */ "../views/SandTable/SandTable.vue" ), }, // 等级评估(单机等级评估管理-量化评级) { path: "/health/assess/index", name: "assessindex", component: () => import("../views/HealthControl/assess/assessindex.vue"), }, { path: "/health/assess/selfEvaluate", // 自组合评级 name: "assessEvaluate", component: () => import("../views/HealthControl/assess/selfEvaluate.vue"), }, { path: "/health/assess/config", name: "assessconfig", component: () => import("../views/HealthControl/assess/assessconfig.vue"), }, { path: "/health/zhpj/yxpj", //运行评价 name: "yxpj", component: () => import("../views/HealthControl/zhpj/yxpj.vue"), }, { path: "/health/zhpj/jxpj", //检修评价 name: "jxpj", component: () => import("../views/HealthControl/zhpj/jxpj.vue"), }, { path: "/health/gzzd/malfunctionDiagnose", // 故障诊断 name: "malfunctionDiagnose", component: () => import("../views/malfunctionDiagnose/index.vue"), }, { path: "/health/gzzd/malfunctionRecall", // 故障回溯 name: "malfunctionRecall", component: () => import( /* webpackChunkName: "malfunctionStatistics" */ "../views/malfunctionRecall/index.vue" ), }, { path: "/health/gzzd/gzfl", // 故障分类 name: "gzfl", component: () => import( /* webpackChunkName: "malfunctionStatistics" */ "../views/malfunctionDiagnose/gzfl.vue" ), }, { path: "/health/gzzd/yjfl", // 预警分类 name: "yjfl", component: () => import( /* webpackChunkName: "malfunctionStatistics" */ "../views/malfunctionDiagnose/yjfl.vue" ), }, { path: "/health/health1", name: "health1", component: () => import("../views/HealthControl/Health1.vue"), }, { path: "/health/allLifeManage", // 全生命周期管理 name: "allLifeManage", component: () => import("../views/allLifeManage/index.vue"), }, { path: "/health/nxfx/phdffx", // 偏航对风分析 name: "phdffx", component: () => import( /* webpackChunkName: "malfunctionStatistics" */ "../views/windAnalysis/phdffx.vue" ), }, { path: "/health/nxfx/cutAnalyse", // 切入切出分析 name: "cutAnalyse", component: () => import("../views/cutAnalyse/index.vue"), }, { path: "/health/kkxfx/alarmcenter1", name: "alarmcenter1", component: () => import( /* webpackChunkName: "alarmcenter1" */ "../views/NewPages/alarm-center-1.vue" ), }, { path: "/health/kkxfx/alarmcenter2", name: "alarmcenter2", component: () => import( /* webpackChunkName: "alarmcenter2" */ "../views/NewPages/alarm-center-2.vue" ), }, { path: "/health/kkxfx/warnStatistics", // 预警评判分析 name: "warnStatistics", component: () => import( /* webpackChunkName: "warnStatistics" */ "../views/warnStatistics/index.vue" ), }, { path: "/health/kkxfx/malfunctionStatistics", // 故障评判分析 name: "malfunctionStatistics", component: () => import( /* webpackChunkName: "malfunctionStatistics" */ "../views/malfunctionStatistics/index.vue" ), }, { path: "/health/kkxfx/bjgltjb", name: "bjgltjb", component: () => import(/* webpackChunkName: "bjgltjb" */ "../views/report/bjgltjb.vue"), }, { path: "/health/fzyfx/windAnalysis", // 风资源分析 name: "windAnalysis", component: () => import("../views/windAnalysis/index.vue"), }, { path: "/health/fzyfx/windAnalysis/fx", // 风向 name: "fxzstmain", component: () => import("../views/windAnalysis/fxzstmain.vue"), }, { path: "/health/MalfunctionWarning/", //故障预警 无监督学习 name: "MalfunctionWarning", component: () => import("../views/MalfunctionWarning/MalfunctionWarning.vue"), }, { path: "/health/MalfunctionWarning/Supervised", //有监督学习 name: "Supervised", component: () => import("../views/MalfunctionWarning/supervised.vue"), }, /***********************************************************智慧检修************************************************************* */ /***********************************************************安全管控************************************************************* */ { path: "/save", name: "save", component: () => import( /* webpackChunkName: "personnel" */ "../views/NewPages/iframe4.vue" ), }, { path: "/save/personnel", name: "personnel", component: () => import( /* webpackChunkName: "personnel" */ "../views/NewPages/personnel.vue" ), }, { path: "/globalMonitor", // 全局监视 name: "globalMonitor", component: () => import( /* webpackChunkName: "globalMonitor" */ "../views/Others/index.vue" ), }, /***********************************************************安全管控************************************************************* */ { path: "/others/reportPandect", // 报表总览 name: "reportPandect", component: () => import( /* webpackChunkName: "reportPandect" */ "../views/reportPandect/index.vue" ), }, { path: "/others/tjfx", name: "tjfx", component: () => import(/* webpackChunkName: "tjfx" */ "../views/report/tjfx.vue"), }, { path: "/others/bdzcx", name: "bdzcx", component: () => import(/* webpackChunkName: "bdzcx" */ "../views/report/bdzcx.vue"), }, { path: "/others/oafd", name: "oafd", component: () => import(/* webpackChunkName: "oafd" */ "../views/report/oafd.vue"), }, { path: "/others/oagf", name: "oagf", component: () => import(/* webpackChunkName: "oagf" */ "../views/report/oagf.vue"), }, { path: "/others/missfdrb", name: "missfdrb", component: () => import(/* webpackChunkName: "missfdrb" */ "../views/report/missfdrb.vue"), }, { path: "/others/missgfrb", name: "missgfrb", component: () => import(/* webpackChunkName: "missgfrb" */ "../views/report/missgfrb.vue"), }, { path: "/others/xnyfdscyb", name: "xnyfdscyb", component: () => import( /* webpackChunkName: "xnyfdscyb" */ "../views/report/xnyfdscyb.vue" ), }, { path: "/others/mhsscyb", name: "mhsscyb", component: () => import(/* webpackChunkName: "mhsscyb" */ "../views/report/mhsscyb.vue"), }, { path: "/others/nssscyb", name: "nssscyb", component: () => import(/* webpackChunkName: "nssscyb" */ "../views/report/nssscyb.vue"), }, { path: "/others/qsscyb", name: "qsscyb", component: () => import(/* webpackChunkName: "qsscyb" */ "../views/report/qsscyb.vue"), }, { path: "/others/sbqscyb", name: "sbqscyb", component: () => import(/* webpackChunkName: "sbqscyb" */ "../views/report/sbqscyb.vue"), }, { path: "/others/xsscyb", name: "xsscyb", component: () => import(/* webpackChunkName: "xsscyb" */ "../views/report/xsscyb.vue"), }, { path: "/others/xnygfscyb", name: "xnygfscyb", component: () => import( /* webpackChunkName: "xnygfscyb" */ "../views/report/xnygfscyb.vue" ), }, { path: "/others/dwkscyb", name: "dwkscyb", component: () => import(/* webpackChunkName: "dwkscyb" */ "../views/report/dwkscyb.vue"), }, { path: "/others/plscyb", name: "plscyb", component: () => import(/* webpackChunkName: "plscyb" */ "../views/report/plscyb.vue"), }, { path: "/others/xhscyb", name: "xhscyb", component: () => import(/* webpackChunkName: "xhscyb" */ "../views/report/xhscyb.vue"), }, { path: "/others/djyrbb", name: "djyrbb", component: () => import( /* webpackChunkName: "fdczzdy" */ "../views/report/stationReport/djyrbb.vue" ), }, { path: "/others/hsmrbb", name: "hsmrbb", component: () => import( /* webpackChunkName: "fdczzdy" */ "../views/report/stationReport/hsmrbb.vue" ), }, { path: "/others/mljrbb", name: "mljrbb", component: () => import( /* webpackChunkName: "fdczzdy" */ "../views/report/stationReport/mljrbb.vue" ), }, { path: "/others/njlrbb", name: "njlrbb", component: () => import( /* webpackChunkName: "fdczzdy" */ "../views/report/stationReport/njlrbb.vue" ), }, { path: "/others/pdlrbb", name: "pdlrbb", component: () => import( /* webpackChunkName: "fdczzdy" */ "../views/report/stationReport/pdlrbb.vue" ), }, { path: "/others/ptzrbb", name: "ptzrbb", component: () => import( /* webpackChunkName: "fdczzdy" */ "../views/report/stationReport/ptzrbb.vue" ), }, { path: "/others/xwtrbb", name: "xwtrbb", component: () => import( /* webpackChunkName: "fdczzdy" */ "../views/report/stationReport/xwtrbb.vue" ), }, { path: "/others/ytyrbb", name: "ytyrbb", component: () => import( /* webpackChunkName: "fdczzdy" */ "../views/report/stationReport/ytyrbb.vue" ), }, { path: "/others/ylzrbb", name: "ylzrbb", component: () => import( /* webpackChunkName: "fdczzdy" */ "../views/report/stationReport/ylzrbb.vue" ), }, { path: "/others/yfrbb", name: "yfrbb", component: () => import( /* webpackChunkName: "fdczzdy" */ "../views/report/stationReport/yfrbb.vue" ), }, { path: "/others/zkrbb", name: "zkrbb", component: () => import( /* webpackChunkName: "fdczzdy" */ "../views/report/stationReport/zkrbb.vue" ), }, { path: "/others/gfczzdy", name: "gfczzdy", component: () => import(/* webpackChunkName: "gfczzdy" */ "../views/report/gfczzdy.vue"), }, { path: "/others/gfxmzdy", name: "gfxmzdy", component: () => import(/* webpackChunkName: "gfxmzdy" */ "../views/report/gfxmzdy.vue"), }, { path: "/others/xnyrb", name: "xnyrb", component: () => import(/* webpackChunkName: "xnyrb" */ "../views/report/xnyrb.vue"), }, { path: "/others/weather", name: "weather", component: () => import("../views/report/weather.vue"), }, { path: "/others/ExportExcel", name: "ExportExcel", component: () => import("../views/report/ExportExcel.vue"), }, { path: "/others/realSearch", // 测点数据查询 name: "realSearch", component: () => import("../views/realSearch/index.vue"), }, { path: "/others/historysearch", name: "historysearch", component: () => import( /* webpackChunkName: "historysearch" */ "../views/NewPages/history-search.vue" ), }, { path: "/others/historySearch", // 测点历史数据查询 name: "historySearch", component: () => import("../views/historySearch/index.vue"), }, { path: "/others/alarmCenter/alarmcenter", name: "alarmcenter", component: () => import( /* webpackChunkName: "personnel" */ "../views/NewPages/alarm-center.vue" ), }, { path: "/others/alarmCenter/tjsj", name: "tjsj", component: () => import(/* webpackChunkName: "tjsj" */ "../views/warn/tjsj.vue"), }, { path: "/others/alarmCenter/xdgl", name: "xdgl", component: () => import(/* webpackChunkName: "xdgl" */ "../views/warn/xdgl.vue"), }, // 报警中心-升压站报警 { path: "/others/alarmCenter/ztzhjl", name: "ztzhjl", component: () => import(/* webpackChunkName: "ztzhjl" */ "../views/warn/ztzhjl.vue"), }, { path: "/others/alarmCenter/czjl", name: "czjl", component: () => import(/* webpackChunkName: "czjl" */ "../views/warn/czjl.vue"), }, { //光伏告警 path: "/others/alarmCenter/gfgj", name: "gfgj", component: () => import(/* webpackChunkName: "gfgj" */ "../views/warn/gfgj.vue"), }, { path: "/others/alarmCenter/boosterAlarm", name: "boosterAlarm", component: () => import("../views/alarmCenter/boosterAlarm.vue"), }, //故障样本库 { path: "/others/fault", name: "fault", component: () => import("../views/sampleDatabase/fault/index.vue"), }, //性能样本库 { path: "/others/performance", name: "performance", component: () => import("../views/sampleDatabase/performance/index.vue"), }, //预警样本库 { path: "/others/warning", name: "warning", component: () => import("../views/sampleDatabase/warning/index.vue"), }, //性能预警综合分析 { path: "/others/analysis", name: "analysis", component: () => import("../views/sampleDatabase/analysis/index.vue"), }, //样本库功率曲线分析 { path: "/others/powerline/analysis", name: "powerlineAnalysis", component: () => import("../views/sampleDatabase/powerlineAnalysis/index.vue"), }, //知识库 { path: "/others/knowledgeBase", name: "knowledgeBase", component: () => import("../views/sampleDatabase/knowledgeBase/index.vue"), }, //发电能力分析 // { // path: "/others/abilityAnalysis", // name: "abilityAnalysis", // component: () => import("../views/sampleDatabase/abilityAnalysis/index.vue") // }, //智能营销样本库 { path: "/others/market", name: "market", component: () => import("../views/sampleDatabase/market/index.vue"), }, // 报警中心-SCADA报警 { path: "/others/alarmCenter/scadaAlarm", name: "scadaAlarm", component: () => import("../views/alarmCenter/scadaAlarm.vue"), }, // 报警中心-自定义报警 { path: "/others/alarmCenter/customAlarm", name: "customAlarm", component: () => import("../views/alarmCenter/customAlarm.vue"), }, // 报警中心-自定义报警统计 { path: "/others/alarmCenter/customStatistics", name: "customStatistics", component: () => import("../views/alarmCenter/customStatistics.vue"), }, { path: "/others/knowledge/knowledge", //故障知识列表 name: "knowledge1", component: () => import("../views/Knowledge/Knowledge1.vue"), }, { path: "/others/knowledge/knowledge2", //安全措施知识 name: "knowledge2", component: () => import("../views/Knowledge/Knowledge2.vue"), }, // { // path: '/others/knowledge/knowledge3', //风险辨识知识 // name: 'knowledge3', // component: () => // import('../views/Knowledge/Knowledge3.vue'), // }, { path: "/others/knowledge/knowledge4", //作业指导知识 name: "knowledge4", component: () => import("../views/Knowledge/Knowledge4.vue"), }, { path: "/others/knowledge/knowledge4/AC", //安措内容分类 name: "knowledgeA", component: () => import("../views/Knowledge/safety.vue"), }, { path: "/others/knowledge/knowledge4/WX", //危险地点内容 name: "knowledgeW", component: () => import("../views/Knowledge/risk .vue"), }, { path: "/others/knowledge/knowledge5", //特征参数 name: "knowledge5", component: () => import("../views/Knowledge/Knowledge5.vue"), }, { path: "/others/knowledge/knowledge6", //排查检修方案 name: "knowledge6", component: () => import("../views/Knowledge/Knowledge6.vue"), }, { path: "/others/knowledge/knowledge7", //预警知识 name: "knowledge7", component: () => import("../views/Knowledge/Knowledge7.vue"), }, { path: "/device/device", //设备管理 name: "device", component: () => import("../views/device/device.vue"), }, /***********************************************************其他************************************************************ */ { path: "/planPower", name: "planPower", component: () => import( /* webpackChunkName: "planPower" */ "../views/planPower/index.vue" ), }, { path: "/new/intelligentalarmcenter", name: "intelligentalarmcenter", component: () => import( /* webpackChunkName: "intelligentalarmcenter" */ "../views/NewPages/intelligent-alarm-center.vue" ), }, { path: "/new/knowledgebase", name: "knowledgebase", component: () => import( /* webpackChunkName: "knowledgebase" */ "../views/NewPages/knowledge-base.vue" ), }, { path: "/new/dj", name: "dj", component: () => import(/* webpackChunkName: "dj" */ "../views/NewPages/dj.vue"), }, { path: "/new/dj2", name: "dj2", component: () => import(/* webpackChunkName: "dj2" */ "../views/NewPages/dj2.vue"), }, { path: "/new/dialog", name: "dialog", component: () => import(/* webpackChunkName: "dj2" */ "../views/NewPages/dialogs.vue"), }, { path: "/new/powerforecast2", name: "powerforecast2", component: () => import( /* webpackChunkName: "powerforecast2" */ "../views/NewPages/power-forecast-2.vue" ), }, ]; const router = createRouter({ history: createWebHashHistory(), base: "/nem/", routes: [...constantRoutes, ...asyncRoutes], }); // router.beforeEach((to, from, next) => { // next(); // }); export default router;