123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779 |
- 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: '/decision/decision3db',
- name: 'decision3db',
- component: () => import(
- '../views/Decision/Decision3Db.vue'),
- },
- {
- path: '/windAnalysis/fx',
- name: 'fxzstmain',
- component: () => import('../views/windAnalysis/fxzstmain.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/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: '/health',
- 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: '/cutAnalyse',
- name: 'cutAnalyse',
- component: () =>
- import('../views/cutAnalyse/index.vue'),
- },
- {
- path: '/cutAnalyse',
- name: 'cutAnalyse',
- component: () =>
- import('../views/cutAnalyse/index.vue'),
- },
- {
- path: '/wtSaturability',
- name: 'wtSaturability',
- component: () =>
- import('../views/wtSaturability/index.vue'),
- },
- {
- path: '/windAnalysis',
- name: 'windAnalysis',
- component: () =>
- import('../views/windAnalysis/index.vue'),
- },
- {
- path: '/powerRank',
- name: 'powerRank',
- component: () =>
- import('../views/powerRank/index.vue'),
- },
- {
- path: '/totalPowerRank',
- name: 'totalPowerRank',
- component: () =>
- import('../views/totalPowerRank/index.vue'),
- },
- {
- path: '/warningRank',
- name: 'warningRank',
- component: () =>
- import('../views/warningRank/index.vue'),
- },
- {
- path: '/realSearch',
- name: 'realSearch',
- component: () =>
- import('../views/realSearch/index.vue'),
- },
- {
- path: '/singleAnalysis',
- name: 'singleAnalysis',
- component: () =>
- import('../views/singleAnalysis/index.vue'),
- },
- {
- path: '/performanceAnalysis',
- name: 'performanceAnalysis',
- component: () => import('../views/performanceAnalysis/index.vue'),
- },
- {
- path: "/performanceAnalysis/detail/:wpId/:wtId",
- name: "performanceAnalysisDetail",
- component: () => import( "../views/NewPages/dj1.vue"),
- },
- {
- path: '/historySearch',
- name: 'historySearch',
- component: () =>
- import('../views/historySearch/index.vue'),
- },
- {
- path: '/knowledge',
- name: 'knowledge1',
- component: () =>
- import('../views/Knowledge/Knowledge1.vue'),
- },
- {
- path: '/knowledge2',
- name: 'knowledge2',
- component: () =>
- import('../views/Knowledge/Knowledge2.vue'),
- },
- {
- path: '/knowledge3',
- name: 'knowledge3',
- component: () =>
- import('../views/Knowledge/Knowledge3.vue'),
- },
- {
- path: '/knowledge4',
- name: 'knowledge4',
- component: () =>
- import('../views/Knowledge/Knowledge4.vue'),
- },
- {
- path: '/knowledge5',
- name: 'knowledge5',
- component: () =>
- import('../views/Knowledge/Knowledge5.vue'),
- },
- {
- path: '/knowledge6',
- name: 'knowledge6',
- component: () =>
- import('../views/Knowledge/Knowledge6.vue'),
- },
- {
- path: '/knowledge7',
- name: 'knowledge7',
- component: () =>
- import('../views/Knowledge/Knowledge7.vue'),
- },
- {
- path: '/allLifeManage',
- name: 'allLifeManage',
- component: () =>
- import('../views/allLifeManage/index.vue'),
- },
- {
- path: "/health/health8",
- name: "health8",
- component: () =>
- import( "../views/HealthControl/Health8.vue"),
- },
- {
- path: "/monitor/sandtable",
- name: "sandtable",
- component: () =>
- import( "../views/SandTable/SandTable.vue"),
- },
- {
- path: "/planPower",
- name: "planPower",
- component: () =>
- import( "../views/planPower/index.vue"),
- },
- {
- path: "/new/pf1",
- name: "pf1",
- component: () =>
- import( "../views/NewPages/power-forecast-1.vue"),
- },
- {
- path: "/new/fs",
- name: "fs",
- component: () =>
- import( "../views/NewPages/forecast-system.vue"),
- },
- {
- path: '/new/ztfx',
- name: 'ztfx',
- component: () => import( '../views/specific/ztfx.vue'),
- },
- {
- path: '/new/fnlyl',
- name: 'fnlyl',
- component: () => import( '../views/specific/fnlyl.vue'),
- },
- {
- path: '/new/whssl',
- name: 'whssl',
- component: () => import( '../views/specific/whssl.vue'),
- },
- {
- path: '/new/gzssl',
- name: 'gzssl',
- component: () => import( '../views/specific/gzssl.vue'),
- },
- {
- path: '/new/xdssl',
- name: 'xdssl',
- component: () => import( '../views/specific/xdssl.vue'),
- },
- {
- path: '/new/xnssl',
- name: 'xnssl',
- component: () => import( '../views/specific/xnssl.vue'),
- },
- {
- path: '/new/slssl',
- name: 'slssl',
- component: () => import( '../views/specific/slssl.vue'),
- },
- {
- path: '/new/mtbf',
- name: 'mtbf',
- component: () => import( '../views/specific/mtbf.vue'),
- },
- {
- path: '/new/mttr',
- name: 'mttr',
- component: () => import( '../views/specific/mttr.vue'),
- },
- {
- path: '/new/zfwjsl',
- name: 'zfwjsl',
- component: () => import( '../views/specific/fwjsl.vue'),
- },
- {
- path: '/new/zztzhl',
- name: 'zztzhl',
- component: () => import( '../views/specific/ztzhl.vue'),
- },
- {
- path: '/new/zxqjsl',
- name: 'zxqjsl',
- component: () => import( '../views/specific/xqjsl.vue'),
- },
- {
- path: '/new/zfdl',
- name: 'zfdl',
- component: () => import( '../views/specific/fdl.vue'),
- },
- {
- path: '/new/zzhcydl',
- name: 'zzhcydl',
- component: () => import( '../views/specific/zhcydl.vue'),
- },
- {
- path: '/new/intelligentalarmcenter',
- name: 'intelligentalarmcenter',
- component: () =>
- import(
- '../views/NewPages/intelligent-alarm-center.vue'),
- },
- {
- path: '/new/personnel',
- name: 'personnel',
- component: () =>
- import( '../views/NewPages/personnel.vue'),
- },
- {
- path: '/new/znzhfx/:wtId/:year/:month',
- name: 'znzhfx',
- component: () =>
- import( '../views/NewPages/znzhfx.vue'),
- },
- {
- path: '/new/alarmcenter',
- name: 'alarmcenter',
- component: () =>
- import( '../views/NewPages/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: '/fwjsl',
- name: 'fwjsl',
- component: () =>
- import('../views/Decision/slgl/fwjsl.vue')
- },
- {
- path: '/ztzhl',
- name: 'ztzhl',
- component: () =>
- import('../views/Decision/slgl/ztzhl.vue')
- },
- {
- path: '/xqjsl',
- name: 'xqjsl',
- component: () =>
- import('../views/Decision/slgl/xqjsl.vue')
- },
- {
- path: '/qxpclfx',
- name: 'qxpclfx',
- component: () => import('../views/nxfx/qxpclfx.vue')
- },
- {
- path: '/assess/index',
- name: 'assessindex',
- component: () => import('../views/HealthControl/assess/assessindex.vue')
- },
- {
- path: '/assess/config',
- name: 'assessconfig',
- component: () => import('../views/HealthControl/assess/assessconfig.vue')
- },
- {
- path: "/new/powerforecast2",
- name: "powerforecast2",
- component: () => import( "../views/NewPages/power-forecast-2.vue"),
- },
- {
- path: "/new/alarmcenter1",
- name: "alarmcenter1",
- component: () => import( "../views/NewPages/alarm-center-1.vue"),
- },
- {
- path: "/new/tjsj",
- name: "tjsj",
- component: () =>
- import( "../views/warn/tjsj.vue"),
- },
- {
- path: "/new/xdgl",
- name: "xdgl",
- component: () =>
- import( "../views/warn/xdgl.vue"),
- },
- {
- path: "/new/alarmcenter2",
- name: "alarmcenter2",
- component: () =>
- import( "../views/NewPages/alarm-center-2.vue"),
- },
- {
- path: "/new/historysearch",
- name: "historysearch",
- component: () => import( "../views/NewPages/history-search.vue"),
- },
- {
- path: "/alarmCenter/boosterAlarm",
- name: "boosterAlarm",
- component: () => import("../views/alarmCenter/boosterAlarm.vue")
- },
- {
- path: "/alarmCenter/scadaAlarm",
- name: "scadaAlarm",
- component: () => import("../views/alarmCenter/scadaAlarm.vue")
- },
- {
- path: "/alarmCenter/customAlarm",
- name: "customAlarm",
- component: () => import("../views/alarmCenter/customAlarm.vue")
- },
- {
- path: "/alarmCenter/customStatistics",
- name: "customStatistics",
- component: () => import("../views/alarmCenter/customStatistics.vue")
- },
- {
- path: "/new/pb",
- name: "pb",
- component: () => import( "../views/NewPages/power-benchmarking.vue"),
- },
- {
- path: "/powerCurve",
- name: "powerCurve",
- component: () => import( "../views/powerCurve/index.vue"),
- },{
- path: "/tjfx",
- name: "tjfx",
- component: () =>
- import ( "../views/report/tjfx.vue"),
- },
- {
- path: "/bdzcx",
- name: "bdzcx",
- component: () =>
- import ( "../views/report/bdzcx.vue"),
- },
- {
- path: "/oafd",
- name: "oafd",
- component: () =>
- import ( "../views/report/oafd.vue"),
- },
- {
- path: "/oagf",
- name: "oagf",
- component: () =>
- import ( "../views/report/oagf.vue"),
- },
- {
- path: "/missfdrb",
- name: "missfdrb",
- component: () =>
- import ( "../views/report/missfdrb.vue"),
- },
- {
- path: "/missgfrb",
- name: "missgfrb",
- component: () =>
- import ( "../views/report/missgfrb.vue"),
- },
- {
- path: "/xnyfdscyb",
- name: "xnyfdscyb",
- component: () =>
- import ( "../views/report/xnyfdscyb.vue"),
- },
- {
- path: "/mhsscyb",
- name: "mhsscyb",
- component: () =>
- import ( "../views/report/mhsscyb.vue"),
- },
- {
- path: "/nssscyb",
- name: "nssscyb",
- component: () =>
- import ( "../views/report/nssscyb.vue"),
- },
- {
- path: "/qsscyb",
- name: "qsscyb",
- component: () =>
- import ( "../views/report/qsscyb.vue"),
- },
- {
- path: "/sbqscyb",
- name: "sbqscyb",
- component: () =>
- import ( "../views/report/sbqscyb.vue"),
- },
- {
- path: "/xsscyb",
- name: "xsscyb",
- component: () =>
- import ( "../views/report/xsscyb.vue"),
- },
- {
- path: "/xnygfscyb",
- name: "xnygfscyb",
- component: () =>
- import ( "../views/report/xnygfscyb.vue"),
- },
- {
- path: "/dwkscyb",
- name: "dwkscyb",
- component: () =>
- import ( "../views/report/dwkscyb.vue"),
- },
- {
- path: "/plscyb",
- name: "plscyb",
- component: () =>
- import ( "../views/report/plscyb.vue"),
- },
- {
- path: "/xhscyb",
- name: "xhscyb",
- component: () =>
- import ( "../views/report/xhscyb.vue"),
- },
- {
- path: "/fdczzdy",
- name: "fdczzdy",
- component: () =>
- import ( "../views/report/fdczzdy.vue"),
- },
- {
- path: "/fdxmzdy",
- name: "fdxmzdy",
- component: () =>
- import ( "../views/report/fdxmzdy.vue"),
- },
- {
- path: "/gfczzdy",
- name: "gfczzdy",
- component: () =>
- import ( "../views/report/gfczzdy.vue"),
- },
- {
- path: "/gfxmzdy",
- name: "gfxmzdy",
- component: () =>
- import ( "../views/report/gfxmzdy.vue"),
- },
- {
- path: "/xnyrb",
- name: "xnyrb",
- component: () =>
- import ( "../views/report/xnyrb.vue"),
- },
- {
- path: "/warnStatistics",
- name: "warnStatistics",
- component: () =>
- import ( "../views/warnStatistics/index.vue"),
- },
- {
- path: "/malfunctionStatistics",
- name: "malfunctionStatistics",
- component: () =>
- import ( "../views/malfunctionStatistics/index.vue"),
- },
- ]
- const router = createRouter({
- history: createWebHashHistory(),
- base: '/zhfx/',
- routes
- })
- router.beforeEach((to, from, next) => {
- next()
- })
- export default router
|