1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294 |
- 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: "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"],
- },
- 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: "/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: "performanceEvalute",
- component: () =>
- import("@/views/economicsOperation/performanceEvalute"),
- name: "performanceEvalute",
- meta: {
- title: "性能评估",
- icon: "svg-fjfx",
- permissions: ["jn_xndjpg"],
- },
- children: [
- {
- path: "performanceAssess",
- component: () =>
- import(
- "@/views/economicsOperation/performanceEvalute/performanceAssess"
- ),
- name: "performanceAssess",
- meta: {
- title: "风电性能等级评估",
- icon: "",
- permissions: ["jn_glqx_glqxnh"],
- },
- },
- {
- path: "performanceEvaluation",
- component: () =>
- import(
- "@/views/economicsOperation/performanceEvalute/performanceEvaluation"
- ),
- name: "performanceEvaluation",
- meta: {
- title: "光伏性能评价",
- icon: "",
- permissions: ["jn_glqx_qrqcfx"],
- },
- },
- ],
- },
- //功率曲线
- {
- 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: "monthElectricAnalyse",
- component: () =>
- import("@/views/economicsOperation/monthElectricAnalyse/index.vue"),
- name: "monthElectricAnalyse",
- meta: {
- title: "功率预测分析",
- icon: "svg-yfdl",
- permissions: ["jn_glycfx"],
- },
- },
- //综合管控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: "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: "powerAnalyse",
- component: () =>
- import("@/views/HealthControl/energyEfficAnalyse/powerAnalyse"),
- name: "powerAnalyse",
- meta: {
- title: "功率曲线分析",
- icon: "",
- permissions: ["jn_nxfx_glqxnh"],
- },
- },
- {
- path: "powerHotAnalyse",
- component: () =>
- import(
- "@/views/HealthControl/energyEfficAnalyse/powerHotAnalyse"
- ),
- name: "powerHotAnalyse",
- 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/index copy.vue"),
- 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: "electricReport",
- redirect: "electricReport/dmb",
- name: "electricReport",
- meta: {
- title: "电量报表",
- icon: "svg-dlbb",
- permissions: ["jn_dlbb"],
- },
- component: () => import("@/views/electricReport/dmb"),
- children: [
- {
- path: "dmb",
- name: "dmb",
- component: () => import("@/views/electricReport/dmb"),
- 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;
|