index.js 24 KB

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