index.js 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812
  1. import {
  2. createRouter,
  3. createWebHashHistory
  4. } from 'vue-router'
  5. import Home from '../views/Home/Home.vue'
  6. const routes = [{
  7. path: '/',
  8. redirect: '/monitor/home'
  9. },
  10. {
  11. path: '/monitor/home', // 驾驶舱
  12. name: 'Home',
  13. component: Home,
  14. },
  15. {
  16. path: '/monitor/about',
  17. name: 'About',
  18. component: () =>
  19. import( /* webpackChunkName: "about" */ '../views/About.vue'),
  20. },
  21. {
  22. path: '/monitor/demo',
  23. name: 'Demo',
  24. component: () =>
  25. import( /* webpackChunkName: "Demo" */ '../views/Demo.vue'),
  26. },
  27. {
  28. path: '/monitor/status', // 状态监视
  29. name: 'Status',
  30. component: () =>
  31. import( /* webpackChunkName: "status" */ '../views/Status/Status.vue'),
  32. },
  33. {
  34. path: '/monitor/agc', // AGC 监视
  35. name: 'Agc',
  36. component: () =>
  37. import( /* webpackChunkName: "agc" */ '../views/Agc/Agc.vue'),
  38. },
  39. {
  40. path: '/monitor/windsite',
  41. name: 'WindSite',
  42. component: () =>
  43. import( /* webpackChunkName: "windsite" */ '../views/WindSite/WindSite.vue'),
  44. children: [{
  45. path: 'home/:wpId', // 场站监视
  46. component: () =>
  47. import( /* webpackChunkName: "windsitehome" */ '../views/WindSite/pages/Home/Home.vue'),
  48. }, {
  49. path: 'draughtfanlist/:wpId', // 风机列表
  50. component: () =>
  51. import( /* webpackChunkName: "windsitedraughtfanlist" */
  52. '../views/WindSite/pages/DraughtFanList.vue'),
  53. }, {
  54. path: 'matrix/:wpId', // 风场矩阵
  55. component: () =>
  56. import( /* webpackChunkName: "windsitematrix" */ '../views/WindSite/pages/Matrix.vue'),
  57. }, {
  58. path: 'lightmatrix/:wpId',
  59. component: () =>
  60. import( /* webpackChunkName: "windsitelightmatrix" */
  61. '../views/WindSite/pages/LightMatrix.vue'),
  62. }, {
  63. path: 'box/:wpId',
  64. component: () =>
  65. import( /* webpackChunkName: "windsitebox" */ '../views/WindSite/pages/Box.vue'),
  66. }, {
  67. path: 'info/:wpId/:wtId', // 单机状态监视
  68. component: () =>
  69. import( /* webpackChunkName: "info" */ '../views/WindSite/pages/Info/Info.vue'),
  70. }, {
  71. path: 'tower/:wpId', // 测风塔
  72. component: () =>
  73. import( /* webpackChunkName: "windsitetower" */ '../views/WindSite/pages/Tower.vue'),
  74. }, {
  75. path: 'inverter-info/:wpId/:wtId',
  76. component: () =>
  77. import( /* webpackChunkName: "inverter-info" */
  78. '../views/WindSite/pages/Inverter-Info.vue'),
  79. }, {
  80. path: 'map/:wpId',
  81. component: () =>
  82. import( /* webpackChunkName: "windsitemap" */ '../views/WindSite/pages/Map.vue'),
  83. }, {
  84. path: 'map1/:wpId',
  85. component: () =>
  86. import( /* webpackChunkName: "windsitemap1" */ '../views/WindSite/pages/Map1.vue'),
  87. },
  88. {
  89. path: '/decision3db', //单机横向对比
  90. component: () => import( /* webpackChunkName: "decision3db" */
  91. '../views/Decision/Decision3Db.vue'),
  92. },
  93. {
  94. path: '/windAnalysis/fx', // 风向
  95. name: 'fxzstmain',
  96. component: () => import('../views/windAnalysis/fxzstmain.vue'),
  97. },
  98. {
  99. path: 'boosterstation/:wpId', // 升压站
  100. component: () =>
  101. import( /* webpackChunkName: "boosterstation" */
  102. '../views/WindSite/pages/BoosterStation.vue'),
  103. },
  104. {
  105. path: "generalappearance/:wpId", // 总样貌
  106. component: () =>
  107. import( /* webpackChunkName: "generalappearance" */
  108. "../views/WindSite/pages/GeneralAppearance.vue"),
  109. },
  110. ]
  111. },
  112. {
  113. path: '/decision3db', //单机横向对比
  114. name: 'decision3db',
  115. component: () => import( /* webpackChunkName: "decision3db" */
  116. '../views/Decision/Decision3Db.vue'),
  117. },
  118. {
  119. path: '/windAnalysis/fx', // 风向
  120. name: 'fxzstmain',
  121. component: () => import('../views/windAnalysis/fxzstmain.vue'),
  122. },
  123. {
  124. path: '/monitor/lightmatrix', // 光伏明细矩阵
  125. name: 'LightMatrix',
  126. component: () =>
  127. import( /* webpackChunkName: "lightmatrix" */ '../views/LightMatrix/LightMatrix.vue'),
  128. },
  129. {
  130. path: '/monitor/lightmatrix1', // 基础矩阵
  131. name: 'LightMatrix1',
  132. component: () =>
  133. import( /* webpackChunkName: "lightmatrix1" */ '../views/LightMatrix1/LightMatrix1.vue'),
  134. },
  135. {
  136. path: '/monitor/lightmatrix2', // 欠发矩阵
  137. name: 'LightMatrix2',
  138. component: () =>
  139. import( /* webpackChunkName: "lightmatrix2" */ '../views/LightMatrix2/LightMatrix2.vue'),
  140. }, {
  141. path: '/monitor/lightmatrix3', // 明细矩阵
  142. name: 'LightMatrix3',
  143. component: () =>
  144. import( /* webpackChunkName: "lightmatrix3" */ '../views/LightMatrix3/LightMatrix3.vue'),
  145. }, {
  146. path: '/decision1', //风机绩效榜
  147. name: 'decision1',
  148. component: () =>
  149. import( /* webpackChunkName: "decision1" */ '../views/Decision/Decision1.vue'),
  150. },
  151. {
  152. path: '/decision1Mx', //风机绩效榜明细
  153. name: 'decision1Mx',
  154. component: () =>
  155. import( /* webpackChunkName: "decision1Mx" */ '../views/Decision/Decision1Mx.vue'),
  156. },
  157. {
  158. path: '/decision2', //五项损失率
  159. name: 'decision2',
  160. component: () =>
  161. import( /* webpackChunkName: "decision2" */ '../views/Decision/Decision2.vue'),
  162. },
  163. {
  164. path: '/decision2Cndb', //场内对标
  165. name: 'decision2Cndb',
  166. component: () =>
  167. import( /* webpackChunkName: "decision2Cndb" */ '../views/Decision/Decision2Cndb.vue'),
  168. },
  169. {
  170. path: '/decision2Cjdb', //场际对标
  171. name: 'decision2Cjdb',
  172. component: () =>
  173. import( /* webpackChunkName: "decision2Cjdb" */ '../views/Decision/Decision2Cjdb.vue'),
  174. },
  175. {
  176. path: '/decision2Xmdb', //项目对标
  177. name: 'decision2Xmdb',
  178. component: () =>
  179. import( /* webpackChunkName: "decision2Xmdb" */ '../views/Decision/Decision2Xmdb.vue'),
  180. },
  181. {
  182. path: '/decision2Xldb', //线路对标
  183. name: 'decision2Xldb',
  184. component: () =>
  185. import( /* webpackChunkName: "decision2Xldb" */ '../views/Decision/Decision2Xldb.vue'),
  186. },
  187. {
  188. path: '/decision3', //性能对标
  189. name: 'decision3',
  190. component: () =>
  191. import( /* webpackChunkName: "decision3" */ '../views/Decision/Decision3.vue'),
  192. },
  193. {
  194. path: '/decision4', //值际对标
  195. name: 'decision4',
  196. component: () =>
  197. import( /* webpackChunkName: "decision4" */ '../views/Decision/Decision4.vue'),
  198. },
  199. {
  200. path: '/decision4czzl', //操作指令统计
  201. name: 'decision4czzl',
  202. component: () =>
  203. import( /* webpackChunkName: "decision4czzl" */ '../views/Decision/Decision4Czzl.vue'),
  204. },
  205. {
  206. path: '/health',
  207. name: 'health',
  208. component: () =>
  209. import('../views/HealthControl/Health.vue'),
  210. },
  211. {
  212. path: '/health/health1',
  213. name: 'health1',
  214. component: () =>
  215. import('../views/HealthControl/Health1.vue'),
  216. },
  217. {
  218. path: '/health/health2', // 健康管理首页
  219. name: 'health2',
  220. component: () =>
  221. import('../views/HealthControl/Health2.vue'),
  222. },
  223. {
  224. path: '/health/health3/:wpId', // 场站健康管理
  225. name: 'health3',
  226. component: () =>
  227. import('../views/HealthControl/Health3.vue'),
  228. },
  229. {
  230. path: '/health/health4',
  231. name: 'health4',
  232. children: [{
  233. path: "/health/health0/:wpId/:wtId",
  234. name: "health0",
  235. component: () =>
  236. import("../views/HealthControl/Health0.vue"),
  237. }, {
  238. path: "/health/health10/:wpId/:wtId",
  239. name: "health10",
  240. component: () =>
  241. import( /* webpackChunkName: "health8" */ "../views/HealthControl/Health10.vue"),
  242. }, {
  243. path: 'healthLineChart/:wpId/:wtId', // 风机健康趋势
  244. component: () =>
  245. import( /* webpackChunkName: "healthLineChart" */
  246. '../views/HealthControl/healthLineChart.vue'),
  247. },
  248. {
  249. path: 'healthLineChart2/:wpId/:wtId', // 健康趋势
  250. component: () =>
  251. import( /* webpackChunkName: "healthLineChart2" */
  252. '../views/HealthControl/healthLineChart2.vue'),
  253. }
  254. ],
  255. component: () =>
  256. import('../views/HealthControl/Health4.vue'),
  257. },
  258. {
  259. path: '/health/health5/',
  260. name: 'health5',
  261. component: () =>
  262. import('../views/HealthControl/Health5.vue'),
  263. },
  264. {
  265. path: '/health/health6', // 健康总览
  266. name: 'health6',
  267. component: () =>
  268. import('../views/HealthControl/Health6.vue'),
  269. },
  270. {
  271. path: '/cutAnalyse', // 切入切出分析
  272. name: 'cutAnalyse',
  273. component: () =>
  274. import('../views/cutAnalyse/index.vue'),
  275. },
  276. {
  277. path: '/cutAnalyse', // 切入切出分析
  278. name: 'cutAnalyse',
  279. component: () =>
  280. import('../views/cutAnalyse/index.vue'),
  281. },
  282. {
  283. path: '/wtSaturability', // 单机饱和度
  284. name: 'wtSaturability',
  285. component: () =>
  286. import('../views/wtSaturability/index.vue'),
  287. },
  288. {
  289. path: '/windAnalysis', // 风资源分析
  290. name: 'windAnalysis',
  291. component: () =>
  292. import('../views/windAnalysis/index.vue'),
  293. },
  294. {
  295. path: '/powerRank', // 发电效率排行
  296. name: 'powerRank',
  297. component: () =>
  298. import('../views/powerRank/index.vue'),
  299. },
  300. {
  301. path: '/totalPowerRank', // 总发电效率排行
  302. name: 'totalPowerRank',
  303. component: () =>
  304. import('../views/totalPowerRank/index.vue'),
  305. },
  306. {
  307. path: '/warningRank', // 报警排行
  308. name: 'warningRank',
  309. component: () =>
  310. import('../views/warningRank/index.vue'),
  311. },
  312. {
  313. path: '/realSearch', // 测点数据查询
  314. name: 'realSearch',
  315. component: () =>
  316. import('../views/realSearch/index.vue'),
  317. },
  318. {
  319. path: '/singleAnalysis', // 单机月度分析
  320. name: 'singleAnalysis',
  321. component: () =>
  322. import('../views/singleAnalysis/index.vue'),
  323. },
  324. {
  325. path: '/performanceAnalysis', // 单机信息总览
  326. name: 'performanceAnalysis',
  327. component: () => import('../views/performanceAnalysis/index.vue'),
  328. },
  329. {
  330. path: "/performanceAnalysis/detail/:wpId/:wtId", // 单机信息总览详情
  331. name: "performanceAnalysisDetail",
  332. component: () => import( /* webpackChunkName: "performanceAnalysisDetail" */ "../views/NewPages/dj1.vue"),
  333. },
  334. {
  335. path: '/historySearch', // 测点历史数据查询
  336. name: 'historySearch',
  337. component: () =>
  338. import('../views/historySearch/index.vue'),
  339. },
  340. {
  341. path: '/knowledge', //故障知识列表
  342. name: 'knowledge1',
  343. component: () =>
  344. import('../views/Knowledge/Knowledge1.vue'),
  345. },
  346. {
  347. path: '/knowledge2', //安全措施知识
  348. name: 'knowledge2',
  349. component: () =>
  350. import('../views/Knowledge/Knowledge2.vue'),
  351. },
  352. {
  353. path: '/knowledge3', //风险辨识知识
  354. name: 'knowledge3',
  355. component: () =>
  356. import('../views/Knowledge/Knowledge3.vue'),
  357. },
  358. {
  359. path: '/knowledge4', //作业指导知识
  360. name: 'knowledge4',
  361. component: () =>
  362. import('../views/Knowledge/Knowledge4.vue'),
  363. },
  364. {
  365. path: '/knowledge5', //特征参数
  366. name: 'knowledge5',
  367. component: () =>
  368. import('../views/Knowledge/Knowledge5.vue'),
  369. },
  370. {
  371. path: '/knowledge6', //排查检修方案
  372. name: 'knowledge6',
  373. component: () =>
  374. import('../views/Knowledge/Knowledge6.vue'),
  375. },
  376. {
  377. path: '/knowledge7', //预警知识
  378. name: 'knowledge7',
  379. component: () =>
  380. import('../views/Knowledge/Knowledge7.vue'),
  381. },
  382. {
  383. path: '/allLifeManage', // 全生命周期管理
  384. name: 'allLifeManage',
  385. component: () =>
  386. import('../views/allLifeManage/index.vue'),
  387. },
  388. {
  389. path: "/health/health8",
  390. name: "health8",
  391. component: () =>
  392. import( /* webpackChunkName: "health8" */ "../views/HealthControl/Health8.vue"),
  393. },
  394. {
  395. path: "/monitor/sandtable", // 沙盘
  396. name: "sandtable",
  397. component: () =>
  398. import( /* webpackChunkName: "sandtable" */ "../views/SandTable/SandTable.vue"),
  399. },
  400. {
  401. path: "/planPower",
  402. name: "planPower",
  403. component: () =>
  404. import( /* webpackChunkName: "planPower" */ "../views/planPower/index.vue"),
  405. },
  406. {
  407. path: "/new/pf1",
  408. name: "pf1",
  409. component: () =>
  410. import( /* webpackChunkName: "pf1" */ "../views/NewPages/power-forecast-1.vue"),
  411. },
  412. {
  413. path: "/new/fs",
  414. name: "fs",
  415. component: () =>
  416. import( /* webpackChunkName: "fs" */ "../views/NewPages/forecast-system.vue"),
  417. },
  418. {
  419. path: '/new/ztfx', // 专题分析
  420. name: 'ztfx',
  421. component: () => import( /* webpackChunkName: "ztfx" */ '../views/specific/ztfx.vue'),
  422. },
  423. {
  424. path: '/new/fnlyl', // 风能利用率
  425. name: 'fnlyl',
  426. component: () => import( /* webpackChunkName: "ztfx" */ '../views/specific/fnlyl.vue'),
  427. },
  428. {
  429. path: '/new/whssl', // 维护损失率
  430. name: 'whssl',
  431. component: () => import( /* webpackChunkName: "ztfx" */ '../views/specific/whssl.vue'),
  432. },
  433. {
  434. path: '/new/gzssl', // 故障损失率
  435. name: 'gzssl',
  436. component: () => import( /* webpackChunkName: "ztfx" */ '../views/specific/gzssl.vue'),
  437. },
  438. {
  439. path: '/new/xdssl', // 限电损失率
  440. name: 'xdssl',
  441. component: () => import( /* webpackChunkName: "ztfx" */ '../views/specific/xdssl.vue'),
  442. },
  443. {
  444. path: '/new/xnssl', // 性能损失率
  445. name: 'xnssl',
  446. component: () => import( /* webpackChunkName: "ztfx" */ '../views/specific/xnssl.vue'),
  447. },
  448. {
  449. path: '/new/slssl', // 受累损失率
  450. name: 'slssl',
  451. component: () => import( /* webpackChunkName: "ztfx" */ '../views/specific/slssl.vue'),
  452. },
  453. {
  454. path: '/new/mtbf', // mtbf
  455. name: 'mtbf',
  456. component: () => import( /* webpackChunkName: "ztfx" */ '../views/specific/mtbf.vue'),
  457. },
  458. {
  459. path: '/new/mttr', // mttr
  460. name: 'mttr',
  461. component: () => import( /* webpackChunkName: "ztfx" */ '../views/specific/mttr.vue'),
  462. },
  463. {
  464. path: '/new/zfwjsl', // 复位及时率
  465. name: 'zfwjsl',
  466. component: () => import( /* webpackChunkName: "ztfx" */ '../views/specific/fwjsl.vue'),
  467. },
  468. {
  469. path: '/new/zztzhl', // 状态转换率
  470. name: 'zztzhl',
  471. component: () => import( /* webpackChunkName: "ztfx" */ '../views/specific/ztzhl.vue'),
  472. },
  473. {
  474. path: '/new/zxqjsl', // 消缺及时率
  475. name: 'zxqjsl',
  476. component: () => import( /* webpackChunkName: "ztfx" */ '../views/specific/xqjsl.vue'),
  477. },
  478. {
  479. path: '/new/zfdl', // 发电量分析
  480. name: 'zfdl',
  481. component: () => import( /* webpackChunkName: "ztfx" */ '../views/specific/fdl.vue'),
  482. },
  483. {
  484. path: '/new/zzhcydl', // 综合场用电量
  485. name: 'zzhcydl',
  486. component: () => import( /* webpackChunkName: "ztfx" */ '../views/specific/zhcydl.vue'),
  487. },
  488. {
  489. path: '/new/intelligentalarmcenter',
  490. name: 'intelligentalarmcenter',
  491. component: () =>
  492. import( /* webpackChunkName: "intelligentalarmcenter" */
  493. '../views/NewPages/intelligent-alarm-center.vue'),
  494. },
  495. {
  496. path: '/new/personnel',
  497. name: 'personnel',
  498. component: () =>
  499. import( /* webpackChunkName: "personnel" */ '../views/NewPages/personnel.vue'),
  500. },
  501. {
  502. path: '/new/znzhfx/:wtId/:year/:month',
  503. name: 'znzhfx',
  504. component: () =>
  505. import( /* webpackChunkName: "ztfx" */ '../views/NewPages/znzhfx.vue'),
  506. },
  507. {
  508. path: '/new/alarmcenter',
  509. name: 'alarmcenter',
  510. component: () =>
  511. import( /* webpackChunkName: "personnel" */ '../views/NewPages/alarm-center.vue'),
  512. },
  513. {
  514. path: '/new/knowledgebase',
  515. name: 'knowledgebase',
  516. component: () =>
  517. import( /* webpackChunkName: "knowledgebase" */ '../views/NewPages/knowledge-base.vue'),
  518. },
  519. {
  520. path: "/new/dj",
  521. name: "dj",
  522. component: () =>
  523. import( /* webpackChunkName: "dj" */ "../views/NewPages/dj.vue"),
  524. },
  525. {
  526. path: "/new/dj2",
  527. name: "dj2",
  528. component: () =>
  529. import( /* webpackChunkName: "dj2" */ "../views/NewPages/dj2.vue"),
  530. },
  531. {
  532. path: "/new/dialog",
  533. name: "dialog",
  534. component: () =>
  535. import( /* webpackChunkName: "dj2" */ "../views/NewPages/dialogs.vue"),
  536. }, // 三率管理/复位及时率
  537. {
  538. path: '/fwjsl',
  539. name: 'fwjsl',
  540. component: () =>
  541. import('../views/Decision/slgl/fwjsl.vue')
  542. },
  543. // 三率管理/状态转换率
  544. {
  545. path: '/ztzhl',
  546. name: 'ztzhl',
  547. component: () =>
  548. import('../views/Decision/slgl/ztzhl.vue')
  549. },
  550. // 三率管理/消缺及时率
  551. {
  552. path: '/xqjsl',
  553. name: 'xqjsl',
  554. component: () =>
  555. import('../views/Decision/slgl/xqjsl.vue')
  556. },
  557. // 曲线排行榜
  558. {
  559. path: '/qxpclfx',
  560. name: 'qxpclfx',
  561. component: () => import('../views/nxfx/qxpclfx.vue')
  562. },
  563. // 等级评估(单机等级评估管理-量化评级)
  564. {
  565. path: '/assess/index',
  566. name: 'assessindex',
  567. component: () => import('../views/HealthControl/assess/assessindex.vue')
  568. },
  569. {
  570. path: '/assess/config',
  571. name: 'assessconfig',
  572. component: () => import('../views/HealthControl/assess/assessconfig.vue')
  573. },
  574. {
  575. path: "/new/powerforecast2",
  576. name: "powerforecast2",
  577. component: () => import( /* webpackChunkName: "powerforecast2" */ "../views/NewPages/power-forecast-2.vue"),
  578. },
  579. {
  580. path: "/new/alarmcenter1",
  581. name: "alarmcenter1",
  582. component: () => import( /* webpackChunkName: "alarmcenter1" */ "../views/NewPages/alarm-center-1.vue"),
  583. },
  584. {
  585. path: "/new/tjsj",
  586. name: "tjsj",
  587. component: () =>
  588. import( /* webpackChunkName: "tjsj" */ "../views/warn/tjsj.vue"),
  589. },
  590. {
  591. path: "/new/xdgl",
  592. name: "xdgl",
  593. component: () =>
  594. import( /* webpackChunkName: "xdgl" */ "../views/warn/xdgl.vue"),
  595. },
  596. {
  597. path: "/new/alarmcenter2",
  598. name: "alarmcenter2",
  599. component: () =>
  600. import( /* webpackChunkName: "alarmcenter2" */ "../views/NewPages/alarm-center-2.vue"),
  601. },
  602. {
  603. path: "/new/historysearch",
  604. name: "historysearch",
  605. component: () => import( /* webpackChunkName: "historysearch" */ "../views/NewPages/history-search.vue"),
  606. }, // 报警中心-升压站报警
  607. {
  608. path: "/alarmCenter/boosterAlarm",
  609. name: "boosterAlarm",
  610. component: () => import("../views/alarmCenter/boosterAlarm.vue")
  611. },
  612. // 报警中心-SCADA报警
  613. {
  614. path: "/alarmCenter/scadaAlarm",
  615. name: "scadaAlarm",
  616. component: () => import("../views/alarmCenter/scadaAlarm.vue")
  617. },
  618. // 报警中心-自定义报警
  619. {
  620. path: "/alarmCenter/customAlarm",
  621. name: "customAlarm",
  622. component: () => import("../views/alarmCenter/customAlarm.vue")
  623. },
  624. // 报警中心-自定义报警统计
  625. {
  626. path: "/alarmCenter/customStatistics",
  627. name: "customStatistics",
  628. component: () => import("../views/alarmCenter/customStatistics.vue")
  629. },
  630. {
  631. path: "/malfunctionDiagnose", // 故障诊断
  632. name: "customStatistics",
  633. component: () => import("../views/malfunctionDiagnose/index.vue")
  634. },
  635. {
  636. path: "/new/pb",
  637. name: "pb",
  638. component: () => import(/* webpackChunkName: "powerbenchmarking" */ "../views/NewPages/power-benchmarking.vue"),
  639. },
  640. {
  641. path: "/powerCurve", // 功率曲线拟合
  642. name: "powerCurve",
  643. component: () => import(/* webpackChunkName: "powerCurve" */ "../views/powerCurve/index.vue"),
  644. }, {
  645. path: "/tjfx",
  646. name: "tjfx",
  647. component: () =>
  648. import( /* webpackChunkName: "historysearch" */ "../views/report/tjfx.vue"),
  649. },
  650. {
  651. path: "/bdzcx",
  652. name: "bdzcx",
  653. component: () =>
  654. import( /* webpackChunkName: "historysearch" */ "../views/report/bdzcx.vue"),
  655. },
  656. {
  657. path: "/oafd",
  658. name: "oafd",
  659. component: () =>
  660. import( /* webpackChunkName: "historysearch" */ "../views/report/oafd.vue"),
  661. },
  662. {
  663. path: "/oagf",
  664. name: "oagf",
  665. component: () =>
  666. import( /* webpackChunkName: "historysearch" */ "../views/report/oagf.vue"),
  667. },
  668. {
  669. path: "/missfdrb",
  670. name: "missfdrb",
  671. component: () =>
  672. import( /* webpackChunkName: "historysearch" */ "../views/report/missfdrb.vue"),
  673. },
  674. {
  675. path: "/missgfrb",
  676. name: "missgfrb",
  677. component: () =>
  678. import( /* webpackChunkName: "historysearch" */ "../views/report/missgfrb.vue"),
  679. },
  680. {
  681. path: "/xnyfdscyb",
  682. name: "xnyfdscyb",
  683. component: () =>
  684. import( /* webpackChunkName: "historysearch" */ "../views/report/xnyfdscyb.vue"),
  685. },
  686. {
  687. path: "/mhsscyb",
  688. name: "mhsscyb",
  689. component: () =>
  690. import( /* webpackChunkName: "historysearch" */ "../views/report/mhsscyb.vue"),
  691. },
  692. {
  693. path: "/nssscyb",
  694. name: "nssscyb",
  695. component: () =>
  696. import( /* webpackChunkName: "historysearch" */ "../views/report/nssscyb.vue"),
  697. },
  698. {
  699. path: "/qsscyb",
  700. name: "qsscyb",
  701. component: () =>
  702. import( /* webpackChunkName: "historysearch" */ "../views/report/qsscyb.vue"),
  703. },
  704. {
  705. path: "/sbqscyb",
  706. name: "sbqscyb",
  707. component: () =>
  708. import( /* webpackChunkName: "historysearch" */ "../views/report/sbqscyb.vue"),
  709. },
  710. {
  711. path: "/xsscyb",
  712. name: "xsscyb",
  713. component: () =>
  714. import( /* webpackChunkName: "historysearch" */ "../views/report/xsscyb.vue"),
  715. },
  716. {
  717. path: "/xnygfscyb",
  718. name: "xnygfscyb",
  719. component: () =>
  720. import( /* webpackChunkName: "historysearch" */ "../views/report/xnygfscyb.vue"),
  721. },
  722. {
  723. path: "/dwkscyb",
  724. name: "dwkscyb",
  725. component: () =>
  726. import( /* webpackChunkName: "historysearch" */ "../views/report/dwkscyb.vue"),
  727. },
  728. {
  729. path: "/plscyb",
  730. name: "plscyb",
  731. component: () =>
  732. import( /* webpackChunkName: "historysearch" */ "../views/report/plscyb.vue"),
  733. },
  734. {
  735. path: "/xhscyb",
  736. name: "xhscyb",
  737. component: () =>
  738. import( /* webpackChunkName: "historysearch" */ "../views/report/xhscyb.vue"),
  739. },
  740. {
  741. path: "/fdczzdy",
  742. name: "fdczzdy",
  743. component: () =>
  744. import( /* webpackChunkName: "historysearch" */ "../views/report/fdczzdy.vue"),
  745. },
  746. {
  747. path: "/fdxmzdy",
  748. name: "fdxmzdy",
  749. component: () =>
  750. import( /* webpackChunkName: "historysearch" */ "../views/report/fdxmzdy.vue"),
  751. },
  752. {
  753. path: "/gfczzdy",
  754. name: "gfczzdy",
  755. component: () =>
  756. import( /* webpackChunkName: "historysearch" */ "../views/report/gfczzdy.vue"),
  757. },
  758. {
  759. path: "/gfxmzdy",
  760. name: "gfxmzdy",
  761. component: () =>
  762. import( /* webpackChunkName: "historysearch" */ "../views/report/gfxmzdy.vue"),
  763. },
  764. {
  765. path: "/xnyrb",
  766. name: "xnyrb",
  767. component: () =>
  768. import( /* webpackChunkName: "historysearch" */ "../views/report/xnyrb.vue"),
  769. },
  770. {
  771. path: "/warnStatistics", // 预警评判分析
  772. name: "warnStatistics",
  773. component: () =>
  774. import( /* webpackChunkName: "warnStatistics" */ "../views/warnStatistics/index.vue"),
  775. },
  776. {
  777. path: "/malfunctionStatistics", // 故障评判分析
  778. name: "malfunctionStatistics",
  779. component: () =>
  780. import( /* webpackChunkName: "malfunctionStatistics" */ "../views/malfunctionStatistics/index.vue"),
  781. },
  782. {
  783. path: "/malfunctionRecall", // 故障回溯
  784. name: "malfunctionRecall",
  785. component: () =>
  786. import( /* webpackChunkName: "malfunctionRecall" */ "../views/malfunctionRecall/index.vue"),
  787. },
  788. {
  789. path: "/globalMonitor", // 全局监视
  790. name: "globalMonitor",
  791. component: () =>
  792. import( /* webpackChunkName: "globalMonitor" */ "../views/globalMonitor/index.vue"),
  793. },
  794. {
  795. path: "/reportPandect", // 报表总览
  796. name: "reportPandect",
  797. component: () =>
  798. import( /* webpackChunkName: "reportPandect" */ "../views/reportPandect/index.vue"),
  799. },
  800. ]
  801. const router = createRouter({
  802. history: createWebHashHistory(),
  803. base: '/zhfx/',
  804. routes
  805. })
  806. router.beforeEach((to, from, next) => {
  807. next()
  808. })
  809. export default router