index.js 25 KB

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