index.js 21 KB

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