123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849 |
- import {
- createRouter,
- createWebHashHistory
- } from "vue-router"
- import Home from "../views/Home/Home.vue"
- const routes = [{
- path: "/",
- redirect: "/monitor/home"
- },
- {
- path: "/monitor/home",
- name: "Home",
- component: Home,
- },
- {
- path: "/monitor/about",
- name: "About",
- component: () =>
- import( "../views/About.vue"),
- },
- {
- path: "/monitor/demo",
- name: "Demo",
- component: () =>
- import( "../views/Demo.vue"),
- },
- {
- path: "/monitor/status",
- name: "Status",
- component: () =>
- import( "../views/Status/Status.vue"),
- },
- {
- path: "/monitor/agc",
- name: "Agc",
- component: () =>
- import( "../views/Agc/Agc.vue"),
- },
- {
- path: "/monitor/windsite",
- name: "WindSite",
- component: () =>
- import( "../views/WindSite/WindSite.vue"),
- children: [{
- path: "home/:wpId",
- component: () =>
- import( "../views/WindSite/pages/Home/Home.vue"),
- }, {
- path: "draughtfanlist/:wpId",
- component: () =>
- import(
- "../views/WindSite/pages/DraughtFanList.vue"),
- }, {
- path: "matrix/:wpId",
- component: () =>
- import( "../views/WindSite/pages/Matrix.vue"),
- }, {
- path: "lightmatrix/:wpId",
- component: () =>
- import(
- "../views/WindSite/pages/LightMatrix.vue"),
- }, {
- path: "box/:wpId",
- component: () =>
- import( "../views/WindSite/pages/Box.vue"),
- }, {
- path: "info/:wpId/:wtId",
- component: () =>
- import( "../views/WindSite/pages/Info/Info.vue"),
- }, {
- path: "tower/:wpId",
- component: () =>
- import( "../views/WindSite/pages/Tower.vue"),
- }, {
- path: "inverter-info/:wpId/:wtId",
- component: () =>
- import(
- "../views/WindSite/pages/Inverter-Info.vue"),
- }, {
- path: "map/:wpId",
- component: () =>
- import( "../views/WindSite/pages/Map.vue"),
- }, {
- path: "map1/:wpId",
- component: () =>
- import( "../views/WindSite/pages/Map1.vue"),
- },
- {
- path: "boosterstation/:wpId",
- component: () =>
- import(
- "../views/WindSite/pages/BoosterStation.vue"),
- },
- {
- path: "generalappearance/:wpId",
- component: () =>
- import(
- "../views/WindSite/pages/GeneralAppearance.vue"),
- },
- ]
- },
- {
- path: "/monitor/lightmatrix",
- name: "LightMatrix",
- component: () =>
- import( "../views/LightMatrix/LightMatrix.vue"),
- },
- {
- path: "/monitor/lightmatrix1",
- name: "LightMatrix1",
- component: () =>
- import( "../views/LightMatrix1/LightMatrix1.vue"),
- },
- {
- path: "/monitor/lightmatrix2",
- name: "LightMatrix2",
- component: () =>
- import( "../views/LightMatrix2/LightMatrix2.vue"),
- }, {
- path: "/monitor/lightmatrix3",
- name: "LightMatrix3",
- component: () =>
- import( "../views/LightMatrix3/LightMatrix3.vue"),
- }
-
-
- , {
- path: "/decision/pb",
-
- name: "pb",
- component: () => import( "../views/NewPages/power-benchmarking.vue"),
- }, {
- path: "/decision/decision1",
- name: "decision1",
- component: () =>
- import( "../views/Decision/Decision1.vue"),
- },
- {
- path: "/decision/decision1Mx",
- name: "decision1Mx",
- component: () =>
- import( "../views/Decision/Decision1Mx.vue"),
- },
- {
- path: "/decision/decision2",
- name: "decision2",
- component: () =>
- import( "../views/Decision/Decision2.vue"),
- },
- {
- path: "/decision/decision2Cndb",
- name: "decision2Cndb",
- component: () =>
- import( "../views/Decision/Decision2Cndb.vue"),
- },
- {
- path: "/decision/decision2Cjdb",
- name: "decision2Cjdb",
- component: () =>
- import( "../views/Decision/Decision2Cjdb.vue"),
- },
- {
- path: "/decision/decision2Xmdb",
- name: "decision2Xmdb",
- component: () =>
- import( "../views/Decision/Decision2Xmdb.vue"),
- },
- {
- path: "/decision/decision2Xldb",
- name: "decision2Xldb",
- component: () =>
- import( "../views/Decision/Decision2Xldb.vue"),
- },
- {
- path: "/decision/decision3",
- name: "decision3",
- component: () =>
- import( "../views/Decision/Decision3.vue"),
- },
- {
- path: "/decision/decision4",
- name: "decision4",
- component: () =>
- import( "../views/Decision/Decision4.vue"),
- },
- {
- path: "/decision/decision4czzl",
- name: "decision4czzl",
- component: () =>
- import( "../views/Decision/Decision4Czzl.vue"),
- },
- {
- path: "/decision/decision3db",
- name: "decision3db",
- component: () => import(
- "../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( "../views/specific/ztfx.vue"),
- },
- {
- path: "/decision/fnlyl",
- name: "fnlyl",
- component: () => import( "../views/specific/fnlyl.vue"),
- },
- {
- path: "/decision/whssl",
- name: "whssl",
- component: () => import( "../views/specific/whssl.vue"),
- },
- {
- path: "/decision/gzssl",
- name: "gzssl",
- component: () => import( "../views/specific/gzssl.vue"),
- },
- {
- path: "/decision/xdssl",
- name: "xdssl",
- component: () => import( "../views/specific/xdssl.vue"),
- },
- {
- path: "/decision/xnssl",
- name: "xnssl",
- component: () => import( "../views/specific/xnssl.vue"),
- },
- {
- path: "/decision/slssl",
- name: "slssl",
- component: () => import( "../views/specific/slssl.vue"),
- },
- {
- path: "/decision/mtbf",
- name: "mtbf",
- component: () => import( "../views/specific/mtbf.vue"),
- },
- {
- path: "/decision/mttr",
- name: "mttr",
- component: () => import( "../views/specific/mttr.vue"),
- },
- {
- path: "/decision/zfwjsl",
- name: "zfwjsl",
- component: () => import( "../views/specific/fwjsl.vue"),
- },
- {
- path: "/decision/zztzhl",
- name: "zztzhl",
- component: () => import( "../views/specific/ztzhl.vue"),
- },
- {
- path: "/decision/zxqjsl",
- name: "zxqjsl",
- component: () => import( "../views/specific/xqjsl.vue"),
- },
- {
- path: "/decision/zfdl",
- name: "zfdl",
- component: () => import( "../views/specific/fdl.vue"),
- },
- {
- path: "/decision/zzhcydl",
- name: "zzhcydl",
- component: () => import( "../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( "../views/NewPages/dj1.vue"),
- },
- {
- path: "/decision/znzhfx/:wtId/:year/:month",
- name: "znzhfx",
- component: () =>
- import( "../views/NewPages/znzhfx.vue"),
- },
- {
- path: "/decision/singleAnalysis",
- name: "singleAnalysis",
- component: () =>
- import("../views/singleAnalysis/index.vue"),
- },
- {
- path: "/decision/pf1",
- name: "pf1",
- component: () =>
- import( "../views/NewPages/power-forecast-1.vue"),
- },
- {
- path: "/decision/fs",
- name: "fs",
- component: () =>
- import( "../views/NewPages/forecast-system.vue"),
- },
- {
- path: "/decision/nhycfsdl",
- name: "nhycfsdl",
- component: () =>
- import( "../views/report/nhycfsdl.vue"),
- },
- {
- path: "/decision/xzycfsdl",
- name: "xzycfsdl",
- component: () =>
- import( "../views/report/xzycfsdl.vue"),
- }
-
-
- ,
- {
- path: "/health/sandtable",
- name: "sandtable",
- component: () =>
- import( "../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( "../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( "../views/HealthControl/Health10.vue"),
- }, {
- path: "healthLineChart/:wpId/:wtId",
- component: () =>
- import(
- "../views/HealthControl/healthLineChart.vue"),
- },
- {
- path: "healthLineChart2/:wpId/:wtId",
- component: () =>
- import(
- "../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( "../views/HealthControl/Health8.vue"),
- },
- {
- path: "/health/allLifeManage",
- name: "allLifeManage",
- component: () =>
- import("../views/allLifeManage/index.vue"),
- },
- {
- path: "/health/nxfx/powerCurve",
- name: "powerCurve",
- component: () => import( "../views/powerCurve/index.vue"),
- },
- {
- path: "/health/nxfx/phdffx",
- name: "phdffx",
- component: () => import( "../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( "../views/NewPages/alarm-center-1.vue"),
- },
- {
- path: "/health/kkxfx/alarmcenter2",
- name: "alarmcenter2",
- component: () =>
- import( "../views/NewPages/alarm-center-2.vue"),
- },
- {
- path: "/health/kkxfx/warnStatistics",
- name: "warnStatistics",
- component: () =>
- import( "../views/warnStatistics/index.vue"),
- },
- {
- path: "/health/kkxfx/malfunctionStatistics",
- name: "malfunctionStatistics",
- component: () =>
- import( "../views/malfunctionStatistics/index.vue"),
- }, {
- path: "/health/kkxfx/bjgltjb",
- name: "bjgltjb",
- component: () =>
- import( "../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: "/save",
- name: "save",
- component: () =>
- import( "../views/NewPages/iframe4.vue"),
- },
- {
- path: "/save/personnel",
- name: "personnel",
- component: () =>
- import( "../views/NewPages/personnel.vue"),
- },
- {
- path: "/globalMonitor",
- name: "globalMonitor",
- component: () =>
- import( "../views/Others/index.vue"),
- }
-
- , {
- path: '/others',
- name: 'others',
- component: () =>
- import('../views/Others/index.vue'),
- },
- {
- path: "/others/reportPandect",
- name: "reportPandect",
- component: () =>
- import( "../views/reportPandect/index.vue"),
- }, {
- path: "/others/tjfx",
- name: "tjfx",
- component: () =>
- import( "../views/report/tjfx.vue"),
- },
- {
- path: "/others/bdzcx",
- name: "bdzcx",
- component: () =>
- import( "../views/report/bdzcx.vue"),
- },
- {
- path: "/others/oafd",
- name: "oafd",
- component: () =>
- import( "../views/report/oafd.vue"),
- },
- {
- path: "/others/oagf",
- name: "oagf",
- component: () =>
- import( "../views/report/oagf.vue"),
- },
- {
- path: "/others/missfdrb",
- name: "missfdrb",
- component: () =>
- import( "../views/report/missfdrb.vue"),
- },
- {
- path: "/others/missgfrb",
- name: "missgfrb",
- component: () =>
- import( "../views/report/missgfrb.vue"),
- },
- {
- path: "/others/xnyfdscyb",
- name: "xnyfdscyb",
- component: () =>
- import( "../views/report/xnyfdscyb.vue"),
- },
- {
- path: "/others/mhsscyb",
- name: "mhsscyb",
- component: () =>
- import( "../views/report/mhsscyb.vue"),
- },
- {
- path: "/others/nssscyb",
- name: "nssscyb",
- component: () =>
- import( "../views/report/nssscyb.vue"),
- },
- {
- path: "/others/qsscyb",
- name: "qsscyb",
- component: () =>
- import( "../views/report/qsscyb.vue"),
- },
- {
- path: "/others/sbqscyb",
- name: "sbqscyb",
- component: () =>
- import( "../views/report/sbqscyb.vue"),
- },
- {
- path: "/others/xsscyb",
- name: "xsscyb",
- component: () =>
- import( "../views/report/xsscyb.vue"),
- },
- {
- path: "/others/xnygfscyb",
- name: "xnygfscyb",
- component: () =>
- import( "../views/report/xnygfscyb.vue"),
- },
- {
- path: "/others/dwkscyb",
- name: "dwkscyb",
- component: () =>
- import( "../views/report/dwkscyb.vue"),
- },
- {
- path: "/others/plscyb",
- name: "plscyb",
- component: () =>
- import( "../views/report/plscyb.vue"),
- },
- {
- path: "/others/xhscyb",
- name: "xhscyb",
- component: () =>
- import( "../views/report/xhscyb.vue"),
- },
- {
- path: "/others/fdczzdy",
- name: "fdczzdy",
- component: () =>
- import( "../views/report/fdczzdy.vue"),
- },
- {
- path: "/others/fdxmzdy",
- name: "fdxmzdy",
- component: () =>
- import( "../views/report/fdxmzdy.vue"),
- },
- {
- path: "/others/gfczzdy",
- name: "gfczzdy",
- component: () =>
- import( "../views/report/gfczzdy.vue"),
- },
- {
- path: "/others/gfxmzdy",
- name: "gfxmzdy",
- component: () =>
- import( "../views/report/gfxmzdy.vue"),
- },
- {
- path: "/others/xnyrb",
- name: "xnyrb",
- component: () =>
- import( "../views/report/xnyrb.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( "../views/NewPages/history-search.vue"),
- },
- {
- path: '/others/historySearch',
- name: 'historySearch',
- component: () =>
- import('../views/historySearch/index.vue'),
- },
- {
- path: '/others/alarmCenter/alarmcenter',
- name: 'alarmcenter',
- component: () =>
- import( '../views/NewPages/alarm-center.vue'),
- },
- {
- path: "/others/alarmCenter/tjsj",
- name: "tjsj",
- component: () =>
- import( "../views/warn/tjsj.vue"),
- },
- {
- path: "/others/alarmCenter/xdgl",
- name: "xdgl",
- component: () =>
- import( "../views/warn/xdgl.vue"),
- },
- {
- path: "/others/alarmCenter/boosterAlarm",
- name: "boosterAlarm",
- component: () => import("../views/alarmCenter/boosterAlarm.vue")
- },
- {
- 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( "../views/planPower/index.vue"),
- },
- {
- path: '/new/intelligentalarmcenter',
- name: 'intelligentalarmcenter',
- component: () =>
- import(
- '../views/NewPages/intelligent-alarm-center.vue'),
- },
- {
- path: '/new/knowledgebase',
- name: 'knowledgebase',
- component: () =>
- import( '../views/NewPages/knowledge-base.vue'),
- },
- {
- path: "/new/dj",
- name: "dj",
- component: () =>
- import( "../views/NewPages/dj.vue"),
- },
- {
- path: "/new/dj2",
- name: "dj2",
- component: () =>
- import( "../views/NewPages/dj2.vue"),
- },
- {
- path: "/new/dialog",
- name: "dialog",
- component: () =>
- import( "../views/NewPages/dialogs.vue"),
- },
- {
- path: "/new/powerforecast2",
- name: "powerforecast2",
- component: () => import( "../views/NewPages/power-forecast-2.vue"),
- },
- ]
- const router = createRouter({
- history: createWebHashHistory(),
- base: "/zhfx/",
- routes
- });
- router.beforeEach((to, from, next) => {
- next();
- });
- export default router;
|