index.js 60 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975
  1. import { createRouter, createWebHashHistory } from "vue-router";
  2. export const constantRoutes = [
  3. {
  4. path: "/login",
  5. name: "Login",
  6. component: () =>
  7. import(/* webpackChunkName: "Login" */ "../views/layout/login-page.vue"),
  8. },
  9. ];
  10. export const asyncRoutes = [
  11. { path: "/", redirect: "/home" },
  12. {
  13. path: "/home", // 驾驶舱
  14. name: "home",
  15. component: () => import("@/views/Home"),
  16. meta: {
  17. title: "首页",
  18. icon: "",
  19. permissions: ["jn_sy"],
  20. },
  21. },
  22. //全景监视
  23. {
  24. path: "/stateMonitor",
  25. redirect: "/stateMonitor/lightmatrix",
  26. component: () => import("@/views/stateMonitor"),
  27. name: "stateMonitor",
  28. meta: {
  29. title: "全景监视",
  30. icon: "",
  31. permissions: ["jn_stateMonitor"],
  32. },
  33. children: [
  34. {
  35. path: "factoryMonitor/windPowerPlant",
  36. redirect: { name: "windhome" },
  37. component: () =>
  38. import("@/views/stateMonitor/factoryMonitor/windPowerPlant"),
  39. name: "windPowerPlant",
  40. meta: {
  41. title: "风电场站",
  42. icon: "svg-fengdian",
  43. permissions: ["jn_fdcz"],
  44. },
  45. showChild: true,
  46. children: [
  47. {
  48. path: "windhome",
  49. component: () =>
  50. import(
  51. "@/views/stateMonitor/factoryMonitor/windPowerPlant/windhome"
  52. ),
  53. name: "windhome",
  54. meta: {
  55. title: "场站监视",
  56. icon: "svg-station-surveillance",
  57. permissions: ["jn_fdcz_czjs"],
  58. },
  59. },
  60. {
  61. path: "DataTarget",
  62. component: () =>
  63. import(
  64. "@/views/stateMonitor/factoryMonitor/windPowerPlant/DataTarget"
  65. ),
  66. name: "DataTarget",
  67. meta: {
  68. title: "数据指标",
  69. icon: "svg-s指标列表",
  70. permissions: ["jn_fdcz_sjzb"],
  71. },
  72. },
  73. {
  74. path: "matrixMonitor",
  75. component: () =>
  76. import(
  77. "@/views/stateMonitor/factoryMonitor/windPowerPlant/matrixMonitor"
  78. ),
  79. name: "matrixMonitor",
  80. meta: {
  81. title: "矩阵监视",
  82. icon: "svg-matrix",
  83. permissions: ["jn_fdcz_jzjs"],
  84. },
  85. },
  86. {
  87. path: "draughtFan",
  88. component: () =>
  89. import(
  90. "@/views/stateMonitor/factoryMonitor/windPowerPlant/draughtFan"
  91. ),
  92. name: "draughtFan",
  93. meta: {
  94. title: "风机设备",
  95. icon: "svg-wind-site",
  96. permissions: ["jn_fdcz_fjsb"],
  97. },
  98. },
  99. {
  100. path: "boosterStation",
  101. component: () =>
  102. import(
  103. "@/views/stateMonitor/factoryMonitor/windPowerPlant/boosterStation"
  104. ),
  105. name: "boosterStation",
  106. meta: {
  107. title: "升压站",
  108. icon: "svg-s升压站",
  109. permissions: ["jn_fdcz_syz"],
  110. },
  111. },
  112. {
  113. path: "millivolt",
  114. component: () =>
  115. import(
  116. "@/views/stateMonitor/factoryMonitor/windPowerPlant/millivolt"
  117. ),
  118. name: "millivolt",
  119. meta: {
  120. title: "电计量",
  121. icon: "svg-djl",
  122. permissions: ["jn_fdcz_syz"],
  123. },
  124. },
  125. {
  126. path: "windPower",
  127. component: () =>
  128. import(
  129. "@/views/stateMonitor/factoryMonitor/windPowerPlant/windPower"
  130. ),
  131. name: "windPower",
  132. meta: {
  133. title: "测风塔",
  134. permissions: ["jn_fdcz_cft"],
  135. icon: "svg-s测风塔",
  136. },
  137. },
  138. {
  139. path: "geomorphologicMap",
  140. component: () =>
  141. import(
  142. "@/views/stateMonitor/factoryMonitor/windPowerPlant/geomorphologicMap"
  143. ),
  144. name: "geomorphologicMap",
  145. meta: {
  146. title: "地貌图",
  147. permissions: ["jn_fdcz_dmt"],
  148. icon: "svg-s地图",
  149. },
  150. },
  151. ],
  152. },
  153. {
  154. path: "factoryMonitor/photovoltaic",
  155. redirect: { name: "lighthome" },
  156. component: () =>
  157. import("@/views/stateMonitor/factoryMonitor/photovoltaic"),
  158. name: "photovoltaic",
  159. meta: {
  160. title: "光伏场站",
  161. icon: "svg-guangfu",
  162. permissions: ["jn_gfcz"],
  163. },
  164. showChild: true,
  165. children: [
  166. {
  167. path: "lighthome",
  168. component: () =>
  169. import(
  170. "@/views/stateMonitor/factoryMonitor/photovoltaic/lighthome"
  171. ),
  172. name: "lighthome",
  173. meta: {
  174. title: "场站监视",
  175. icon: "svg-station-surveillance",
  176. permissions: ["jn_gfcz_czjs"],
  177. },
  178. },
  179. {
  180. path: "lightDataTarget",
  181. component: () =>
  182. import(
  183. "@/views/stateMonitor/factoryMonitor/photovoltaic/lightDataTarget"
  184. ),
  185. name: "lightDataTarget",
  186. meta: {
  187. title: "数据指标",
  188. permissions: ["jn_gfcz_sjzb"],
  189. icon: "svg-s指标列表",
  190. },
  191. },
  192. {
  193. path: "lightMatrixMonitor",
  194. component: () =>
  195. import(
  196. "@/views/stateMonitor/factoryMonitor/photovoltaic/lightMatrixMonitor"
  197. ),
  198. name: "lightMatrixMonitor",
  199. meta: {
  200. title: "矩阵监视",
  201. permissions: ["jn_gfcz_jzjs"],
  202. icon: "svg-matrix",
  203. },
  204. },
  205. {
  206. path: "lightMatrix",
  207. component: () =>
  208. import(
  209. "@/views/stateMonitor/factoryMonitor/photovoltaic/lightMatrix"
  210. ),
  211. name: "lightMatrix",
  212. meta: {
  213. title: "分类矩阵",
  214. permissions: ["jn_gfcz_fljz"],
  215. icon: "svg-fljz",
  216. },
  217. },
  218. {
  219. path: "photovoltaicFacility",
  220. component: () =>
  221. import(
  222. "@/views/stateMonitor/factoryMonitor/photovoltaic/photovoltaicFacility"
  223. ),
  224. name: "photovoltaicFacility",
  225. meta: {
  226. title: "光伏设备",
  227. permissions: ["jn_gfcz_gfsb"],
  228. icon: "svg-photovoltaic",
  229. },
  230. },
  231. {
  232. path: "lightBoosterStation",
  233. component: () =>
  234. import(
  235. "@/views/stateMonitor/factoryMonitor/photovoltaic/lightBoosterStation"
  236. ),
  237. name: "lightBoosterStation",
  238. meta: {
  239. title: "升压站",
  240. permissions: ["jn_gfcz_syz"],
  241. icon: "svg-s升压站",
  242. },
  243. },
  244. {
  245. path: "lightMillivolt",
  246. component: () =>
  247. import(
  248. "@/views/stateMonitor/factoryMonitor/photovoltaic/lightMillivolt"
  249. ),
  250. name: "lightMillivolt",
  251. meta: {
  252. title: "电计量",
  253. icon: "svg-djl",
  254. permissions: ["jn_fdcz_syz"],
  255. },
  256. },
  257. {
  258. path: "lightGeomorphologicMap",
  259. component: () =>
  260. import(
  261. "@/views/stateMonitor/factoryMonitor/photovoltaic/lightGeomorphologicMap"
  262. ),
  263. name: "lightGeomorphologicMap",
  264. meta: {
  265. title: "地貌图",
  266. permissions: ["jn_gfcz_dmt"],
  267. icon: "svg-s地图",
  268. },
  269. },
  270. ],
  271. },
  272. // {
  273. // path: "agc",
  274. // component: () => import("@/views/stateMonitor/Agc/Agc.vue"),
  275. // name: "agc",
  276. // meta: {
  277. // title: "agc",
  278. // icon: "svg-s指标列表",
  279. // permissions: ["jn_fdcz_sjzb"],
  280. // },
  281. // },
  282. {
  283. path: "lightmatrix", // 基础矩阵
  284. name: "LightMatrix",
  285. component: () => import("@/views/stateMonitor/LightMatrix"),
  286. meta: {
  287. title: "基础矩阵",
  288. icon: "svg-matrix",
  289. permissions: ["jn_jcjz"],
  290. },
  291. },
  292. {
  293. path: "detailmatrix", // 明细矩阵
  294. name: "DetailMatrix",
  295. component: () => import("@/views/stateMonitor/DetailMatrix"),
  296. meta: {
  297. title: "明细矩阵",
  298. icon: "svg-mx-matrix",
  299. permissions: ["jn_mxjz"],
  300. },
  301. },
  302. {
  303. path: "syzmatrix", // 升压站矩阵
  304. name: "SYZMatrix",
  305. component: () => import("@/views/stateMonitor/focus/syzDetails.vue"),
  306. meta: {
  307. title: "升压站矩阵",
  308. icon: "svg-syz",
  309. permissions: ["jn_syzjz"],
  310. },
  311. },
  312. {
  313. path: "powerPredictMatrix", // 功率预测矩阵
  314. name: "PowerPredictMatrix",
  315. component: () => import("@/views/stateMonitor/powerPredictMatrix"),
  316. meta: {
  317. title: "功率预测矩阵",
  318. icon: "svg-power-predict",
  319. permissions: ["jn_glyc"],
  320. },
  321. },
  322. {
  323. path: "zhzb", // 综合指标统计
  324. name: "zhzb",
  325. component: () =>
  326. import(
  327. /* webpackChunkName: "status" */ "@/views/stateMonitor/zhzb/zhzb.vue"
  328. ),
  329. meta: {
  330. title: "综合指标",
  331. icon: "svg-自定制报表管理",
  332. permissions: ["jn_zhzb"],
  333. },
  334. },
  335. // {
  336. // path: "factoryMonitor",
  337. // redirect: "factoryMonitor/windPowerPlant",
  338. // component: () => import("@/views/stateMonitor/factoryMonitor"),
  339. // name: "factoryMonitor",
  340. // meta: {
  341. // title: "厂站监视",
  342. // icon: "svg-single-station-surveillance",
  343. // permissions: ["jn_czjs"],
  344. // },
  345. // hidden: true,
  346. // children: [
  347. // {
  348. // path: "windPowerPlant",
  349. // redirect: { name: "windhome" },
  350. // component: () =>
  351. // import("@/views/stateMonitor/factoryMonitor/windPowerPlant"),
  352. // name: "windPowerPlant",
  353. // meta: {
  354. // title: "风电场站",
  355. // icon: "",
  356. // permissions: ["jn_fdcz"],
  357. // },
  358. // children: [
  359. // {
  360. // path: "windhome",
  361. // component: () =>
  362. // import(
  363. // "@/views/stateMonitor/factoryMonitor/windPowerPlant/windhome"
  364. // ),
  365. // name: "windhome",
  366. // meta: {
  367. // title: "场站监视",
  368. // icon: "svg-station-surveillance",
  369. // permissions: ["jn_fdcz_czjs"],
  370. // },
  371. // },
  372. // {
  373. // path: "DataTarget",
  374. // component: () =>
  375. // import(
  376. // "@/views/stateMonitor/factoryMonitor/windPowerPlant/DataTarget"
  377. // ),
  378. // name: "DataTarget",
  379. // meta: {
  380. // title: "数据指标",
  381. // icon: "svg-s指标列表",
  382. // permissions: ["jn_fdcz_sjzb"],
  383. // },
  384. // },
  385. // {
  386. // path: "matrixMonitor",
  387. // component: () =>
  388. // import(
  389. // "@/views/stateMonitor/factoryMonitor/windPowerPlant/matrixMonitor"
  390. // ),
  391. // name: "matrixMonitor",
  392. // meta: {
  393. // title: "矩阵监视",
  394. // icon: "svg-matrix",
  395. // permissions: ["jn_fdcz_jzjs"],
  396. // },
  397. // },
  398. // {
  399. // path: "draughtFan",
  400. // component: () =>
  401. // import(
  402. // "@/views/stateMonitor/factoryMonitor/windPowerPlant/draughtFan"
  403. // ),
  404. // name: "draughtFan",
  405. // meta: {
  406. // title: "风机设备",
  407. // icon: "svg-wind-site",
  408. // permissions: ["jn_fdcz_fjsb"],
  409. // },
  410. // },
  411. // {
  412. // path: "boosterStation",
  413. // component: () =>
  414. // import(
  415. // "@/views/stateMonitor/factoryMonitor/windPowerPlant/boosterStation"
  416. // ),
  417. // name: "boosterStation",
  418. // meta: {
  419. // title: "升压站",
  420. // icon: "svg-s升压站",
  421. // permissions: ["jn_fdcz_syz"],
  422. // },
  423. // },
  424. // {
  425. // path: "windPower",
  426. // component: () =>
  427. // import(
  428. // "@/views/stateMonitor/factoryMonitor/windPowerPlant/windPower"
  429. // ),
  430. // name: "windPower",
  431. // meta: {
  432. // title: "测风塔",
  433. // permissions: ["jn_fdcz_cft"],
  434. // icon: "svg-s测风塔",
  435. // },
  436. // },
  437. // {
  438. // path: "geomorphologicMap",
  439. // component: () =>
  440. // import(
  441. // "@/views/stateMonitor/factoryMonitor/windPowerPlant/geomorphologicMap"
  442. // ),
  443. // name: "geomorphologicMap",
  444. // meta: {
  445. // title: "地貌图",
  446. // permissions: ["jn_fdcz_dmt"],
  447. // icon: "svg-s地图",
  448. // },
  449. // },
  450. // ],
  451. // },
  452. // {
  453. // path: "photovoltaic",
  454. // redirect: { name: "lighthome" },
  455. // component: () =>
  456. // import("@/views/stateMonitor/factoryMonitor/photovoltaic"),
  457. // name: "photovoltaic",
  458. // meta: {
  459. // title: "光伏场站",
  460. // icon: "",
  461. // permissions: ["jn_gfcz"],
  462. // },
  463. // children: [
  464. // {
  465. // path: "lighthome",
  466. // component: () =>
  467. // import(
  468. // "@/views/stateMonitor/factoryMonitor/photovoltaic/lighthome"
  469. // ),
  470. // name: "lighthome",
  471. // meta: {
  472. // title: "场站监视",
  473. // icon: "svg-station-surveillance",
  474. // permissions: ["jn_gfcz_czjs"],
  475. // },
  476. // },
  477. // {
  478. // path: "lightDataTarget",
  479. // component: () =>
  480. // import(
  481. // "@/views/stateMonitor/factoryMonitor/photovoltaic/lightDataTarget"
  482. // ),
  483. // name: "lightDataTarget",
  484. // meta: {
  485. // title: "数据指标",
  486. // permissions: ["jn_gfcz_sjzb"],
  487. // icon: "svg-s指标列表",
  488. // },
  489. // },
  490. // {
  491. // path: "lightMatrixMonitor",
  492. // component: () =>
  493. // import(
  494. // "@/views/stateMonitor/factoryMonitor/photovoltaic/lightMatrixMonitor"
  495. // ),
  496. // name: "lightMatrixMonitor",
  497. // meta: {
  498. // title: "矩阵监视",
  499. // permissions: ["jn_gfcz_jzjs"],
  500. // icon: "svg-matrix",
  501. // },
  502. // },
  503. // {
  504. // path: "lightMatrix",
  505. // component: () =>
  506. // import(
  507. // "@/views/stateMonitor/factoryMonitor/photovoltaic/lightMatrix"
  508. // ),
  509. // name: "lightMatrix",
  510. // meta: {
  511. // title: "分类矩阵",
  512. // permissions: ["jn_gfcz_fljz"],
  513. // icon: "svg-fljz",
  514. // },
  515. // },
  516. // {
  517. // path: "photovoltaicFacility",
  518. // component: () =>
  519. // import(
  520. // "@/views/stateMonitor/factoryMonitor/photovoltaic/photovoltaicFacility"
  521. // ),
  522. // name: "photovoltaicFacility",
  523. // meta: {
  524. // title: "光伏设备",
  525. // permissions: ["jn_gfcz_gfsb"],
  526. // icon: "svg-photovoltaic",
  527. // },
  528. // },
  529. // {
  530. // path: "lightBoosterStation",
  531. // component: () =>
  532. // import(
  533. // "@/views/stateMonitor/factoryMonitor/photovoltaic/lightBoosterStation"
  534. // ),
  535. // name: "lightBoosterStation",
  536. // meta: {
  537. // title: "升压站",
  538. // permissions: ["jn_gfcz_syz"],
  539. // icon: "svg-s升压站",
  540. // },
  541. // },
  542. // {
  543. // path: "lightGeomorphologicMap",
  544. // component: () =>
  545. // import(
  546. // "@/views/stateMonitor/factoryMonitor/photovoltaic/lightGeomorphologicMap"
  547. // ),
  548. // name: "lightGeomorphologicMap",
  549. // meta: {
  550. // title: "地貌图",
  551. // permissions: ["jn_gfcz_dmt"],
  552. // icon: "svg-s地图",
  553. // },
  554. // },
  555. // ],
  556. // },
  557. // ],
  558. // },
  559. {
  560. path: "alarmCenter", // 报警列表
  561. name: "alarmCenter",
  562. component: () => import("@/views/stateMonitor/alarmCenter/commonAlarm"),
  563. meta: {
  564. title: "报警列表",
  565. icon: "svg-alarm-center",
  566. permissions: ["jn_alarm"],
  567. },
  568. },
  569. /*{
  570. path: "agcmatrix", // AGC矩阵
  571. name: "AGCMatrix",
  572. component: () => import("@/views/stateMonitor/focus/agcDetails"),
  573. meta: {
  574. title: "AGC矩阵",
  575. icon: "svg-mx-matrix",
  576. permissions: ["jn_mxjz"],
  577. },
  578. }*/
  579. ],
  580. },
  581. //综合报警
  582. {
  583. path: "/integratedAlarm",
  584. component: () => import("@/views/IntegratedAlarm"),
  585. name: "integratedAlarm",
  586. meta: {
  587. title: "综合报警",
  588. icon: "",
  589. permissions: ["jn_integratedAlarm"],
  590. },
  591. children: [
  592. {
  593. path: "safe", // 综合报警
  594. name: "safe",
  595. component: () => import("@/views/IntegratedAlarm/safe"),
  596. meta: {
  597. title: "综合报警",
  598. icon: "svg-zhbj",
  599. permissions: ["jn_safe"],
  600. },
  601. children: [
  602. {
  603. path: "realwarning", // 综合报警
  604. name: "realwarning",
  605. component: () => import("@/views/IntegratedAlarm/safe/realWarning"),
  606. meta: {
  607. title: "实时报警",
  608. icon: "",
  609. permissions: ["jn_safe_ssbj"],
  610. },
  611. },
  612. {
  613. path: "historyWarning", // 报警查询
  614. name: "historyWarning",
  615. component: () =>
  616. import("@/views/IntegratedAlarm/safe/historyWarning"),
  617. meta: {
  618. title: "报警查询",
  619. icon: "",
  620. permissions: ["jn_safe_bjcx"],
  621. },
  622. },
  623. {
  624. path: "customWarning", // 预警查询
  625. name: "customWarning",
  626. component: () =>
  627. import("@/views/IntegratedAlarm/safe/customWarning"),
  628. meta: {
  629. title: "预警查询",
  630. icon: "",
  631. permissions: ["jn_safe_yjcx"],
  632. },
  633. },
  634. {
  635. path: "stopQuery", //停机查询
  636. name: "stopQuery",
  637. component: () => import("@/views/IntegratedAlarm/safe/stopQuery"),
  638. meta: {
  639. title: "停机查询",
  640. icon: "",
  641. permissions: ["jn_safe_tjcx"],
  642. },
  643. },
  644. {
  645. path: "dataSearch", //数据查询
  646. name: "dataSearch",
  647. component: () => import("@/views/IntegratedAlarm/safe/dataSearch"),
  648. meta: {
  649. title: "数据查询",
  650. icon: "",
  651. permissions: ["jn_safe_sjcx"],
  652. },
  653. },
  654. ],
  655. },
  656. {
  657. path: "reliability", // 可靠性分析
  658. name: "reliability",
  659. component: () => import("@/views/IntegratedAlarm/reliability"),
  660. meta: {
  661. title: "可靠性分析",
  662. icon: "svg-kkxfx",
  663. permissions: ["jn_reliability"],
  664. },
  665. children: [
  666. {
  667. path: "customAnalyse", // 预警分析
  668. name: "customAnalyse",
  669. component: () =>
  670. import("@/views/IntegratedAlarm/reliability/customAnalyse"),
  671. meta: {
  672. title: "预警分析",
  673. icon: "",
  674. permissions: ["jn_reliability_yjfx"],
  675. },
  676. },
  677. {
  678. path: "historyAnalyse", // 报警分析
  679. name: "historyAnalyse",
  680. component: () =>
  681. import("@/views/IntegratedAlarm/reliability/historyAnalyse"),
  682. meta: {
  683. title: "报警分析",
  684. icon: "",
  685. permissions: ["jn_reliability_bjfx"],
  686. },
  687. },
  688. ],
  689. },
  690. {
  691. path: "alarmConfig", // 报警配置
  692. name: "alarmConfig",
  693. component: () => import("@/views/IntegratedAlarm/alarmConfig"),
  694. meta: {
  695. title: "报警配置",
  696. icon: "svg-bjpz",
  697. permissions: ["jn_alarmConfig"],
  698. },
  699. children: [
  700. {
  701. path: "customConfig", // 预警配置
  702. name: "customConfig",
  703. component: () =>
  704. import("@/views/IntegratedAlarm/alarmConfig/customConfig"),
  705. meta: {
  706. title: "预警配置",
  707. icon: "",
  708. permissions: ["jn_safe_ssbj"],
  709. },
  710. },
  711. {
  712. path: "historyConfig", // 报警配置
  713. name: "historyConfig",
  714. component: () =>
  715. import("@/views/IntegratedAlarm/alarmConfig/historyConfig"),
  716. meta: {
  717. title: "报警配置",
  718. icon: "",
  719. permissions: ["jn_alarmConfig_bjpz"],
  720. },
  721. },
  722. {
  723. path: "logs", // 规则修改日志
  724. name: "logs",
  725. component: () => import("@/views/IntegratedAlarm/alarmConfig/logs"),
  726. meta: {
  727. title: "规则修改日志",
  728. icon: "",
  729. permissions: ["jn_alarmConfig_bjpz"],
  730. },
  731. },
  732. ],
  733. },
  734. {
  735. path: "deviceConfig", // 设备模型配置
  736. name: "deviceConfig",
  737. component: () => import("@/views/IntegratedAlarm/deviceConfig"),
  738. meta: {
  739. title: "设备模型配置",
  740. icon: "svg-bjpz",
  741. permissions: ["jn_alarmConfig"],
  742. },
  743. },
  744. ],
  745. },
  746. //经济运行
  747. {
  748. path: "/economicsOperation",
  749. redirect:
  750. "/economicsOperation/benchmarkingManagement/performanceRankingList",
  751. component: () =>
  752. import("@/views/economicsOperation/benchmarkingManagement"),
  753. name: "economicsOperation",
  754. meta: {
  755. title: "经济运行",
  756. icon: "",
  757. permissions: ["jn_economicsOperation"],
  758. },
  759. children: [
  760. //对标管理
  761. {
  762. path: "benchmarkingManagement",
  763. redirect: "benchmarkingManagement/performanceRankingList",
  764. component: () =>
  765. import("@/views/economicsOperation/benchmarkingManagement"),
  766. name: "benchmarkingManagement",
  767. meta: {
  768. title: "对标管理",
  769. icon: "svg-dbgl",
  770. permissions: ["jn_dbgl"],
  771. },
  772. children: [
  773. {
  774. path: "performanceRankingList",
  775. component: () =>
  776. import(
  777. "@/views/economicsOperation/benchmarkingManagement/performanceRankingList/index.vue"
  778. ),
  779. name: "performanceRankingList",
  780. meta: {
  781. title: "绩效榜",
  782. icon: "",
  783. permissions: ["jn_dbgl_jxb"],
  784. },
  785. },
  786. {
  787. path: "decision1Mx", //风机绩效榜明细
  788. name: "decision1Mx",
  789. component: () =>
  790. import(
  791. "@/views/economicsOperation/benchmarkingManagement/performanceRankingList/decision1Mx.vue"
  792. ),
  793. meta: {
  794. title: "风机绩效榜明细",
  795. icon: "",
  796. permissions: ["jn_dbgl_jxb"],
  797. },
  798. },
  799. {
  800. path: "loseRate",
  801. component: () =>
  802. import(
  803. "@/views/economicsOperation/benchmarkingManagement/loseRate/index.vue"
  804. ),
  805. name: "loseRate",
  806. meta: {
  807. title: "五项损失率",
  808. icon: "",
  809. permissions: ["jn_dbgl_wxssl"],
  810. },
  811. },
  812. // {
  813. // path: "companyBenchmarking",
  814. // component: () =>
  815. // import(
  816. // "@/views/economicsOperation/benchmarkingManagement/companyBenchmarking"
  817. // ),
  818. // name: "companyBenchmarking",
  819. // meta: {
  820. // title: "公司对标",
  821. // icon: "",
  822. // permissions: ["jn_dbgl_gsdb"],
  823. // },
  824. // },
  825. {
  826. path: "siteBenchmarking",
  827. component: () =>
  828. import(
  829. "@/views/economicsOperation/benchmarkingManagement/siteBenchmarking"
  830. ),
  831. name: "siteBenchmarking",
  832. meta: {
  833. title: "场内对标",
  834. icon: "",
  835. permissions: ["jn_dbgl_cndb"],
  836. },
  837. },
  838. {
  839. path: "intervalBenchmarking",
  840. component: () =>
  841. import(
  842. "@/views/economicsOperation/benchmarkingManagement/intervalBenchmarking"
  843. ),
  844. name: "intervalBenchmarking",
  845. meta: {
  846. title: "场际对标",
  847. icon: "",
  848. permissions: ["jn_dbgl_cjdb"],
  849. },
  850. },
  851. // {
  852. // path: "valueBenchmarking",
  853. // component: () =>
  854. // import(
  855. // "@/views/economicsOperation/benchmarkingManagement/valueBenchmarking"
  856. // ),
  857. // name: "valueBenchmarking",
  858. // meta: {
  859. // title: "值际对标",
  860. // icon: "",
  861. // },
  862. // },
  863. {
  864. path: "projectBenchmarking",
  865. component: () =>
  866. import(
  867. "@/views/economicsOperation/benchmarkingManagement/projectBenchmarking"
  868. ),
  869. name: "projectBenchmarking",
  870. meta: {
  871. title: "项目对标",
  872. icon: "",
  873. permissions: ["jn_dbgl_xmdb"],
  874. },
  875. },
  876. {
  877. path: "wiringBenchmarking",
  878. component: () =>
  879. import(
  880. "@/views/economicsOperation/benchmarkingManagement/wiringBenchmarking"
  881. ),
  882. name: "wiringBenchmarking",
  883. meta: {
  884. title: "线路对标",
  885. icon: "",
  886. permissions: ["jn_dbgl_xldb"],
  887. },
  888. },
  889. // {
  890. // path: "singleMachineBenchmarking",
  891. // component: () =>
  892. // import(
  893. // "@/views/economicsOperation/benchmarkingManagement/singleMachineBenchmarking"
  894. // ),
  895. // name: "singleMachineBenchmarking",
  896. // meta: {
  897. // title: "单机对标",
  898. // icon: "",
  899. // },
  900. // },
  901. ],
  902. },
  903. //专题分析
  904. {
  905. path: "thematicAnalysis",
  906. redirect: "thematicAnalysis/comprehensiveAnalysis",
  907. component: () => import("@/views/economicsOperation/thematicAnalysis"),
  908. name: "thematicAnalysis",
  909. meta: {
  910. title: "专题分析",
  911. icon: "svg-ztfx",
  912. permissions: ["jn_ztfx"],
  913. },
  914. children: [
  915. {
  916. path: "comprehensiveAnalysis",
  917. component: () =>
  918. import(
  919. "@/views/economicsOperation/thematicAnalysis/comprehensiveAnalysis"
  920. ),
  921. name: "comprehensiveAnalysis",
  922. meta: {
  923. title: "综合分析",
  924. icon: "",
  925. permissions: ["jn_ztfx_zhfx"],
  926. },
  927. },
  928. {
  929. path: "windEnergy",
  930. component: () =>
  931. import("@/views/economicsOperation/thematicAnalysis/windEnergy"),
  932. name: "windEnergy",
  933. meta: {
  934. title: "风光能利用率",
  935. icon: "",
  936. permissions: ["jn_ztfx_fnlyl"],
  937. },
  938. },
  939. {
  940. path: "failure",
  941. component: () =>
  942. import("@/views/economicsOperation/thematicAnalysis/failure"),
  943. name: "failure",
  944. meta: {
  945. title: "五项损失率",
  946. icon: "",
  947. permissions: ["jn_ztfx_wxssl"],
  948. },
  949. },
  950. {
  951. path: "MTBF",
  952. component: () =>
  953. import("@/views/economicsOperation/thematicAnalysis/MTBF"),
  954. name: "MTBF",
  955. meta: {
  956. title: "可靠性分析",
  957. icon: "",
  958. permissions: ["jn_ztfx_kkxfx"],
  959. },
  960. },
  961. {
  962. path: "generation",
  963. component: () =>
  964. import("@/views/economicsOperation/thematicAnalysis/generation"),
  965. name: "generation",
  966. meta: {
  967. title: "发电量分析",
  968. icon: "",
  969. permissions: ["jn_ztfx_dlfx"],
  970. },
  971. },
  972. ],
  973. },
  974. //场站分析
  975. {
  976. path: "stationAnalyse",
  977. component: () => import("@/views/economicsOperation/stationAnalyse"),
  978. name: "StationAnalyse",
  979. meta: {
  980. title: "场站分析",
  981. icon: "svg-fddl",
  982. permissions: ["jn_czfx"],
  983. },
  984. children: [
  985. {
  986. path: "electricAnalyse",
  987. component: () =>
  988. import(
  989. "@/views/economicsOperation/stationAnalyse/electricAnalyse"
  990. ),
  991. name: "ElectricAnalyse",
  992. meta: {
  993. title: "发电量分析",
  994. icon: "",
  995. permissions: ["jn_czfx_fdlfx"],
  996. },
  997. },
  998. {
  999. path: "stationElectricAnalyse",
  1000. component: () =>
  1001. import(
  1002. "@/views/economicsOperation/stationAnalyse/stationElectricAnalyse"
  1003. ),
  1004. name: "StationElectricAnalyse",
  1005. meta: {
  1006. title: "综合场用电量分析",
  1007. icon: "",
  1008. permissions: ["jn_czfx_zhcydlfx"],
  1009. },
  1010. },
  1011. {
  1012. path: "WindAndPhotovoltaic",
  1013. component: () =>
  1014. import(
  1015. "@/views/economicsOperation/stationAnalyse/windAndPhotovoltaic"
  1016. ),
  1017. name: "WindAndPhotovoltaic",
  1018. meta: {
  1019. title: "风光资源分析",
  1020. icon: "",
  1021. permissions: ["jn_czfx_fgzyfx"],
  1022. },
  1023. },
  1024. ],
  1025. },
  1026. //风电分析
  1027. {
  1028. path: "windAnalyse",
  1029. component: () => import("@/views/economicsOperation/windAnalyse"),
  1030. name: "WindAnalyse",
  1031. meta: {
  1032. title: "风电分析",
  1033. icon: "svg-fdfx",
  1034. permissions: ["jn_fdfx"],
  1035. },
  1036. children: [
  1037. {
  1038. path: "stateTransition",
  1039. component: () =>
  1040. import(
  1041. "@/views/economicsOperation/windAnalyse/stateTransition/index.vue"
  1042. ),
  1043. name: "stateTransition",
  1044. meta: {
  1045. title: "状态时间分析",
  1046. icon: "",
  1047. permissions: ["jn_fdfx_ztzhfx"],
  1048. },
  1049. },
  1050. {
  1051. path: "timeTransition",
  1052. component: () =>
  1053. import(
  1054. "@/views/economicsOperation/windAnalyse/timeTransition/index.vue"
  1055. ),
  1056. name: "timeTransition",
  1057. meta: {
  1058. title: "状态转换分析",
  1059. icon: "",
  1060. permissions: ["jn_fdfx_ztsjfx"],
  1061. },
  1062. },
  1063. {
  1064. path: "powerAnalyse",
  1065. component: () =>
  1066. import("@/views/economicsOperation/windAnalyse/powerCurve"),
  1067. name: "PowerCurve",
  1068. meta: {
  1069. title: "功率曲线拟合",
  1070. icon: "",
  1071. permissions: ["jn_fdfx_glqxnh"],
  1072. },
  1073. },
  1074. {
  1075. path: "powerSearch",
  1076. component: () =>
  1077. import("@/views/economicsOperation/windAnalyse/powerSearch"),
  1078. name: "PowerSearch",
  1079. meta: {
  1080. title: "功率曲线查询",
  1081. icon: "",
  1082. permissions: ["jn_fdfx_glqxcx"],
  1083. },
  1084. },
  1085. {
  1086. path: "qxpclfx",
  1087. component: () =>
  1088. import(
  1089. "@/views/economicsOperation/windAnalyse/qxpclfx/index.vue"
  1090. ),
  1091. name: "Qxpclfx",
  1092. meta: {
  1093. title: "曲线偏差率分析",
  1094. icon: "",
  1095. permissions: ["jn_fdfx_qxpclfx"],
  1096. },
  1097. },
  1098. {
  1099. path: "qxqjpcl",
  1100. component: () =>
  1101. import(
  1102. "@/views/economicsOperation/windAnalyse/qxqjpcl/index.vue"
  1103. ),
  1104. name: "Qxqjpcl",
  1105. meta: {
  1106. title: "曲线区间偏差率分析",
  1107. icon: "",
  1108. permissions: ["jn_fdfx_qxpclfx"],
  1109. },
  1110. },
  1111. {
  1112. path: "cutInAndOutAnalysis",
  1113. component: () =>
  1114. import(
  1115. "@/views/economicsOperation/windAnalyse/cutInAndOutAnalysis/index.vue"
  1116. ),
  1117. name: "CutInAndOutAnalysis",
  1118. meta: {
  1119. title: "切入切出分析",
  1120. icon: "",
  1121. permissions: ["jn_fdfx_qrqcfx"],
  1122. },
  1123. },
  1124. {
  1125. path: "singleWindAnasyle",
  1126. component: () =>
  1127. import(
  1128. "@/views/economicsOperation/windAnalyse/singleWindAnasyle/index.vue"
  1129. ),
  1130. name: "SingleWindAnasyle",
  1131. meta: {
  1132. title: "单机性能分析",
  1133. icon: "",
  1134. permissions: ["jn_fdfx_djxnfx"],
  1135. },
  1136. },
  1137. {
  1138. path: "monthlyAnalysis",
  1139. component: () =>
  1140. import(
  1141. "@/views/economicsOperation/windAnalyse/monthlyAnalysis/index.vue"
  1142. ),
  1143. name: "MonthlyAnalysis",
  1144. meta: {
  1145. title: "单机月度分析",
  1146. icon: "",
  1147. permissions: ["jn_fdfx_djydfx"],
  1148. },
  1149. },
  1150. {
  1151. path: "performanceAssess",
  1152. component: () =>
  1153. import(
  1154. "@/views/economicsOperation/windAnalyse/performanceAssess/index.vue"
  1155. ),
  1156. name: "PerformanceAssess",
  1157. meta: {
  1158. title: "性能等级评估",
  1159. icon: "",
  1160. permissions: ["jn_fdfx_xndjpg"],
  1161. },
  1162. },
  1163. ],
  1164. },
  1165. //光伏分析
  1166. {
  1167. path: "photovoltaicAnalyse",
  1168. redirect: "analyse/standAloneAnalyse",
  1169. component: () =>
  1170. import("@/views/economicsOperation/photovoltaicAnalyse"),
  1171. name: "PhotovoltaicAnalyse",
  1172. meta: {
  1173. title: "光伏分析",
  1174. icon: "svg-gffx",
  1175. permissions: ["jn_gffx"],
  1176. },
  1177. children: [
  1178. {
  1179. path: "gfstateTransition",
  1180. component: () =>
  1181. import(
  1182. "@/views/economicsOperation/photovoltaicAnalyse/stateTransition/index.vue"
  1183. ),
  1184. name: "gfstateTransition",
  1185. meta: {
  1186. title: "状态时间分析",
  1187. icon: "",
  1188. permissions: ["jn_gffx_ztzhfx"],
  1189. },
  1190. },
  1191. {
  1192. path: "gftimeTransition",
  1193. component: () =>
  1194. import(
  1195. "@/views/economicsOperation/photovoltaicAnalyse/timeTransition/index.vue"
  1196. ),
  1197. name: "gftimeTransition",
  1198. meta: {
  1199. title: "状态转换分析",
  1200. icon: "",
  1201. permissions: ["jn_gffx_ztsjfx"],
  1202. },
  1203. },
  1204. {
  1205. path: "powerHotAnalyse",
  1206. component: () =>
  1207. import(
  1208. "@/views/economicsOperation/photovoltaicAnalyse/powerHotAnalyse"
  1209. ),
  1210. name: "PowerHotAnalyse",
  1211. meta: {
  1212. title: "功率曲线拟合",
  1213. icon: "",
  1214. permissions: ["jn_gffx_glwdfx"],
  1215. },
  1216. },
  1217. {
  1218. path: "powerAnalyse",
  1219. component: () =>
  1220. import(
  1221. "@/views/economicsOperation/photovoltaicAnalyse/powerAnalyse"
  1222. ),
  1223. name: "PowerAnalyse",
  1224. meta: {
  1225. title: "功率曲线查询",
  1226. icon: "",
  1227. permissions: ["jn_gffx_glqxnh"],
  1228. },
  1229. },
  1230. {
  1231. path: "lslfx",
  1232. component: () =>
  1233. import("@/views/economicsOperation/photovoltaicAnalyse/lslfx"),
  1234. name: "Lslfx",
  1235. meta: {
  1236. title: "离散率分析",
  1237. icon: "",
  1238. permissions: ["jn_gffx_lslfx"],
  1239. },
  1240. },
  1241. {
  1242. path: "prAnalyse",
  1243. component: () =>
  1244. import(
  1245. "@/views/economicsOperation/photovoltaicAnalyse/prAnalyse"
  1246. ),
  1247. name: "PrAnalyse",
  1248. meta: {
  1249. title: "系统效率分析",
  1250. icon: "",
  1251. permissions: ["jn_gffx_xtxlfx"],
  1252. },
  1253. },
  1254. {
  1255. path: "performanceEvaluation",
  1256. component: () =>
  1257. import(
  1258. "@/views/economicsOperation/photovoltaicAnalyse/performanceEvaluation"
  1259. ),
  1260. name: "PerformanceEvaluation",
  1261. meta: {
  1262. title: "性能等级评估",
  1263. icon: "",
  1264. permissions: ["jn_gffx_xndjpg"],
  1265. },
  1266. },
  1267. ],
  1268. },
  1269. //管控效率
  1270. {
  1271. path: "efficiency",
  1272. redirect: "efficiency/restorationEfficiency",
  1273. component: () => import("@/views/economicsOperation/efficiency"),
  1274. name: "efficiency",
  1275. meta: {
  1276. title: "管控效率",
  1277. icon: "svg-dimension-new",
  1278. permissions: ["jn_slgl"],
  1279. },
  1280. children: [
  1281. {
  1282. path: "restorationEfficiency",
  1283. component: () =>
  1284. import(
  1285. "@/views/economicsOperation/efficiency/restorationEfficiency"
  1286. ),
  1287. name: "restorationEfficiency",
  1288. meta: {
  1289. title: "复位及时率",
  1290. icon: "",
  1291. permissions: ["jn_slgl_fwjsl"],
  1292. },
  1293. },
  1294. {
  1295. path: "consumeEfficiency",
  1296. component: () =>
  1297. import("@/views/economicsOperation/efficiency/consumeEfficiency"),
  1298. name: "consumeEfficiency",
  1299. meta: {
  1300. title: "消缺及时率",
  1301. icon: "",
  1302. permissions: ["jn_slgl_xqjsl"],
  1303. },
  1304. },
  1305. {
  1306. path: "stateEfficiency",
  1307. component: () =>
  1308. import("@/views/economicsOperation/efficiency/stateEfficiency"),
  1309. name: "stateEfficiency",
  1310. meta: {
  1311. title: "状态转换率",
  1312. icon: "",
  1313. permissions: ["jn_slgl_ztzhl"],
  1314. },
  1315. },
  1316. ],
  1317. },
  1318. //综合管控KPI
  1319. {
  1320. path: "comprehensiveControl",
  1321. redirect: "comprehensiveControl/running",
  1322. component: () =>
  1323. import("@/views/economicsOperation/comprehensiveControl"),
  1324. name: "comprehensiveControl",
  1325. meta: {
  1326. title: "综合管控KPI",
  1327. icon: "svg-zhgk",
  1328. permissions: ["jn_zhgk"],
  1329. },
  1330. children: [
  1331. {
  1332. path: "running",
  1333. component: () =>
  1334. import(
  1335. "@/views/economicsOperation/comprehensiveControl/runningKPI/index.vue"
  1336. ),
  1337. name: "running",
  1338. meta: {
  1339. title: "运行KPI",
  1340. icon: "",
  1341. permissions: ["jn_zhgk_yx"],
  1342. },
  1343. },
  1344. {
  1345. path: "maintenance",
  1346. component: () =>
  1347. import(
  1348. "@/views/economicsOperation/comprehensiveControl/maintenanceKPI/index.vue"
  1349. ),
  1350. name: "maintenance",
  1351. meta: {
  1352. title: "检修KPI",
  1353. icon: "",
  1354. permissions: ["jn_zhgk_jx"],
  1355. },
  1356. },
  1357. {
  1358. path: "stationControl",
  1359. component: () =>
  1360. import(
  1361. "@/views/economicsOperation/comprehensiveControl/stationControlKPI/index.vue"
  1362. ),
  1363. name: "stationControl",
  1364. meta: {
  1365. title: "场站管控KPI",
  1366. icon: "",
  1367. permissions: ["jn_zhgk_czgk"],
  1368. },
  1369. },
  1370. ],
  1371. },
  1372. ],
  1373. },
  1374. //智慧检修
  1375. {
  1376. path: "/health",
  1377. redirect: "/health/healthManagement/first",
  1378. component: () => import("@/views/HealthControl"),
  1379. name: "health",
  1380. meta: {
  1381. title: "智慧检修",
  1382. icon: "",
  1383. permissions: ["jn_health"],
  1384. },
  1385. children: [
  1386. {
  1387. path: "healthManagement",
  1388. component: () => import("@/views/HealthControl/healthManagement"),
  1389. name: "healthManagement",
  1390. meta: {
  1391. title: "风电健康管理",
  1392. icon: "svg-fjjkd",
  1393. permissions: ["jn_jkgl"],
  1394. },
  1395. children: [
  1396. {
  1397. path: "first",
  1398. component: () =>
  1399. import("@/views/HealthControl/healthManagement/first/index.vue"),
  1400. name: "first",
  1401. meta: {
  1402. title: "健康推荐",
  1403. icon: "",
  1404. permissions: ["jn_jkgl_jktj"],
  1405. },
  1406. },
  1407. {
  1408. path: "homepage",
  1409. component: () =>
  1410. import(
  1411. "@/views/HealthControl/healthManagement/homepage/index.vue"
  1412. ),
  1413. name: "homepage",
  1414. meta: {
  1415. title: "健康首页",
  1416. icon: "",
  1417. permissions: ["jn_jkgl_jksy"],
  1418. },
  1419. },
  1420. {
  1421. path: "overview",
  1422. component: () =>
  1423. import(
  1424. "@/views/HealthControl/healthManagement/overview/index.vue"
  1425. ),
  1426. name: "overview",
  1427. meta: {
  1428. title: "健康总览",
  1429. icon: "",
  1430. permissions: ["jn_jkgl_jkzl"],
  1431. },
  1432. },
  1433. {
  1434. path: "healthMatrix",
  1435. component: () =>
  1436. import(
  1437. "@/views/HealthControl/healthManagement/healthMatrix/index.vue"
  1438. ),
  1439. name: "healthMatrix",
  1440. meta: {
  1441. title: "健康矩阵",
  1442. icon: "",
  1443. permissions: ["jn_jkgl_jkjz"],
  1444. },
  1445. },
  1446. {
  1447. path: "healthList",
  1448. component: () =>
  1449. import(
  1450. "@/views/HealthControl/healthManagement/healthList/index.vue"
  1451. ),
  1452. name: "healthList",
  1453. meta: {
  1454. title: "健康列表",
  1455. icon: "",
  1456. permissions: ["jn_jkgl_jklb"],
  1457. },
  1458. },
  1459. {
  1460. path: "badStateAnalyse/:wpId/:wtId",
  1461. component: () =>
  1462. import(
  1463. "@/views/HealthControl/healthManagement/badStateAnalyse/index.vue"
  1464. ),
  1465. name: "badStateAnalyse",
  1466. meta: {
  1467. title: "劣化状态分析",
  1468. icon: "",
  1469. permissions: ["jn_jkgl_lhztfx"],
  1470. },
  1471. },
  1472. // {
  1473. // path: "wtSaturability",
  1474. // component: () =>
  1475. // import(
  1476. // "@/views/HealthControl/healthManagement/wtSaturability/index.vue"
  1477. // ),
  1478. // name: "wtSaturability",
  1479. // meta: {
  1480. // title: "单机饱和度",
  1481. // icon: "",
  1482. // permissions: ["jn_nxfx_djbhd"],
  1483. // },
  1484. // },
  1485. {
  1486. path: "temperatureAnalysis",
  1487. component: () =>
  1488. import(
  1489. "@/views/HealthControl/healthManagement/temperatureAnalysis/index.vue"
  1490. ),
  1491. name: "temperatureAnalysis",
  1492. meta: {
  1493. title: "部件温度分析",
  1494. icon: "",
  1495. permissions: ["jn_jkgl_bjwd"],
  1496. },
  1497. },
  1498. ],
  1499. },
  1500. {
  1501. path: "gfHealthManagement",
  1502. component: () => import("@/views/HealthControl/gfHealthManagement"),
  1503. name: "gfHealthManagement",
  1504. meta: {
  1505. title: "光伏健康管理",
  1506. icon: "svg-gfjkd",
  1507. permissions: ["jn_gfjkgl"],
  1508. },
  1509. },
  1510. // {
  1511. // path: "energyEfficAnalyse",
  1512. // redirect: "energyEfficAnalyse/healthPowerCurve",
  1513. // component: () => import("@/views/HealthControl/energyEfficAnalyse"),
  1514. // name: "energyEfficAnalyse",
  1515. // meta: {
  1516. // title: "能效分析",
  1517. // icon: "svg-能效分析",
  1518. // permissions: ["jn_nxfx"],
  1519. // },
  1520. // children: [
  1521. // {
  1522. // path: "evaluationAnalysis",
  1523. // component: () =>
  1524. // import(
  1525. // "@/views/HealthControl/energyEfficAnalyse/evaluationAnalysis/index.vue"
  1526. // ),
  1527. // name: "evaluationAnalysis",
  1528. // meta: {
  1529. // title: "预警评判分析",
  1530. // icon: "",
  1531. // permissions: ["jn_nxfx_yjpp"],
  1532. // },
  1533. // },
  1534. // {
  1535. // path: "malfunctionAnalysis",
  1536. // component: () =>
  1537. // import(
  1538. // "@/views/HealthControl/energyEfficAnalyse/malfunctionAnalysis/index.vue"
  1539. // ),
  1540. // name: "malfunctionAnalysis",
  1541. // meta: {
  1542. // title: "故障评判分析",
  1543. // icon: "",
  1544. // permissions: ["jn_nxfx_gzpp"],
  1545. // },
  1546. // },
  1547. // {
  1548. // path: "powerAnalysis",
  1549. // component: () =>
  1550. // import(
  1551. // "@/views/HealthControl/energyEfficAnalyse/powerAnalysis/index.vue"
  1552. // ),
  1553. // name: "powerAnalysis",
  1554. // meta: {
  1555. // title: "部件功率分析",
  1556. // icon: "",
  1557. // permissions: ["jn_nxfx_gzpp"],
  1558. // },
  1559. // },
  1560. // ],
  1561. // },
  1562. {
  1563. path: "healthDetail",
  1564. redirect: "healthDetail/wpHealth",
  1565. component: () => import("@/views/HealthControl/healthDetail"),
  1566. name: "healthDetail",
  1567. hidden: true,
  1568. meta: {
  1569. title: "健康详情",
  1570. icon: "",
  1571. permissions: ["jn_jkgl"],
  1572. },
  1573. children: [
  1574. {
  1575. path: "wpHealth/:wpId/:wpName?", // 场站健康管理
  1576. name: "health3",
  1577. component: () =>
  1578. import("@/views/HealthControl/healthDetail/wpHealth"),
  1579. meta: {
  1580. title: "场站健康管理",
  1581. icon: "",
  1582. permissions: ["jn_jkgl"],
  1583. },
  1584. },
  1585. {
  1586. path: "wtHealth/:wpId/:wtId", //设备健康详情
  1587. name: "health0",
  1588. component: () =>
  1589. import("@/views/HealthControl/healthDetail/wtHealth"),
  1590. meta: {
  1591. title: "设备健康详情",
  1592. icon: "",
  1593. permissions: ["jn_jkgl"],
  1594. },
  1595. },
  1596. {
  1597. path: "healthTrend/:wpId/:wtId", //设备健康详情
  1598. name: "healthTrend",
  1599. component: () =>
  1600. import("@/views/HealthControl/healthDetail/healthTrend"),
  1601. meta: {
  1602. title: "健康趋势",
  1603. icon: "",
  1604. permissions: ["jn_jkgl"],
  1605. },
  1606. },
  1607. {
  1608. path: "badState/:wpId/:wtId", //设备健康详情
  1609. name: "",
  1610. component: () =>
  1611. import("@/views/HealthControl/healthManagement/badStateAnalyse"),
  1612. meta: {
  1613. title: "劣化状态分析曲线",
  1614. icon: "",
  1615. permissions: ["jn_jkgl"],
  1616. },
  1617. },
  1618. ],
  1619. },
  1620. ],
  1621. },
  1622. //发电能力分析
  1623. {
  1624. path: "/powerGenerating",
  1625. name: "powerGenerating",
  1626. meta: {
  1627. title: "发电能力分析",
  1628. icon: "",
  1629. permissions: ["jn_zhbb"],
  1630. },
  1631. // component: () => import("@/views/report/index copy.vue"),
  1632. component: () => import("@/views/powerGenerating"),
  1633. children: [
  1634. {
  1635. path: "dataFilter",
  1636. name: "dataFilter",
  1637. meta: {
  1638. title: "数据准备",
  1639. icon: "svg-prepare",
  1640. permissions: ["jn_dlbb"],
  1641. },
  1642. component: () => import("@/views/powerGenerating/dataFilter"),
  1643. children: [
  1644. {
  1645. path: "prepare",
  1646. name: "prepare",
  1647. component: () =>
  1648. import("@/views/powerGenerating/dataFilter/prepare"),
  1649. meta: {
  1650. title: "风电数据准备",
  1651. icon: "",
  1652. permissions: ["jn_dlbb_dmb"],
  1653. },
  1654. },
  1655. {
  1656. path: "process",
  1657. name: "process",
  1658. component: () =>
  1659. import("@/views/powerGenerating/dataFilter/process"),
  1660. meta: {
  1661. title: "风电数据处理",
  1662. icon: "",
  1663. permissions: ["jn_dlbb_dmb"],
  1664. },
  1665. },
  1666. {
  1667. path: "lightPrepare",
  1668. name: "lightPrepare",
  1669. component: () =>
  1670. import("@/views/powerGenerating/dataFilter/lightPrepare"),
  1671. meta: {
  1672. title: "光伏数据准备",
  1673. icon: "",
  1674. permissions: ["jn_dlbb_dmb"],
  1675. },
  1676. },
  1677. ],
  1678. },
  1679. {
  1680. path: "windAnalyse",
  1681. name: "windAnalyse",
  1682. meta: {
  1683. title: "风电分析",
  1684. icon: "svg-wind-site",
  1685. permissions: ["jn_dlbb"],
  1686. },
  1687. component: () => import("@/views/powerGenerating/windAnalyse"),
  1688. children: [
  1689. {
  1690. path: "combine",
  1691. name: "combine",
  1692. component: () =>
  1693. import("@/views/powerGenerating/windAnalyse/combine"),
  1694. meta: {
  1695. title: "功率曲线拟合分析",
  1696. icon: "",
  1697. permissions: ["jn_dlbb_dmb"],
  1698. },
  1699. },
  1700. {
  1701. path: "rateAnalysis",
  1702. name: "rateAnalysis",
  1703. component: () =>
  1704. import("@/views/powerGenerating/windAnalyse/rateAnalysis"),
  1705. meta: {
  1706. title: "对风偏差分析",
  1707. icon: "",
  1708. permissions: ["jn_dlbb_dmb"],
  1709. },
  1710. },
  1711. {
  1712. path: "lineAnalysis",
  1713. name: "lineAnalysis",
  1714. component: () =>
  1715. import("@/views/powerGenerating/windAnalyse/lineAnalysis"),
  1716. meta: {
  1717. title: "曲线偏差率分析",
  1718. icon: "",
  1719. permissions: ["jn_dlbb_dmb"],
  1720. },
  1721. },
  1722. {
  1723. path: "hotAnalysis",
  1724. name: "hotAnalysis",
  1725. component: () =>
  1726. import("@/views/powerGenerating/windAnalyse/hotAnalysis"),
  1727. meta: {
  1728. title: "温度与功率分析",
  1729. icon: "",
  1730. permissions: ["jn_dlbb_dmb"],
  1731. },
  1732. },
  1733. {
  1734. path: "loseAnalysis",
  1735. name: "loseAnalysis",
  1736. component: () =>
  1737. import("@/views/powerGenerating/windAnalyse/loseAnalysis"),
  1738. meta: {
  1739. title: "损失电量分析",
  1740. icon: "",
  1741. permissions: ["jn_dlbb_dmb"],
  1742. },
  1743. },
  1744. {
  1745. path: "posAnalysis",
  1746. name: "posAnalysis",
  1747. component: () =>
  1748. import("@/views/powerGenerating/windAnalyse/posAnalysis"),
  1749. meta: {
  1750. title: "微观选址分析",
  1751. icon: "",
  1752. permissions: ["jn_dlbb_dmb"],
  1753. },
  1754. },
  1755. {
  1756. path: "spaceAnalysis",
  1757. name: "spaceAnalysis",
  1758. component: () =>
  1759. import("@/views/powerGenerating/windAnalyse/spaceAnalysis"),
  1760. meta: {
  1761. title: "毛容量分析",
  1762. icon: "",
  1763. permissions: ["jn_dlbb_dmb"],
  1764. },
  1765. },
  1766. {
  1767. path: "angleAnalysis",
  1768. name: "angleAnalysis",
  1769. component: () =>
  1770. import("@/views/powerGenerating/windAnalyse/angleAnalysis"),
  1771. meta: {
  1772. title: "桨距角分析",
  1773. icon: "",
  1774. permissions: ["jn_dlbb_dmb"],
  1775. },
  1776. },
  1777. {
  1778. path: "agcAnalysis",
  1779. name: "agcAnalysis",
  1780. component: () =>
  1781. import("@/views/powerGenerating/windAnalyse/agcAnalysis"),
  1782. meta: {
  1783. title: "AGC曲线偏差分析",
  1784. icon: "",
  1785. permissions: ["jn_dlbb_dmb"],
  1786. },
  1787. },
  1788. ],
  1789. },
  1790. {
  1791. path: "lightAnalyse",
  1792. name: "lightAnalyse",
  1793. meta: {
  1794. title: "光伏分析",
  1795. icon: "svg-photovoltaic",
  1796. permissions: ["jn_dlbb"],
  1797. },
  1798. component: () => import("@/views/powerGenerating/lightAnalyse"),
  1799. children: [
  1800. {
  1801. path: "glAnalysis",
  1802. name: "glAnalysis",
  1803. component: () =>
  1804. import("@/views/powerGenerating/lightAnalyse/glAnalysis"),
  1805. meta: {
  1806. title: "功率曲线分析",
  1807. icon: "",
  1808. permissions: ["jn_dlbb_dmb"],
  1809. },
  1810. },
  1811. {
  1812. path: "glHotAnalysis",
  1813. name: "glHotAnalysis",
  1814. component: () =>
  1815. import("@/views/powerGenerating/lightAnalyse/glHotAnalysis"),
  1816. meta: {
  1817. title: "功率光照曲线分析",
  1818. icon: "",
  1819. permissions: ["jn_dlbb_dmb"],
  1820. },
  1821. },
  1822. ],
  1823. },
  1824. ],
  1825. },
  1826. // 智能报表
  1827. {
  1828. path: "/report",
  1829. name: "report",
  1830. meta: {
  1831. title: "智能报表",
  1832. icon: "",
  1833. permissions: ["jn_zhbb"],
  1834. },
  1835. // component: () => import("@/views/report/index copy.vue"),
  1836. component: () => import("@/views/report"),
  1837. children: [
  1838. {
  1839. path: "report",
  1840. redirect: "report/gjyrbb",
  1841. name: "report",
  1842. meta: {
  1843. title: "自定制报表管理",
  1844. icon: "svg-自定制报表管理",
  1845. permissions: ["jn_zdz"],
  1846. },
  1847. component: () => import("@/views/report/stationReport"),
  1848. children: [
  1849. {
  1850. path: "fdxnyrb",
  1851. name: "fdxnyrb",
  1852. component: () => import("@/views/report/stationReport/fdxnyrb"),
  1853. meta: {
  1854. title: "晋能清洁能源风电日报",
  1855. icon: "",
  1856. permissions: ["jn_zdz_fdxnyrb"],
  1857. },
  1858. },
  1859. {
  1860. path: "gfxnyrb",
  1861. name: "gfxnyrb",
  1862. component: () => import("@/views/report/stationReport/gfxnyrb"),
  1863. meta: {
  1864. title: "晋能清洁能源光伏日报",
  1865. icon: "",
  1866. permissions: ["jn_zdz_gfxnyrb"],
  1867. },
  1868. },
  1869. {
  1870. path: "scrb",
  1871. name: "scrb",
  1872. component: () => import("@/views/report/stationReport/scrb"),
  1873. meta: {
  1874. title: "晋能清洁能源生产日报",
  1875. icon: "",
  1876. permissions: ["jn_zdz_scrb"],
  1877. },
  1878. },
  1879. // {
  1880. // path: "gjyrbb",
  1881. // name: "gjyrbb",
  1882. // component: () => import("@/views/report/stationReport/rbb"),
  1883. // meta: {
  1884. // title: "日报表",
  1885. // icon: "",
  1886. // permissions: ["jn_zdz_rbb"],
  1887. // },
  1888. // },
  1889. {
  1890. path: "fczybb",
  1891. name: "fczybb",
  1892. component: () => import("@/views/report/stationReport/fczybb"),
  1893. meta: {
  1894. title: "风场自由报表",
  1895. icon: "",
  1896. permissions: ["jn_zdz_fdcz"],
  1897. },
  1898. },
  1899. {
  1900. path: "xmzybb",
  1901. name: "xmzybb",
  1902. component: () => import("@/views/report/stationReport/xmzybb"),
  1903. meta: {
  1904. title: "项目自由报表",
  1905. icon: "",
  1906. permissions: ["jn_zdz_fdxm"],
  1907. },
  1908. },
  1909. // {
  1910. // path: "fdczzdy",
  1911. // name: "fdczzdy",
  1912. // component: () => import("@/views/report/stationReport/fdczzdy"),
  1913. // meta: {
  1914. // title: "风电场站自定义",
  1915. // icon: "",
  1916. // permissions: ["jn_zdz_fdcz"],
  1917. // },
  1918. // },
  1919. // {
  1920. // path: "fdxmzdy",
  1921. // name: "fdxmzdy",
  1922. // component: () => import("@/views/report/stationReport/fdxmzdy"),
  1923. // meta: {
  1924. // title: "风电项目自定义",
  1925. // icon: "",
  1926. // permissions: ["jn_zdz_fdxm"],
  1927. // },
  1928. // },
  1929. ],
  1930. },
  1931. {
  1932. path: "electricReport",
  1933. redirect: "electricReport/dmb",
  1934. name: "electricReport",
  1935. meta: {
  1936. title: "电量报表",
  1937. icon: "svg-dlbb",
  1938. permissions: ["jn_dlbb"],
  1939. },
  1940. component: () => import("@/views/electricReport/dmb"),
  1941. children: [
  1942. {
  1943. path: "dmb",
  1944. name: "dmb",
  1945. component: () => import("@/views/electricReport/dmb"),
  1946. meta: {
  1947. title: "底码表",
  1948. icon: "",
  1949. permissions: ["jn_dlbb_dmb"],
  1950. },
  1951. },
  1952. ],
  1953. },
  1954. ],
  1955. },
  1956. ];
  1957. const router = createRouter({
  1958. history: createWebHashHistory(),
  1959. base: "/nem/",
  1960. routes: [...constantRoutes, ...asyncRoutes],
  1961. });
  1962. // router.beforeEach((to, from, next) => {
  1963. // next();
  1964. // });
  1965. export default router;