123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906 |
- import {
- createRouter,
- createWebHashHistory
- } from "vue-router"
- import Home from "../views/Home/Home.vue"
- const routes = [{
- path: "/login",
- name: "Login",
- component: () =>
- import( /* webpackChunkName: "Login" */ "../views/layout/login-page.vue"),
- },
- {
- path: "/",
- redirect: "/monitor/home"
- },
- {
- path: "/monitor/home", // 驾驶舱
- name: "Home",
- component: Home,
- },
- {
- path: "/monitor/about",
- name: "About",
- component: () =>
- import( /* webpackChunkName: "about" */ "../views/About.vue"),
- },
- {
- path: "/monitor/demo",
- name: "Demo",
- component: () =>
- import( /* webpackChunkName: "Demo" */ "../views/Demo.vue"),
- },
- {
- path: "/sisView",
- name: "sisView",
- component: () =>
- import( /* webpackChunkName: "sisView" */ "../views/sisView/index.vue"),
- },
- {
- path: "/monitor/status", // 状态监视
- name: "Status",
- component: () =>
- import( /* webpackChunkName: "status" */ "../views/Status/Status.vue"),
- },
- {
- path: "/monitor/agc", // AGC 监视
- name: "Agc",
- component: () =>
- import( /* webpackChunkName: "agc" */ "../views/Agc/Agc.vue"),
- },
- {
- path: "/monitor/windsite",
- name: "WindSite",
- component: () =>
- import( /* webpackChunkName: "windsite" */ "../views/WindSite/WindSite.vue"),
- children: [{
- path: "home/:wpId", // 场站监视
- component: () =>
- import( /* webpackChunkName: "windsitehome" */ "../views/WindSite/pages/Home/Home.vue"),
- }, {
- path: "draughtfanlist/:wpId", // 风机列表
- component: () =>
- import( /* webpackChunkName: "windsitedraughtfanlist" */
- "../views/WindSite/pages/DraughtFanList.vue"),
- }, {
- path: "matrix/:wpId", // 风场矩阵
- component: () =>
- import( /* webpackChunkName: "windsitematrix" */ "../views/WindSite/pages/Matrix.vue"),
- }, {
- path: "lightmatrix/:wpId",
- component: () =>
- import( /* webpackChunkName: "windsitelightmatrix" */
- "../views/WindSite/pages/LightMatrix.vue"),
- }, {
- path: "box/:wpId",
- component: () =>
- import( /* webpackChunkName: "windsitebox" */ "../views/WindSite/pages/Box.vue"),
- }, {
- path: "info/:wpId/:wtId", // 单机状态监视
- component: () =>
- import( /* webpackChunkName: "info" */ "../views/WindSite/pages/Info/Info.vue"),
- }, {
- path: "tower/:wpId", // 测风塔
- component: () =>
- import( /* webpackChunkName: "windsitetower" */ "../views/WindSite/pages/Tower.vue"),
- }, {
- path: "inverter-info/:wpId/:wtId",
- component: () =>
- import( /* webpackChunkName: "inverter-info" */
- "../views/WindSite/pages/Inverter-Info.vue"),
- }, {
- path: "map/:wpId",
- component: () =>
- import( /* webpackChunkName: "windsitemap" */ "../views/WindSite/pages/Map.vue"),
- }, {
- path: "map1/:wpId",
- component: () =>
- import( /* webpackChunkName: "windsitemap1" */ "../views/WindSite/pages/Map1.vue"),
- },
- {
- path: "boosterstation/:wpId", // 升压站
- component: () =>
- import( /* webpackChunkName: "boosterstation" */
- "../views/WindSite/pages/BoosterStation.vue"),
- },
- {
- path: "generalappearance/:wpId", // 总样貌
- component: () =>
- import( /* webpackChunkName: "generalappearance" */
- "../views/WindSite/pages/GeneralAppearance.vue"),
- },
- ]
- },
- {
- path: "/monitor/lightmatrix", // 光伏明细矩阵
- name: "LightMatrix",
- component: () =>
- import( /* webpackChunkName: "lightmatrix" */ "../views/LightMatrix/LightMatrix.vue"),
- },
- {
- path: "/monitor/lightmatrix1", // 基础矩阵
- name: "LightMatrix1",
- component: () =>
- import( /* webpackChunkName: "lightmatrix1" */ "../views/LightMatrix1/LightMatrix1.vue"),
- },
- {
- path: "/monitor/lightmatrix2", // 欠发矩阵
- name: "LightMatrix2",
- component: () =>
- import( /* webpackChunkName: "lightmatrix2" */ "../views/LightMatrix2/LightMatrix2.vue"),
- }, {
- path: "/monitor/lightmatrix3", // 明细矩阵
- name: "LightMatrix3",
- component: () =>
- import( /* webpackChunkName: "lightmatrix3" */ "../views/LightMatrix3/LightMatrix3.vue"),
- }
- /***********************************************************驾驶舱************************************************************* */
- /***********************************************************经济运行************************************************************* */
- , {
- path: "/decision/pb",/***********************************************************驾驶舱************************************************************* */
- /***********************************************************经济运行************************************************************* */
- name: "pb",
- component: () => import( /* webpackChunkName: "powerbenchmarking" */ "../views/NewPages/power-benchmarking.vue"),
- }, {
- path: "/decision/decision1", //风机绩效榜
- name: "decision1",
- component: () =>
- import( /* webpackChunkName: "decision1" */ "../views/Decision/Decision1.vue"),
- },
- {
- path: "/decision/decision1Mx", //风机绩效榜明细
- name: "decision1Mx",
- component: () =>
- import( /* webpackChunkName: "decision1Mx" */ "../views/Decision/Decision1Mx.vue"),
- },
- {
- path: "/decision/decision2", //五项损失率
- name: "decision2",
- component: () =>
- import( /* webpackChunkName: "decision2" */ "../views/Decision/Decision2.vue"),
- },
- {
- path: "/decision/decision2Cndb", //场内对标
- name: "decision2Cndb",
- component: () =>
- import( /* webpackChunkName: "decision2Cndb" */ "../views/Decision/Decision2Cndb.vue"),
- },
- {
- path: "/decision/decision2Cjdb", //场际对标
- name: "decision2Cjdb",
- component: () =>
- import( /* webpackChunkName: "decision2Cjdb" */ "../views/Decision/Decision2Cjdb.vue"),
- },
- {
- path: "/decision/decision2Xmdb", //项目对标
- name: "decision2Xmdb",
- component: () =>
- import( /* webpackChunkName: "decision2Xmdb" */ "../views/Decision/Decision2Xmdb.vue"),
- },
- {
- path: "/decision/decision2Xldb", //线路对标
- name: "decision2Xldb",
- component: () =>
- import( /* webpackChunkName: "decision2Xldb" */ "../views/Decision/Decision2Xldb.vue"),
- },
- {
- path: "/decision/decision3", //性能对标
- name: "decision3",
- component: () =>
- import( /* webpackChunkName: "decision3" */ "../views/Decision/Decision3.vue"),
- },
- {
- path: "/decision/decision4", //值际对标
- name: "decision4",
- component: () =>
- import( /* webpackChunkName: "decision4" */ "../views/Decision/Decision4.vue"),
- },
- {
- path: "/decision/decision4czzl", //操作指令统计
- name: "decision4czzl",
- component: () =>
- import( /* webpackChunkName: "decision4czzl" */ "../views/Decision/Decision4Czzl.vue"),
- },
- {
- path: "/decision/decision3db", //单机横向对比
- name: "decision3db",
- component: () => import( /* webpackChunkName: "decision3db" */
- "../views/Decision/Decision3Db.vue"),
- }, // 三率管理/复位及时率
- {
- path: "/decision/fwjsl",
- name: "fwjsl",
- component: () =>
- import("../views/Decision/slgl/fwjsl.vue")
- },
- // 三率管理/状态转换率
- {
- path: "/decision/ztzhl",
- name: "ztzhl",
- component: () =>
- import("../views/Decision/slgl/ztzhl.vue")
- },
- // 三率管理/消缺及时率
- {
- path: "/decision/xqjsl",
- name: "xqjsl",
- component: () =>
- import("../views/Decision/slgl/xqjsl.vue")
- },
- {
- path: "/decision/powerRank", // 发电效率排行
- name: "powerRank",
- component: () =>
- import("../views/powerRank/index.vue"),
- },
- {
- path: "/decision/totalPowerRank", // 总发电效率排行
- name: "totalPowerRank",
- component: () =>
- import("../views/totalPowerRank/index.vue"),
- },
- {
- path: "/decision/warningRank", // 报警排行
- name: "warningRank",
- component: () =>
- import("../views/warningRank/index.vue"),
- },
- {
- path: "/decision/ztfx", // 专题分析
- name: "ztfx",
- component: () => import( /* webpackChunkName: "ztfx" */ "../views/specific/ztfx.vue"),
- },
- {
- path: "/decision/fnlyl", // 风能利用率
- name: "fnlyl",
- component: () => import( /* webpackChunkName: "ztfx" */ "../views/specific/fnlyl.vue"),
- },
- {
- path: "/decision/whssl", // 维护损失率
- name: "whssl",
- component: () => import( /* webpackChunkName: "ztfx" */ "../views/specific/whssl.vue"),
- },
- {
- path: "/decision/gzssl", // 故障损失率
- name: "gzssl",
- component: () => import( /* webpackChunkName: "ztfx" */ "../views/specific/gzssl.vue"),
- },
- {
- path: "/decision/xdssl", // 限电损失率
- name: "xdssl",
- component: () => import( /* webpackChunkName: "ztfx" */ "../views/specific/xdssl.vue"),
- },
- {
- path: "/decision/xnssl", // 性能损失率
- name: "xnssl",
- component: () => import( /* webpackChunkName: "ztfx" */ "../views/specific/xnssl.vue"),
- },
- {
- path: "/decision/slssl", // 受累损失率
- name: "slssl",
- component: () => import( /* webpackChunkName: "ztfx" */ "../views/specific/slssl.vue"),
- },
- {
- path: "/decision/mtbf", // mtbf
- name: "mtbf",
- component: () => import( /* webpackChunkName: "ztfx" */ "../views/specific/mtbf.vue"),
- },
- {
- path: "/decision/mttr", // mttr
- name: "mttr",
- component: () => import( /* webpackChunkName: "ztfx" */ "../views/specific/mttr.vue"),
- },
- {
- path: "/decision/zfwjsl", // 复位及时率
- name: "zfwjsl",
- component: () => import( /* webpackChunkName: "ztfx" */ "../views/specific/fwjsl.vue"),
- },
- {
- path: "/decision/zztzhl", // 状态转换率
- name: "zztzhl",
- component: () => import( /* webpackChunkName: "ztfx" */ "../views/specific/ztzhl.vue"),
- },
- {
- path: "/decision/zxqjsl", // 消缺及时率
- name: "zxqjsl",
- component: () => import( /* webpackChunkName: "ztfx" */ "../views/specific/xqjsl.vue"),
- },
- {
- path: "/decision/zfdl", // 发电量分析
- name: "zfdl",
- component: () => import( /* webpackChunkName: "ztfx" */ "../views/specific/fdl.vue"),
- },
- {
- path: "/decision/zzhcydl", // 综合场用电量
- name: "zzhcydl",
- component: () => import( /* webpackChunkName: "ztfx" */ "../views/specific/zhcydl.vue"),
- },
- {
- path: "/decision/performanceAnalysis", // 单机信息总览
- name: "performanceAnalysis",
- component: () => import("../views/performanceAnalysis/index.vue"),
- },
- {
- path: "/decision/performanceAnalysis/detail/:wpId/:wtId", // 单机信息总览详情
- name: "performanceAnalysisDetail",
- component: () => import( /* webpackChunkName: "performanceAnalysisDetail" */ "../views/NewPages/dj1.vue"),
- },
- {
- path: "/decision/znzhfx/:wtId/:year/:month",
- name: "znzhfx",
- component: () =>
- import( /* webpackChunkName: "ztfx" */ "../views/NewPages/znzhfx.vue"),
- },
- {
- path: "/decision/singleAnalysis", // 单机月度分析
- name: "singleAnalysis",
- component: () =>
- import("../views/singleAnalysis/index.vue"),
- },
- {
- path: "/decision/pf1",//电量分析 未绑定界面
- name: "pf1",
- component: () =>
- import( /* webpackChunkName: "pf1" */ "../views/NewPages/power-forecast-1.vue"),
- },
- {
- path: "/decision/fs",
- name: "fs",
- component: () =>
- import( /* webpackChunkName: "fs" */ "../views/NewPages/forecast-system.vue"),
- },
- {
- path: "/decision/nhycfsdl",
- name: "nhycfsdl",
- component: () =>
- import( /* webpackChunkName: "historysearch" */ "../views/report/nhycfsdl.vue"),
- },
- {
- path: "/decision/xzycfsdl",
- name: "xzycfsdl",
- component: () =>
- import( /* webpackChunkName: "historysearch" */ "../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/config",
- name: "assessconfig",
- component: () => import("../views/HealthControl/assess/assessconfig.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/frist",
- name: "health",
- component: () =>
- import("../views/HealthControl/Health.vue"),
- },
- {
- path: "/health/health1",
- name: "health1",
- component: () =>
- import("../views/HealthControl/Health1.vue"),
- },
- {
- path: "/health/health2", // 健康管理首页
- name: "health2",
- component: () =>
- import("../views/HealthControl/Health2.vue"),
- },
- {
- path: "/health/health3/:wpId", // 场站健康管理
- name: "health3",
- component: () =>
- import("../views/HealthControl/Health3.vue"),
- },
- {
- path: "/health/health4",
- name: "health4",
- children: [{
- path: "/health/health0/:wpId/:wtId",
- name: "health0",
- component: () =>
- import("../views/HealthControl/Health0.vue"),
- }, {
- path: "/health/health10/:wpId/:wtId",
- name: "health10",
- component: () =>
- import( /* webpackChunkName: "health8" */ "../views/HealthControl/Health10.vue"),
- }, {
- path: "healthLineChart/:wpId/:wtId", // 风机健康趋势
- component: () =>
- import( /* webpackChunkName: "healthLineChart" */
- "../views/HealthControl/healthLineChart.vue"),
- },
- {
- path: "healthLineChart2/:wpId/:wtId", // 健康趋势
- component: () =>
- import( /* webpackChunkName: "healthLineChart2" */
- "../views/HealthControl/healthLineChart2.vue"),
- }
- ],
- component: () =>
- import("../views/HealthControl/Health4.vue"),
- },
- {
- path: "/health/health5/",
- name: "health5",
- component: () =>
- import("../views/HealthControl/Health5.vue"),
- },
- {
- path: "/health/health6", // 健康总览
- name: "health6",
- component: () =>
- import("../views/HealthControl/Health6.vue"),
- },
- {
- path: "/health/health8",
- name: "health8",
- component: () =>
- import( /* webpackChunkName: "health8" */ "../views/HealthControl/Health8.vue"),
- },
- {
- path: "/health/allLifeManage", // 全生命周期管理
- name: "allLifeManage",
- component: () =>
- import("../views/allLifeManage/index.vue"),
- },
- {
- path: "/health/nxfx/powerCurve", // 功率曲线拟合
- name: "powerCurve",
- component: () => import( /* webpackChunkName: "powerCurve" */ "../views/powerCurve/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/nxfx/qxpclfx",
- name: "qxpclfx",
- component: () => import("../views/nxfx/qxpclfx.vue")
- },
- {
- path: "/health/nxfx/wtSaturability", // 单机饱和度
- name: "wtSaturability",
- component: () =>
- import("../views/wtSaturability/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: "historysearch" */ "../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/DBscan", //dbscan
- name:"DBscan",
- component:() => import("../views/MalfunctionWarning/DBscan.vue")
- },
- {
- path:"/health/MalfunctionWarning/mdjl", //密度聚类
- name:"mdjl",
- component:() => import("../views/MalfunctionWarning/mdjl.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', // 其他
- name: 'others',
- component: () =>
- import('../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: "historysearch" */ "../views/report/tjfx.vue"),
- },
- {
- path: "/others/bdzcx",
- name: "bdzcx",
- component: () =>
- import( /* webpackChunkName: "historysearch" */ "../views/report/bdzcx.vue"),
- },
- {
- path: "/others/oafd",
- name: "oafd",
- component: () =>
- import( /* webpackChunkName: "historysearch" */ "../views/report/oafd.vue"),
- },
- {
- path: "/others/oagf",
- name: "oagf",
- component: () =>
- import( /* webpackChunkName: "historysearch" */ "../views/report/oagf.vue"),
- },
- {
- path: "/others/missfdrb",
- name: "missfdrb",
- component: () =>
- import( /* webpackChunkName: "historysearch" */ "../views/report/missfdrb.vue"),
- },
- {
- path: "/others/missgfrb",
- name: "missgfrb",
- component: () =>
- import( /* webpackChunkName: "historysearch" */ "../views/report/missgfrb.vue"),
- },
- {
- path: "/others/xnyfdscyb",
- name: "xnyfdscyb",
- component: () =>
- import( /* webpackChunkName: "historysearch" */ "../views/report/xnyfdscyb.vue"),
- },
- {
- path: "/others/mhsscyb",
- name: "mhsscyb",
- component: () =>
- import( /* webpackChunkName: "historysearch" */ "../views/report/mhsscyb.vue"),
- },
- {
- path: "/others/nssscyb",
- name: "nssscyb",
- component: () =>
- import( /* webpackChunkName: "historysearch" */ "../views/report/nssscyb.vue"),
- },
- {
- path: "/others/qsscyb",
- name: "qsscyb",
- component: () =>
- import( /* webpackChunkName: "historysearch" */ "../views/report/qsscyb.vue"),
- },
- {
- path: "/others/sbqscyb",
- name: "sbqscyb",
- component: () =>
- import( /* webpackChunkName: "historysearch" */ "../views/report/sbqscyb.vue"),
- },
- {
- path: "/others/xsscyb",
- name: "xsscyb",
- component: () =>
- import( /* webpackChunkName: "historysearch" */ "../views/report/xsscyb.vue"),
- },
- {
- path: "/others/xnygfscyb",
- name: "xnygfscyb",
- component: () =>
- import( /* webpackChunkName: "historysearch" */ "../views/report/xnygfscyb.vue"),
- },
- {
- path: "/others/dwkscyb",
- name: "dwkscyb",
- component: () =>
- import( /* webpackChunkName: "historysearch" */ "../views/report/dwkscyb.vue"),
- },
- {
- path: "/others/plscyb",
- name: "plscyb",
- component: () =>
- import( /* webpackChunkName: "historysearch" */ "../views/report/plscyb.vue"),
- },
- {
- path: "/others/xhscyb",
- name: "xhscyb",
- component: () =>
- import( /* webpackChunkName: "historysearch" */ "../views/report/xhscyb.vue"),
- },
- {
- path: "/others/fdczzdy",
- name: "fdczzdy",
- component: () =>
- import( /* webpackChunkName: "historysearch" */ "../views/report/fdczzdy.vue"),
- },
- {
- path: "/others/fdxmzdy",
- name: "fdxmzdy",
- component: () =>
- import( /* webpackChunkName: "historysearch" */ "../views/report/fdxmzdy.vue"),
- },
- {
- path: "/others/gfczzdy",
- name: "gfczzdy",
- component: () =>
- import( /* webpackChunkName: "historysearch" */ "../views/report/gfczzdy.vue"),
- },
- {
- path: "/others/gfxmzdy",
- name: "gfxmzdy",
- component: () =>
- import( /* webpackChunkName: "historysearch" */ "../views/report/gfxmzdy.vue"),
- },
- {
- path: "/others/xnyrb",
- name: "xnyrb",
- component: () =>
- import( /* webpackChunkName: "historysearch" */ "../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/boosterAlarm",
- name: "boosterAlarm",
- component: () => import("../views/alarmCenter/boosterAlarm.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/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: "/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: "/zhfx/",
- routes
- });
- router.beforeEach((to, from, next) => {
- next();
- });
- // router.beforeEach((to, from, next) => {
- // if (to.path === '/login') {
- // next()
- // } else {
- // let authToken = localStorage.getItem('authToken')
- // console.log('authToken:', authToken)
- // if (authToken === null || authToken === "") {
- // next({ path: '/login' })
- // } else {
- // next()
- // }
- // }
- // })
- export default router;
|