123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875 |
- 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"),
- 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: "/powerGenerating",
- name: "powerGenerating",
- meta: {
- title: "发电能力分析",
- icon: "",
- permissions: ["jn_zhbb"],
- },
- // component: () => import("@/views/report/index copy.vue"),
- component: () => import("@/views/powerGenerating"),
- children: [
- {
- path: "dataFilter",
- name: "dataFilter",
- meta: {
- title: "数据准备",
- icon: "svg-prepare",
- permissions: ["jn_dlbb"],
- },
- component: () => import("@/views/powerGenerating/dataFilter"),
- children: [
- {
- path: "prepare",
- name: "prepare",
- component: () =>
- import("@/views/powerGenerating/dataFilter/prepare"),
- meta: {
- title: "风电数据准备",
- icon: "",
- permissions: ["jn_dlbb_dmb"],
- },
- },
- {
- path: "process",
- name: "process",
- component: () =>
- import("@/views/powerGenerating/dataFilter/process"),
- meta: {
- title: "风电数据处理",
- icon: "",
- permissions: ["jn_dlbb_dmb"],
- },
- },
- {
- path: "lightPrepare",
- name: "lightPrepare",
- component: () =>
- import("@/views/powerGenerating/dataFilter/lightPrepare"),
- meta: {
- title: "光伏数据准备",
- icon: "",
- permissions: ["jn_dlbb_dmb"],
- },
- },
- ],
- },
- {
- path: "windAnalyse",
- name: "windAnalyse",
- meta: {
- title: "风电分析",
- icon: "svg-wind-site",
- permissions: ["jn_dlbb"],
- },
- component: () => import("@/views/powerGenerating/windAnalyse"),
- children: [
- {
- path: "combine",
- name: "combine",
- component: () =>
- import("@/views/powerGenerating/windAnalyse/combine"),
- meta: {
- title: "功率曲线拟合分析",
- icon: "",
- permissions: ["jn_dlbb_dmb"],
- },
- },
- {
- path: "rateAnalysis",
- name: "rateAnalysis",
- component: () =>
- import("@/views/powerGenerating/windAnalyse/rateAnalysis"),
- meta: {
- title: "对风偏差分析",
- icon: "",
- permissions: ["jn_dlbb_dmb"],
- },
- },
- {
- path: "lineAnalysis",
- name: "lineAnalysis",
- component: () =>
- import("@/views/powerGenerating/windAnalyse/lineAnalysis"),
- meta: {
- title: "曲线偏差率分析",
- icon: "",
- permissions: ["jn_dlbb_dmb"],
- },
- },
- ],
- },
- ],
- },
- // 智能报表
- {
- path: "/report",
- name: "report",
- 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: "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: "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/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;
|