index.js 24 KB

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