index.js 20 KB

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