index.js 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849
  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. path: "/save",
  531. name: "save",
  532. component: () =>
  533. import( /* webpackChunkName: "personnel" */ "../views/NewPages/iframe4.vue"),
  534. },
  535. {
  536. path: "/save/personnel",
  537. name: "personnel",
  538. component: () =>
  539. import( /* webpackChunkName: "personnel" */ "../views/NewPages/personnel.vue"),
  540. },
  541. {
  542. path: "/globalMonitor", // 全局监视
  543. name: "globalMonitor",
  544. component: () =>
  545. import( /* webpackChunkName: "globalMonitor" */ "../views/Others/index.vue"),
  546. }
  547. /***********************************************************安全管控************************************************************* */
  548. , {
  549. path: '/others', // 其他
  550. name: 'others',
  551. component: () =>
  552. import('../views/Others/index.vue'),
  553. },
  554. {
  555. path: "/others/reportPandect", // 报表总览
  556. name: "reportPandect",
  557. component: () =>
  558. import( /* webpackChunkName: "reportPandect" */ "../views/reportPandect/index.vue"),
  559. }, {
  560. path: "/others/tjfx",
  561. name: "tjfx",
  562. component: () =>
  563. import( /* webpackChunkName: "historysearch" */ "../views/report/tjfx.vue"),
  564. },
  565. {
  566. path: "/others/bdzcx",
  567. name: "bdzcx",
  568. component: () =>
  569. import( /* webpackChunkName: "historysearch" */ "../views/report/bdzcx.vue"),
  570. },
  571. {
  572. path: "/others/oafd",
  573. name: "oafd",
  574. component: () =>
  575. import( /* webpackChunkName: "historysearch" */ "../views/report/oafd.vue"),
  576. },
  577. {
  578. path: "/others/oagf",
  579. name: "oagf",
  580. component: () =>
  581. import( /* webpackChunkName: "historysearch" */ "../views/report/oagf.vue"),
  582. },
  583. {
  584. path: "/others/missfdrb",
  585. name: "missfdrb",
  586. component: () =>
  587. import( /* webpackChunkName: "historysearch" */ "../views/report/missfdrb.vue"),
  588. },
  589. {
  590. path: "/others/missgfrb",
  591. name: "missgfrb",
  592. component: () =>
  593. import( /* webpackChunkName: "historysearch" */ "../views/report/missgfrb.vue"),
  594. },
  595. {
  596. path: "/others/xnyfdscyb",
  597. name: "xnyfdscyb",
  598. component: () =>
  599. import( /* webpackChunkName: "historysearch" */ "../views/report/xnyfdscyb.vue"),
  600. },
  601. {
  602. path: "/others/mhsscyb",
  603. name: "mhsscyb",
  604. component: () =>
  605. import( /* webpackChunkName: "historysearch" */ "../views/report/mhsscyb.vue"),
  606. },
  607. {
  608. path: "/others/nssscyb",
  609. name: "nssscyb",
  610. component: () =>
  611. import( /* webpackChunkName: "historysearch" */ "../views/report/nssscyb.vue"),
  612. },
  613. {
  614. path: "/others/qsscyb",
  615. name: "qsscyb",
  616. component: () =>
  617. import( /* webpackChunkName: "historysearch" */ "../views/report/qsscyb.vue"),
  618. },
  619. {
  620. path: "/others/sbqscyb",
  621. name: "sbqscyb",
  622. component: () =>
  623. import( /* webpackChunkName: "historysearch" */ "../views/report/sbqscyb.vue"),
  624. },
  625. {
  626. path: "/others/xsscyb",
  627. name: "xsscyb",
  628. component: () =>
  629. import( /* webpackChunkName: "historysearch" */ "../views/report/xsscyb.vue"),
  630. },
  631. {
  632. path: "/others/xnygfscyb",
  633. name: "xnygfscyb",
  634. component: () =>
  635. import( /* webpackChunkName: "historysearch" */ "../views/report/xnygfscyb.vue"),
  636. },
  637. {
  638. path: "/others/dwkscyb",
  639. name: "dwkscyb",
  640. component: () =>
  641. import( /* webpackChunkName: "historysearch" */ "../views/report/dwkscyb.vue"),
  642. },
  643. {
  644. path: "/others/plscyb",
  645. name: "plscyb",
  646. component: () =>
  647. import( /* webpackChunkName: "historysearch" */ "../views/report/plscyb.vue"),
  648. },
  649. {
  650. path: "/others/xhscyb",
  651. name: "xhscyb",
  652. component: () =>
  653. import( /* webpackChunkName: "historysearch" */ "../views/report/xhscyb.vue"),
  654. },
  655. {
  656. path: "/others/fdczzdy",
  657. name: "fdczzdy",
  658. component: () =>
  659. import( /* webpackChunkName: "historysearch" */ "../views/report/fdczzdy.vue"),
  660. },
  661. {
  662. path: "/others/fdxmzdy",
  663. name: "fdxmzdy",
  664. component: () =>
  665. import( /* webpackChunkName: "historysearch" */ "../views/report/fdxmzdy.vue"),
  666. },
  667. {
  668. path: "/others/gfczzdy",
  669. name: "gfczzdy",
  670. component: () =>
  671. import( /* webpackChunkName: "historysearch" */ "../views/report/gfczzdy.vue"),
  672. },
  673. {
  674. path: "/others/gfxmzdy",
  675. name: "gfxmzdy",
  676. component: () =>
  677. import( /* webpackChunkName: "historysearch" */ "../views/report/gfxmzdy.vue"),
  678. },
  679. {
  680. path: "/others/xnyrb",
  681. name: "xnyrb",
  682. component: () =>
  683. import( /* webpackChunkName: "historysearch" */ "../views/report/xnyrb.vue"),
  684. },
  685. {
  686. path: "/others/ExportExcel",
  687. name: "ExportExcel",
  688. component: () => import("../views/report/ExportExcel.vue"),
  689. },
  690. {
  691. path: '/others/realSearch', // 测点数据查询
  692. name: 'realSearch',
  693. component: () =>
  694. import('../views/realSearch/index.vue'),
  695. },
  696. {
  697. path: "/others/historysearch",
  698. name: "historysearch",
  699. component: () => import( /* webpackChunkName: "historysearch" */ "../views/NewPages/history-search.vue"),
  700. },
  701. {
  702. path: '/others/historySearch', // 测点历史数据查询
  703. name: 'historySearch',
  704. component: () =>
  705. import('../views/historySearch/index.vue'),
  706. },
  707. {
  708. path: '/others/alarmCenter/alarmcenter',
  709. name: 'alarmcenter',
  710. component: () =>
  711. import( /* webpackChunkName: "personnel" */ '../views/NewPages/alarm-center.vue'),
  712. },
  713. {
  714. path: "/others/alarmCenter/tjsj",
  715. name: "tjsj",
  716. component: () =>
  717. import( /* webpackChunkName: "tjsj" */ "../views/warn/tjsj.vue"),
  718. },
  719. {
  720. path: "/others/alarmCenter/xdgl",
  721. name: "xdgl",
  722. component: () =>
  723. import( /* webpackChunkName: "xdgl" */ "../views/warn/xdgl.vue"),
  724. }, // 报警中心-升压站报警
  725. {
  726. path: "/others/alarmCenter/boosterAlarm",
  727. name: "boosterAlarm",
  728. component: () => import("../views/alarmCenter/boosterAlarm.vue")
  729. },
  730. // 报警中心-SCADA报警
  731. {
  732. path: "/others/alarmCenter/scadaAlarm",
  733. name: "scadaAlarm",
  734. component: () => import("../views/alarmCenter/scadaAlarm.vue")
  735. },
  736. // 报警中心-自定义报警
  737. {
  738. path: "/others/alarmCenter/customAlarm",
  739. name: "customAlarm",
  740. component: () => import("../views/alarmCenter/customAlarm.vue")
  741. },
  742. // 报警中心-自定义报警统计
  743. {
  744. path: "/others/alarmCenter/customStatistics",
  745. name: "customStatistics",
  746. component: () => import("../views/alarmCenter/customStatistics.vue")
  747. },
  748. {
  749. path: '/others/knowledge/knowledge', //故障知识列表
  750. name: 'knowledge1',
  751. component: () =>
  752. import('../views/Knowledge/Knowledge1.vue'),
  753. },
  754. {
  755. path: '/others/knowledge/knowledge2', //安全措施知识
  756. name: 'knowledge2',
  757. component: () =>
  758. import('../views/Knowledge/Knowledge2.vue'),
  759. },
  760. {
  761. path: '/others/knowledge/knowledge3', //风险辨识知识
  762. name: 'knowledge3',
  763. component: () =>
  764. import('../views/Knowledge/Knowledge3.vue'),
  765. },
  766. {
  767. path: '/others/knowledge/knowledge4', //作业指导知识
  768. name: 'knowledge4',
  769. component: () =>
  770. import('../views/Knowledge/Knowledge4.vue'),
  771. },
  772. {
  773. path: '/others/knowledge/knowledge5', //特征参数
  774. name: 'knowledge5',
  775. component: () =>
  776. import('../views/Knowledge/Knowledge5.vue'),
  777. },
  778. {
  779. path: '/others/knowledge/knowledge6', //排查检修方案
  780. name: 'knowledge6',
  781. component: () =>
  782. import('../views/Knowledge/Knowledge6.vue'),
  783. },
  784. {
  785. path: '/others/knowledge/knowledge7', //预警知识
  786. name: 'knowledge7',
  787. component: () =>
  788. import('../views/Knowledge/Knowledge7.vue'),
  789. }
  790. /***********************************************************其他************************************************************ */
  791. ,
  792. {
  793. path: "/planPower",
  794. name: "planPower",
  795. component: () =>
  796. import( /* webpackChunkName: "planPower" */ "../views/planPower/index.vue"),
  797. },
  798. {
  799. path: '/new/intelligentalarmcenter',
  800. name: 'intelligentalarmcenter',
  801. component: () =>
  802. import( /* webpackChunkName: "intelligentalarmcenter" */
  803. '../views/NewPages/intelligent-alarm-center.vue'),
  804. },
  805. {
  806. path: '/new/knowledgebase',
  807. name: 'knowledgebase',
  808. component: () =>
  809. import( /* webpackChunkName: "knowledgebase" */ '../views/NewPages/knowledge-base.vue'),
  810. },
  811. {
  812. path: "/new/dj",
  813. name: "dj",
  814. component: () =>
  815. import( /* webpackChunkName: "dj" */ "../views/NewPages/dj.vue"),
  816. },
  817. {
  818. path: "/new/dj2",
  819. name: "dj2",
  820. component: () =>
  821. import( /* webpackChunkName: "dj2" */ "../views/NewPages/dj2.vue"),
  822. },
  823. {
  824. path: "/new/dialog",
  825. name: "dialog",
  826. component: () =>
  827. import( /* webpackChunkName: "dj2" */ "../views/NewPages/dialogs.vue"),
  828. },
  829. {
  830. path: "/new/powerforecast2",
  831. name: "powerforecast2",
  832. component: () => import( /* webpackChunkName: "powerforecast2" */ "../views/NewPages/power-forecast-2.vue"),
  833. },
  834. ]
  835. const router = createRouter({
  836. history: createWebHashHistory(),
  837. base: "/zhfx/",
  838. routes
  839. });
  840. router.beforeEach((to, from, next) => {
  841. next();
  842. });
  843. export default router;