index.js 49 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655
  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: "windPower",
  114. component: () =>
  115. import(
  116. "@/views/stateMonitor/factoryMonitor/windPowerPlant/windPower"
  117. ),
  118. name: "windPower",
  119. meta: {
  120. title: "测风塔",
  121. permissions: ["jn_fdcz_cft"],
  122. icon: "svg-s测风塔",
  123. },
  124. },
  125. {
  126. path: "geomorphologicMap",
  127. component: () =>
  128. import(
  129. "@/views/stateMonitor/factoryMonitor/windPowerPlant/geomorphologicMap"
  130. ),
  131. name: "geomorphologicMap",
  132. meta: {
  133. title: "地貌图",
  134. permissions: ["jn_fdcz_dmt"],
  135. icon: "svg-s地图",
  136. },
  137. },
  138. ],
  139. },
  140. {
  141. path: "factoryMonitor/photovoltaic",
  142. redirect: { name: "lighthome" },
  143. component: () =>
  144. import("@/views/stateMonitor/factoryMonitor/photovoltaic"),
  145. name: "photovoltaic",
  146. meta: {
  147. title: "光伏场站",
  148. icon: "svg-guangfu",
  149. permissions: ["jn_gfcz"],
  150. },
  151. showChild: true,
  152. children: [
  153. {
  154. path: "lighthome",
  155. component: () =>
  156. import(
  157. "@/views/stateMonitor/factoryMonitor/photovoltaic/lighthome"
  158. ),
  159. name: "lighthome",
  160. meta: {
  161. title: "场站监视",
  162. icon: "svg-station-surveillance",
  163. permissions: ["jn_gfcz_czjs"],
  164. },
  165. },
  166. {
  167. path: "lightDataTarget",
  168. component: () =>
  169. import(
  170. "@/views/stateMonitor/factoryMonitor/photovoltaic/lightDataTarget"
  171. ),
  172. name: "lightDataTarget",
  173. meta: {
  174. title: "数据指标",
  175. permissions: ["jn_gfcz_sjzb"],
  176. icon: "svg-s指标列表",
  177. },
  178. },
  179. {
  180. path: "lightMatrixMonitor",
  181. component: () =>
  182. import(
  183. "@/views/stateMonitor/factoryMonitor/photovoltaic/lightMatrixMonitor"
  184. ),
  185. name: "lightMatrixMonitor",
  186. meta: {
  187. title: "矩阵监视",
  188. permissions: ["jn_gfcz_jzjs"],
  189. icon: "svg-matrix",
  190. },
  191. },
  192. {
  193. path: "lightMatrix",
  194. component: () =>
  195. import(
  196. "@/views/stateMonitor/factoryMonitor/photovoltaic/lightMatrix"
  197. ),
  198. name: "lightMatrix",
  199. meta: {
  200. title: "分类矩阵",
  201. permissions: ["jn_gfcz_fljz"],
  202. icon: "svg-fljz",
  203. },
  204. },
  205. {
  206. path: "photovoltaicFacility",
  207. component: () =>
  208. import(
  209. "@/views/stateMonitor/factoryMonitor/photovoltaic/photovoltaicFacility"
  210. ),
  211. name: "photovoltaicFacility",
  212. meta: {
  213. title: "光伏设备",
  214. permissions: ["jn_gfcz_gfsb"],
  215. icon: "svg-photovoltaic",
  216. },
  217. },
  218. {
  219. path: "lightBoosterStation",
  220. component: () =>
  221. import(
  222. "@/views/stateMonitor/factoryMonitor/photovoltaic/lightBoosterStation"
  223. ),
  224. name: "lightBoosterStation",
  225. meta: {
  226. title: "升压站",
  227. permissions: ["jn_gfcz_syz"],
  228. icon: "svg-s升压站",
  229. },
  230. },
  231. {
  232. path: "lightGeomorphologicMap",
  233. component: () =>
  234. import(
  235. "@/views/stateMonitor/factoryMonitor/photovoltaic/lightGeomorphologicMap"
  236. ),
  237. name: "lightGeomorphologicMap",
  238. meta: {
  239. title: "地貌图",
  240. permissions: ["jn_gfcz_dmt"],
  241. icon: "svg-s地图",
  242. },
  243. },
  244. ],
  245. },
  246. {
  247. path: "lightmatrix", // 基础矩阵
  248. name: "LightMatrix",
  249. component: () => import("@/views/stateMonitor/LightMatrix"),
  250. meta: {
  251. title: "基础矩阵",
  252. icon: "svg-matrix",
  253. permissions: ["jn_jcjz"],
  254. },
  255. },
  256. {
  257. path: "detailmatrix", // 明细矩阵
  258. name: "DetailMatrix",
  259. component: () => import("@/views/stateMonitor/DetailMatrix"),
  260. meta: {
  261. title: "明细矩阵",
  262. icon: "svg-mx-matrix",
  263. permissions: ["jn_mxjz"],
  264. },
  265. },
  266. {
  267. path: "syzmatrix", // 升压站矩阵
  268. name: "SYZMatrix",
  269. component: () => import("@/views/stateMonitor/focus/syzDetails.vue"),
  270. meta: {
  271. title: "升压站矩阵",
  272. icon: "svg-syz",
  273. permissions: ["jn_syzjz"],
  274. },
  275. },
  276. {
  277. path: "powerPredictMatrix", // 功率预测矩阵
  278. name: "PowerPredictMatrix",
  279. component: () => import("@/views/stateMonitor/powerPredictMatrix"),
  280. meta: {
  281. title: "功率预测矩阵",
  282. icon: "svg-power-predict",
  283. permissions: ["jn_glyc"],
  284. },
  285. },
  286. {
  287. path: "zhzb", // 综合指标统计
  288. name: "zhzb",
  289. component: () =>
  290. import(
  291. /* webpackChunkName: "status" */ "@/views/stateMonitor/zhzb/zhzb.vue"
  292. ),
  293. meta: {
  294. title: "综合指标",
  295. icon: "svg-自定制报表管理",
  296. permissions: ["jn_zhzb"],
  297. },
  298. },
  299. {
  300. path: "factoryMonitor",
  301. redirect: "factoryMonitor/windPowerPlant",
  302. component: () => import("@/views/stateMonitor/factoryMonitor"),
  303. name: "factoryMonitor",
  304. meta: {
  305. title: "厂站监视",
  306. icon: "svg-single-station-surveillance",
  307. permissions: ["jn_czjs"],
  308. },
  309. hidden: true,
  310. children: [
  311. {
  312. path: "windPowerPlant",
  313. redirect: { name: "windhome" },
  314. component: () =>
  315. import("@/views/stateMonitor/factoryMonitor/windPowerPlant"),
  316. name: "windPowerPlant",
  317. meta: {
  318. title: "风电场站",
  319. icon: "",
  320. permissions: ["jn_fdcz"],
  321. },
  322. children: [
  323. {
  324. path: "windhome",
  325. component: () =>
  326. import(
  327. "@/views/stateMonitor/factoryMonitor/windPowerPlant/windhome"
  328. ),
  329. name: "windhome",
  330. meta: {
  331. title: "场站监视",
  332. icon: "svg-station-surveillance",
  333. permissions: ["jn_fdcz_czjs"],
  334. },
  335. },
  336. {
  337. path: "DataTarget",
  338. component: () =>
  339. import(
  340. "@/views/stateMonitor/factoryMonitor/windPowerPlant/DataTarget"
  341. ),
  342. name: "DataTarget",
  343. meta: {
  344. title: "数据指标",
  345. icon: "svg-s指标列表",
  346. permissions: ["jn_fdcz_sjzb"],
  347. },
  348. },
  349. {
  350. path: "matrixMonitor",
  351. component: () =>
  352. import(
  353. "@/views/stateMonitor/factoryMonitor/windPowerPlant/matrixMonitor"
  354. ),
  355. name: "matrixMonitor",
  356. meta: {
  357. title: "矩阵监视",
  358. icon: "svg-matrix",
  359. permissions: ["jn_fdcz_jzjs"],
  360. },
  361. },
  362. {
  363. path: "draughtFan",
  364. component: () =>
  365. import(
  366. "@/views/stateMonitor/factoryMonitor/windPowerPlant/draughtFan"
  367. ),
  368. name: "draughtFan",
  369. meta: {
  370. title: "风机设备",
  371. icon: "svg-wind-site",
  372. permissions: ["jn_fdcz_fjsb"],
  373. },
  374. },
  375. {
  376. path: "boosterStation",
  377. component: () =>
  378. import(
  379. "@/views/stateMonitor/factoryMonitor/windPowerPlant/boosterStation"
  380. ),
  381. name: "boosterStation",
  382. meta: {
  383. title: "升压站",
  384. icon: "svg-s升压站",
  385. permissions: ["jn_fdcz_syz"],
  386. },
  387. },
  388. {
  389. path: "windPower",
  390. component: () =>
  391. import(
  392. "@/views/stateMonitor/factoryMonitor/windPowerPlant/windPower"
  393. ),
  394. name: "windPower",
  395. meta: {
  396. title: "测风塔",
  397. permissions: ["jn_fdcz_cft"],
  398. icon: "svg-s测风塔",
  399. },
  400. },
  401. {
  402. path: "geomorphologicMap",
  403. component: () =>
  404. import(
  405. "@/views/stateMonitor/factoryMonitor/windPowerPlant/geomorphologicMap"
  406. ),
  407. name: "geomorphologicMap",
  408. meta: {
  409. title: "地貌图",
  410. permissions: ["jn_fdcz_dmt"],
  411. icon: "svg-s地图",
  412. },
  413. },
  414. ],
  415. },
  416. {
  417. path: "photovoltaic",
  418. redirect: { name: "lighthome" },
  419. component: () =>
  420. import("@/views/stateMonitor/factoryMonitor/photovoltaic"),
  421. name: "photovoltaic",
  422. meta: {
  423. title: "光伏场站",
  424. icon: "",
  425. permissions: ["jn_gfcz"],
  426. },
  427. children: [
  428. {
  429. path: "lighthome",
  430. component: () =>
  431. import(
  432. "@/views/stateMonitor/factoryMonitor/photovoltaic/lighthome"
  433. ),
  434. name: "lighthome",
  435. meta: {
  436. title: "场站监视",
  437. icon: "svg-station-surveillance",
  438. permissions: ["jn_gfcz_czjs"],
  439. },
  440. },
  441. {
  442. path: "lightDataTarget",
  443. component: () =>
  444. import(
  445. "@/views/stateMonitor/factoryMonitor/photovoltaic/lightDataTarget"
  446. ),
  447. name: "lightDataTarget",
  448. meta: {
  449. title: "数据指标",
  450. permissions: ["jn_gfcz_sjzb"],
  451. icon: "svg-s指标列表",
  452. },
  453. },
  454. {
  455. path: "lightMatrixMonitor",
  456. component: () =>
  457. import(
  458. "@/views/stateMonitor/factoryMonitor/photovoltaic/lightMatrixMonitor"
  459. ),
  460. name: "lightMatrixMonitor",
  461. meta: {
  462. title: "矩阵监视",
  463. permissions: ["jn_gfcz_jzjs"],
  464. icon: "svg-matrix",
  465. },
  466. },
  467. {
  468. path: "lightMatrix",
  469. component: () =>
  470. import(
  471. "@/views/stateMonitor/factoryMonitor/photovoltaic/lightMatrix"
  472. ),
  473. name: "lightMatrix",
  474. meta: {
  475. title: "分类矩阵",
  476. permissions: ["jn_gfcz_fljz"],
  477. icon: "svg-fljz",
  478. },
  479. },
  480. {
  481. path: "photovoltaicFacility",
  482. component: () =>
  483. import(
  484. "@/views/stateMonitor/factoryMonitor/photovoltaic/photovoltaicFacility"
  485. ),
  486. name: "photovoltaicFacility",
  487. meta: {
  488. title: "光伏设备",
  489. permissions: ["jn_gfcz_gfsb"],
  490. icon: "svg-photovoltaic",
  491. },
  492. },
  493. {
  494. path: "lightBoosterStation",
  495. component: () =>
  496. import(
  497. "@/views/stateMonitor/factoryMonitor/photovoltaic/lightBoosterStation"
  498. ),
  499. name: "lightBoosterStation",
  500. meta: {
  501. title: "升压站",
  502. permissions: ["jn_gfcz_syz"],
  503. icon: "svg-s升压站",
  504. },
  505. },
  506. {
  507. path: "lightGeomorphologicMap",
  508. component: () =>
  509. import(
  510. "@/views/stateMonitor/factoryMonitor/photovoltaic/lightGeomorphologicMap"
  511. ),
  512. name: "lightGeomorphologicMap",
  513. meta: {
  514. title: "地貌图",
  515. permissions: ["jn_gfcz_dmt"],
  516. icon: "svg-s地图",
  517. },
  518. },
  519. ],
  520. },
  521. ],
  522. },
  523. {
  524. path: "alarmCenter", // 报警列表
  525. name: "alarmCenter",
  526. component: () => import("@/views/stateMonitor/alarmCenter/commonAlarm"),
  527. meta: {
  528. title: "报警列表",
  529. icon: "svg-alarm-center",
  530. permissions: ["jn_alarm"],
  531. },
  532. },
  533. /*{
  534. path: "agcmatrix", // AGC矩阵
  535. name: "AGCMatrix",
  536. component: () => import("@/views/stateMonitor/focus/agcDetails"),
  537. meta: {
  538. title: "AGC矩阵",
  539. icon: "svg-mx-matrix",
  540. permissions: ["jn_mxjz"],
  541. },
  542. }*/
  543. ],
  544. },
  545. {
  546. path: "/integratedAlarm",
  547. component: () => import("@/views/IntegratedAlarm"),
  548. name: "integratedAlarm",
  549. meta: {
  550. title: "综合报警",
  551. icon: "",
  552. permissions: ["jn_integratedAlarm"],
  553. },
  554. children: [
  555. {
  556. path: "safe", // 综合报警
  557. name: "safe",
  558. component: () => import("@/views/IntegratedAlarm/safe"),
  559. meta: {
  560. title: "综合报警",
  561. icon: "svg-zhbj",
  562. permissions: ["jn_safe"],
  563. },
  564. children: [
  565. {
  566. path: "realwarning", // 综合报警
  567. name: "realwarning",
  568. component: () => import("@/views/IntegratedAlarm/safe/realWarning"),
  569. meta: {
  570. title: "实时报警",
  571. icon: "",
  572. permissions: ["jn_safe_ssbj"],
  573. },
  574. },
  575. {
  576. path: "historyWarning", // 报警查询
  577. name: "historyWarning",
  578. component: () =>
  579. import("@/views/IntegratedAlarm/safe/historyWarning"),
  580. meta: {
  581. title: "报警查询",
  582. icon: "",
  583. permissions: ["jn_safe_bjcx"],
  584. },
  585. },
  586. {
  587. path: "customWarning", // 预警查询
  588. name: "customWarning",
  589. component: () =>
  590. import("@/views/IntegratedAlarm/safe/customWarning"),
  591. meta: {
  592. title: "预警查询",
  593. icon: "",
  594. permissions: ["jn_safe_yjcx"],
  595. },
  596. },
  597. {
  598. path: "stopQuery", //停机查询
  599. name: "stopQuery",
  600. component: () => import("@/views/IntegratedAlarm/safe/stopQuery"),
  601. meta: {
  602. title: "停机查询",
  603. icon: "",
  604. permissions: ["jn_safe_tjcx"],
  605. },
  606. },
  607. {
  608. path: "dataSearch", //数据查询
  609. name: "dataSearch",
  610. component: () => import("@/views/IntegratedAlarm/safe/dataSearch"),
  611. meta: {
  612. title: "数据查询",
  613. icon: "",
  614. permissions: ["jn_safe_sjcx"],
  615. },
  616. },
  617. ],
  618. },
  619. {
  620. path: "reliability", // 可靠性分析
  621. name: "reliability",
  622. component: () => import("@/views/IntegratedAlarm/reliability"),
  623. meta: {
  624. title: "可靠性分析",
  625. icon: "svg-zhbj",
  626. permissions: ["jn_safe"],
  627. },
  628. children: [
  629. {
  630. path: "customAnalyse", // 预警分析
  631. name: "customAnalyse",
  632. component: () =>
  633. import("@/views/IntegratedAlarm/reliability/customAnalyse"),
  634. meta: {
  635. title: "预警分析",
  636. icon: "",
  637. permissions: ["jn_safe_ssbj"],
  638. },
  639. },
  640. ],
  641. },
  642. ],
  643. },
  644. //经济运行
  645. {
  646. path: "/economicsOperation",
  647. redirect:
  648. "/economicsOperation/benchmarkingManagement/performanceRankingList",
  649. component: () =>
  650. import("@/views/economicsOperation/benchmarkingManagement"),
  651. name: "economicsOperation",
  652. meta: {
  653. title: "经济运行",
  654. icon: "",
  655. permissions: ["jn_economicsOperation"],
  656. },
  657. children: [
  658. //对标管理
  659. {
  660. path: "benchmarkingManagement",
  661. redirect: "benchmarkingManagement/performanceRankingList",
  662. component: () =>
  663. import("@/views/economicsOperation/benchmarkingManagement"),
  664. name: "benchmarkingManagement",
  665. meta: {
  666. title: "对标管理",
  667. icon: "svg-dbgl",
  668. permissions: ["jn_dbgl"],
  669. },
  670. children: [
  671. {
  672. path: "performanceRankingList",
  673. component: () =>
  674. import(
  675. "@/views/economicsOperation/benchmarkingManagement/performanceRankingList/index.vue"
  676. ),
  677. name: "performanceRankingList",
  678. meta: {
  679. title: "绩效榜",
  680. icon: "",
  681. permissions: ["jn_dbgl_jxb"],
  682. },
  683. },
  684. {
  685. path: "decision1Mx", //风机绩效榜明细
  686. name: "decision1Mx",
  687. component: () =>
  688. import(
  689. "@/views/economicsOperation/benchmarkingManagement/performanceRankingList/decision1Mx.vue"
  690. ),
  691. meta: {
  692. title: "风机绩效榜明细",
  693. icon: "",
  694. permissions: ["jn_dbgl_jxb"],
  695. },
  696. },
  697. {
  698. path: "loseRate",
  699. component: () =>
  700. import(
  701. "@/views/economicsOperation/benchmarkingManagement/loseRate/index.vue"
  702. ),
  703. name: "loseRate",
  704. meta: {
  705. title: "五项损失率",
  706. icon: "",
  707. permissions: ["jn_dbgl_wxssl"],
  708. },
  709. },
  710. // {
  711. // path: "companyBenchmarking",
  712. // component: () =>
  713. // import(
  714. // "@/views/economicsOperation/benchmarkingManagement/companyBenchmarking"
  715. // ),
  716. // name: "companyBenchmarking",
  717. // meta: {
  718. // title: "公司对标",
  719. // icon: "",
  720. // permissions: ["jn_dbgl_gsdb"],
  721. // },
  722. // },
  723. {
  724. path: "siteBenchmarking",
  725. component: () =>
  726. import(
  727. "@/views/economicsOperation/benchmarkingManagement/siteBenchmarking"
  728. ),
  729. name: "siteBenchmarking",
  730. meta: {
  731. title: "场内对标",
  732. icon: "",
  733. permissions: ["jn_dbgl_cndb"],
  734. },
  735. },
  736. {
  737. path: "intervalBenchmarking",
  738. component: () =>
  739. import(
  740. "@/views/economicsOperation/benchmarkingManagement/intervalBenchmarking"
  741. ),
  742. name: "intervalBenchmarking",
  743. meta: {
  744. title: "场际对标",
  745. icon: "",
  746. permissions: ["jn_dbgl_cjdb"],
  747. },
  748. },
  749. // {
  750. // path: "valueBenchmarking",
  751. // component: () =>
  752. // import(
  753. // "@/views/economicsOperation/benchmarkingManagement/valueBenchmarking"
  754. // ),
  755. // name: "valueBenchmarking",
  756. // meta: {
  757. // title: "值际对标",
  758. // icon: "",
  759. // },
  760. // },
  761. {
  762. path: "projectBenchmarking",
  763. component: () =>
  764. import(
  765. "@/views/economicsOperation/benchmarkingManagement/projectBenchmarking"
  766. ),
  767. name: "projectBenchmarking",
  768. meta: {
  769. title: "项目对标",
  770. icon: "",
  771. permissions: ["jn_dbgl_xmdb"],
  772. },
  773. },
  774. {
  775. path: "wiringBenchmarking",
  776. component: () =>
  777. import(
  778. "@/views/economicsOperation/benchmarkingManagement/wiringBenchmarking"
  779. ),
  780. name: "wiringBenchmarking",
  781. meta: {
  782. title: "线路对标",
  783. icon: "",
  784. permissions: ["jn_dbgl_xldb"],
  785. },
  786. },
  787. // {
  788. // path: "singleMachineBenchmarking",
  789. // component: () =>
  790. // import(
  791. // "@/views/economicsOperation/benchmarkingManagement/singleMachineBenchmarking"
  792. // ),
  793. // name: "singleMachineBenchmarking",
  794. // meta: {
  795. // title: "单机对标",
  796. // icon: "",
  797. // },
  798. // },
  799. ],
  800. },
  801. //专题分析
  802. {
  803. path: "thematicAnalysis",
  804. redirect: "thematicAnalysis/comprehensiveAnalysis",
  805. component: () => import("@/views/economicsOperation/thematicAnalysis"),
  806. name: "thematicAnalysis",
  807. meta: {
  808. title: "专题分析",
  809. icon: "svg-ztfx",
  810. permissions: ["jn_ztfx"],
  811. },
  812. children: [
  813. {
  814. path: "comprehensiveAnalysis",
  815. component: () =>
  816. import(
  817. "@/views/economicsOperation/thematicAnalysis/comprehensiveAnalysis"
  818. ),
  819. name: "comprehensiveAnalysis",
  820. meta: {
  821. title: "综合分析",
  822. icon: "",
  823. permissions: ["jn_ztfx_zhfx"],
  824. },
  825. },
  826. {
  827. path: "windEnergy",
  828. component: () =>
  829. import("@/views/economicsOperation/thematicAnalysis/windEnergy"),
  830. name: "windEnergy",
  831. meta: {
  832. title: "风光能利用率",
  833. icon: "",
  834. permissions: ["jn_ztfx_fnlyl"],
  835. },
  836. },
  837. {
  838. path: "failure",
  839. component: () =>
  840. import("@/views/economicsOperation/thematicAnalysis/failure"),
  841. name: "failure",
  842. meta: {
  843. title: "五项损失率",
  844. icon: "",
  845. permissions: ["jn_ztfx_wxssl"],
  846. },
  847. },
  848. {
  849. path: "MTBF",
  850. component: () =>
  851. import("@/views/economicsOperation/thematicAnalysis/MTBF"),
  852. name: "MTBF",
  853. meta: {
  854. title: "可靠性分析",
  855. icon: "",
  856. permissions: ["jn_ztfx_kkxfx"],
  857. },
  858. },
  859. {
  860. path: "generation",
  861. component: () =>
  862. import("@/views/economicsOperation/thematicAnalysis/generation"),
  863. name: "generation",
  864. meta: {
  865. title: "发电量分析",
  866. icon: "",
  867. permissions: ["jn_ztfx_dlfx"],
  868. },
  869. },
  870. ],
  871. },
  872. //场站分析
  873. {
  874. path: "stationAnalyse",
  875. component: () => import("@/views/economicsOperation/stationAnalyse"),
  876. name: "StationAnalyse",
  877. meta: {
  878. title: "场站分析",
  879. icon: "svg-fddl",
  880. permissions: ["jn_czfx"],
  881. },
  882. children: [
  883. {
  884. path: "electricAnalyse",
  885. component: () =>
  886. import(
  887. "@/views/economicsOperation/stationAnalyse/electricAnalyse"
  888. ),
  889. name: "ElectricAnalyse",
  890. meta: {
  891. title: "发电量分析",
  892. icon: "",
  893. permissions: ["jn_czfx_fdlfx"],
  894. },
  895. },
  896. {
  897. path: "stationElectricAnalyse",
  898. component: () =>
  899. import(
  900. "@/views/economicsOperation/stationAnalyse/stationElectricAnalyse"
  901. ),
  902. name: "StationElectricAnalyse",
  903. meta: {
  904. title: "综合场用电量分析",
  905. icon: "",
  906. permissions: ["jn_czfx_zhcydlfx"],
  907. },
  908. },
  909. {
  910. path: "WindAndPhotovoltaic",
  911. component: () =>
  912. import(
  913. "@/views/economicsOperation/stationAnalyse/windAndPhotovoltaic"
  914. ),
  915. name: "WindAndPhotovoltaic",
  916. meta: {
  917. title: "风光资源分析",
  918. icon: "",
  919. permissions: ["jn_czfx_fgzyfx"],
  920. },
  921. },
  922. ],
  923. },
  924. //风电分析
  925. {
  926. path: "windAnalyse",
  927. component: () => import("@/views/economicsOperation/windAnalyse"),
  928. name: "WindAnalyse",
  929. meta: {
  930. title: "风电分析",
  931. icon: "svg-fdfx",
  932. permissions: ["jn_fdfx"],
  933. },
  934. children: [
  935. {
  936. path: "stateTransition",
  937. component: () =>
  938. import(
  939. "@/views/economicsOperation/windAnalyse/stateTransition/index.vue"
  940. ),
  941. name: "stateTransition",
  942. meta: {
  943. title: "状态时间分析",
  944. icon: "",
  945. permissions: ["jn_fdfx_ztzhfx"],
  946. },
  947. },
  948. {
  949. path: "timeTransition",
  950. component: () =>
  951. import(
  952. "@/views/economicsOperation/windAnalyse/timeTransition/index.vue"
  953. ),
  954. name: "timeTransition",
  955. meta: {
  956. title: "状态转换分析",
  957. icon: "",
  958. permissions: ["jn_fdfx_ztsjfx"],
  959. },
  960. },
  961. {
  962. path: "powerAnalyse",
  963. component: () =>
  964. import("@/views/economicsOperation/windAnalyse/powerCurve"),
  965. name: "PowerCurve",
  966. meta: {
  967. title: "功率曲线拟合",
  968. icon: "",
  969. permissions: ["jn_fdfx_glqxnh"],
  970. },
  971. },
  972. {
  973. path: "powerSearch",
  974. component: () =>
  975. import("@/views/economicsOperation/windAnalyse/powerSearch"),
  976. name: "PowerSearch",
  977. meta: {
  978. title: "功率曲线查询",
  979. icon: "",
  980. permissions: ["jn_fdfx_glqxcx"],
  981. },
  982. },
  983. {
  984. path: "qxpclfx",
  985. component: () =>
  986. import(
  987. "@/views/economicsOperation/windAnalyse/qxpclfx/index.vue"
  988. ),
  989. name: "Qxpclfx",
  990. meta: {
  991. title: "曲线偏差率分析",
  992. icon: "",
  993. permissions: ["jn_fdfx_qxpclfx"],
  994. },
  995. },
  996. {
  997. path: "cutInAndOutAnalysis",
  998. component: () =>
  999. import(
  1000. "@/views/economicsOperation/windAnalyse/cutInAndOutAnalysis/index.vue"
  1001. ),
  1002. name: "CutInAndOutAnalysis",
  1003. meta: {
  1004. title: "切入切出分析",
  1005. icon: "",
  1006. permissions: ["jn_fdfx_qrqcfx"],
  1007. },
  1008. },
  1009. {
  1010. path: "singleWindAnasyle",
  1011. component: () =>
  1012. import(
  1013. "@/views/economicsOperation/windAnalyse/singleWindAnasyle/index.vue"
  1014. ),
  1015. name: "SingleWindAnasyle",
  1016. meta: {
  1017. title: "单机性能分析",
  1018. icon: "",
  1019. permissions: ["jn_fdfx_djxnfx"],
  1020. },
  1021. },
  1022. {
  1023. path: "monthlyAnalysis",
  1024. component: () =>
  1025. import(
  1026. "@/views/economicsOperation/windAnalyse/monthlyAnalysis/index.vue"
  1027. ),
  1028. name: "MonthlyAnalysis",
  1029. meta: {
  1030. title: "单机月度分析",
  1031. icon: "",
  1032. permissions: ["jn_fdfx_djydfx"],
  1033. },
  1034. },
  1035. {
  1036. path: "performanceAssess",
  1037. component: () =>
  1038. import(
  1039. "@/views/economicsOperation/windAnalyse/performanceAssess/index.vue"
  1040. ),
  1041. name: "PerformanceAssess",
  1042. meta: {
  1043. title: "性能等级评估",
  1044. icon: "",
  1045. permissions: ["jn_fdfx_xndjpg"],
  1046. },
  1047. },
  1048. ],
  1049. },
  1050. //光伏分析
  1051. {
  1052. path: "photovoltaicAnalyse",
  1053. redirect: "analyse/standAloneAnalyse",
  1054. component: () =>
  1055. import("@/views/economicsOperation/photovoltaicAnalyse"),
  1056. name: "PhotovoltaicAnalyse",
  1057. meta: {
  1058. title: "光伏分析",
  1059. icon: "svg-gffx",
  1060. permissions: ["jn_gffx"],
  1061. },
  1062. children: [
  1063. {
  1064. path: "gfstateTransition",
  1065. component: () =>
  1066. import(
  1067. "@/views/economicsOperation/photovoltaicAnalyse/stateTransition/index.vue"
  1068. ),
  1069. name: "gfstateTransition",
  1070. meta: {
  1071. title: "状态时间分析",
  1072. icon: "",
  1073. permissions: ["jn_gffx_ztzhfx"],
  1074. },
  1075. },
  1076. {
  1077. path: "gftimeTransition",
  1078. component: () =>
  1079. import(
  1080. "@/views/economicsOperation/photovoltaicAnalyse/timeTransition/index.vue"
  1081. ),
  1082. name: "gftimeTransition",
  1083. meta: {
  1084. title: "状态转换分析",
  1085. icon: "",
  1086. permissions: ["jn_gffx_ztsjfx"],
  1087. },
  1088. },
  1089. {
  1090. path: "powerHotAnalyse",
  1091. component: () =>
  1092. import(
  1093. "@/views/economicsOperation/photovoltaicAnalyse/powerHotAnalyse"
  1094. ),
  1095. name: "PowerHotAnalyse",
  1096. meta: {
  1097. title: "功率曲线拟合",
  1098. icon: "",
  1099. permissions: ["jn_gffx_glwdfx"],
  1100. },
  1101. },
  1102. {
  1103. path: "powerAnalyse",
  1104. component: () =>
  1105. import(
  1106. "@/views/economicsOperation/photovoltaicAnalyse/powerAnalyse"
  1107. ),
  1108. name: "PowerAnalyse",
  1109. meta: {
  1110. title: "功率曲线查询",
  1111. icon: "",
  1112. permissions: ["jn_gffx_glqxnh"],
  1113. },
  1114. },
  1115. {
  1116. path: "lslfx",
  1117. component: () =>
  1118. import("@/views/economicsOperation/photovoltaicAnalyse/lslfx"),
  1119. name: "Lslfx",
  1120. meta: {
  1121. title: "离散率分析",
  1122. icon: "",
  1123. permissions: ["jn_gffx_lslfx"],
  1124. },
  1125. },
  1126. {
  1127. path: "prAnalyse",
  1128. component: () =>
  1129. import(
  1130. "@/views/economicsOperation/photovoltaicAnalyse/prAnalyse"
  1131. ),
  1132. name: "PrAnalyse",
  1133. meta: {
  1134. title: "系统效率分析",
  1135. icon: "",
  1136. permissions: ["jn_gffx_xtxlfx"],
  1137. },
  1138. },
  1139. {
  1140. path: "performanceEvaluation",
  1141. component: () =>
  1142. import(
  1143. "@/views/economicsOperation/photovoltaicAnalyse/performanceEvaluation"
  1144. ),
  1145. name: "PerformanceEvaluation",
  1146. meta: {
  1147. title: "性能等级评估",
  1148. icon: "",
  1149. permissions: ["jn_gffx_xndjpg"],
  1150. },
  1151. },
  1152. ],
  1153. },
  1154. //管控效率
  1155. {
  1156. path: "efficiency",
  1157. redirect: "efficiency/restorationEfficiency",
  1158. component: () => import("@/views/economicsOperation/efficiency"),
  1159. name: "efficiency",
  1160. meta: {
  1161. title: "管控效率",
  1162. icon: "svg-dimension-new",
  1163. permissions: ["jn_slgl"],
  1164. },
  1165. children: [
  1166. {
  1167. path: "restorationEfficiency",
  1168. component: () =>
  1169. import(
  1170. "@/views/economicsOperation/efficiency/restorationEfficiency"
  1171. ),
  1172. name: "restorationEfficiency",
  1173. meta: {
  1174. title: "复位及时率",
  1175. icon: "",
  1176. permissions: ["jn_slgl_fwjsl"],
  1177. },
  1178. },
  1179. {
  1180. path: "consumeEfficiency",
  1181. component: () =>
  1182. import("@/views/economicsOperation/efficiency/consumeEfficiency"),
  1183. name: "consumeEfficiency",
  1184. meta: {
  1185. title: "消缺及时率",
  1186. icon: "",
  1187. permissions: ["jn_slgl_xqjsl"],
  1188. },
  1189. },
  1190. {
  1191. path: "stateEfficiency",
  1192. component: () =>
  1193. import("@/views/economicsOperation/efficiency/stateEfficiency"),
  1194. name: "stateEfficiency",
  1195. meta: {
  1196. title: "状态转换率",
  1197. icon: "",
  1198. permissions: ["jn_slgl_ztzhl"],
  1199. },
  1200. },
  1201. ],
  1202. },
  1203. //综合管控KPI
  1204. {
  1205. path: "comprehensiveControl",
  1206. redirect: "comprehensiveControl/running",
  1207. component: () =>
  1208. import("@/views/economicsOperation/comprehensiveControl"),
  1209. name: "comprehensiveControl",
  1210. meta: {
  1211. title: "综合管控KPI",
  1212. icon: "svg-zhgk",
  1213. permissions: ["jn_zhgk"],
  1214. },
  1215. children: [
  1216. {
  1217. path: "running",
  1218. component: () =>
  1219. import(
  1220. "@/views/economicsOperation/comprehensiveControl/runningKPI/index.vue"
  1221. ),
  1222. name: "running",
  1223. meta: {
  1224. title: "运行KPI",
  1225. icon: "",
  1226. permissions: ["jn_zhgk_yx"],
  1227. },
  1228. },
  1229. {
  1230. path: "maintenance",
  1231. component: () =>
  1232. import(
  1233. "@/views/economicsOperation/comprehensiveControl/maintenanceKPI/index.vue"
  1234. ),
  1235. name: "maintenance",
  1236. meta: {
  1237. title: "检修KPI",
  1238. icon: "",
  1239. permissions: ["jn_zhgk_jx"],
  1240. },
  1241. },
  1242. {
  1243. path: "stationControl",
  1244. component: () =>
  1245. import(
  1246. "@/views/economicsOperation/comprehensiveControl/stationControlKPI/index.vue"
  1247. ),
  1248. name: "stationControl",
  1249. meta: {
  1250. title: "场站管控KPI",
  1251. icon: "",
  1252. permissions: ["jn_zhgk_czgk"],
  1253. },
  1254. },
  1255. ],
  1256. },
  1257. ],
  1258. },
  1259. //智慧检修
  1260. {
  1261. path: "/health",
  1262. redirect: "/health/healthManagement/first",
  1263. component: () => import("@/views/HealthControl"),
  1264. name: "health",
  1265. meta: {
  1266. title: "智慧检修",
  1267. icon: "",
  1268. permissions: ["jn_health"],
  1269. },
  1270. children: [
  1271. {
  1272. path: "healthManagement",
  1273. component: () => import("@/views/HealthControl/healthManagement"),
  1274. name: "healthManagement",
  1275. meta: {
  1276. title: "风电健康管理",
  1277. icon: "svg-fjjkd",
  1278. permissions: ["jn_jkgl"],
  1279. },
  1280. children: [
  1281. {
  1282. path: "first",
  1283. component: () =>
  1284. import("@/views/HealthControl/healthManagement/first/index.vue"),
  1285. name: "first",
  1286. meta: {
  1287. title: "健康推荐",
  1288. icon: "",
  1289. permissions: ["jn_jkgl_jktj"],
  1290. },
  1291. },
  1292. {
  1293. path: "homepage",
  1294. component: () =>
  1295. import(
  1296. "@/views/HealthControl/healthManagement/homepage/index.vue"
  1297. ),
  1298. name: "homepage",
  1299. meta: {
  1300. title: "健康首页",
  1301. icon: "",
  1302. permissions: ["jn_jkgl_jksy"],
  1303. },
  1304. },
  1305. {
  1306. path: "overview",
  1307. component: () =>
  1308. import(
  1309. "@/views/HealthControl/healthManagement/overview/index.vue"
  1310. ),
  1311. name: "overview",
  1312. meta: {
  1313. title: "健康总览",
  1314. icon: "",
  1315. permissions: ["jn_jkgl_jkzl"],
  1316. },
  1317. },
  1318. {
  1319. path: "healthMatrix",
  1320. component: () =>
  1321. import(
  1322. "@/views/HealthControl/healthManagement/healthMatrix/index.vue"
  1323. ),
  1324. name: "healthMatrix",
  1325. meta: {
  1326. title: "健康矩阵",
  1327. icon: "",
  1328. permissions: ["jn_jkgl_jkjz"],
  1329. },
  1330. },
  1331. {
  1332. path: "healthList",
  1333. component: () =>
  1334. import(
  1335. "@/views/HealthControl/healthManagement/healthList/index.vue"
  1336. ),
  1337. name: "healthList",
  1338. meta: {
  1339. title: "健康列表",
  1340. icon: "",
  1341. permissions: ["jn_jkgl_jklb"],
  1342. },
  1343. },
  1344. {
  1345. path: "badStateAnalyse/:wpId/:wtId",
  1346. component: () =>
  1347. import(
  1348. "@/views/HealthControl/healthManagement/badStateAnalyse/index.vue"
  1349. ),
  1350. name: "badStateAnalyse",
  1351. meta: {
  1352. title: "劣化状态分析",
  1353. icon: "",
  1354. permissions: ["jn_jkgl_lhztfx"],
  1355. },
  1356. },
  1357. // {
  1358. // path: "wtSaturability",
  1359. // component: () =>
  1360. // import(
  1361. // "@/views/HealthControl/healthManagement/wtSaturability/index.vue"
  1362. // ),
  1363. // name: "wtSaturability",
  1364. // meta: {
  1365. // title: "单机饱和度",
  1366. // icon: "",
  1367. // permissions: ["jn_nxfx_djbhd"],
  1368. // },
  1369. // },
  1370. {
  1371. path: "temperatureAnalysis",
  1372. component: () =>
  1373. import(
  1374. "@/views/HealthControl/healthManagement/temperatureAnalysis/index.vue"
  1375. ),
  1376. name: "temperatureAnalysis",
  1377. meta: {
  1378. title: "部件温度分析",
  1379. icon: "",
  1380. permissions: ["jn_jkgl_bjwd"],
  1381. },
  1382. },
  1383. ],
  1384. },
  1385. {
  1386. path: "gfHealthManagement",
  1387. component: () => import("@/views/HealthControl/gfHealthManagement"),
  1388. name: "gfHealthManagement",
  1389. meta: {
  1390. title: "光伏健康管理",
  1391. icon: "svg-gfjkd",
  1392. permissions: ["jn_gfjkgl"],
  1393. },
  1394. },
  1395. // {
  1396. // path: "energyEfficAnalyse",
  1397. // redirect: "energyEfficAnalyse/healthPowerCurve",
  1398. // component: () => import("@/views/HealthControl/energyEfficAnalyse"),
  1399. // name: "energyEfficAnalyse",
  1400. // meta: {
  1401. // title: "能效分析",
  1402. // icon: "svg-能效分析",
  1403. // permissions: ["jn_nxfx"],
  1404. // },
  1405. // children: [
  1406. // {
  1407. // path: "evaluationAnalysis",
  1408. // component: () =>
  1409. // import(
  1410. // "@/views/HealthControl/energyEfficAnalyse/evaluationAnalysis/index.vue"
  1411. // ),
  1412. // name: "evaluationAnalysis",
  1413. // meta: {
  1414. // title: "预警评判分析",
  1415. // icon: "",
  1416. // permissions: ["jn_nxfx_yjpp"],
  1417. // },
  1418. // },
  1419. // {
  1420. // path: "malfunctionAnalysis",
  1421. // component: () =>
  1422. // import(
  1423. // "@/views/HealthControl/energyEfficAnalyse/malfunctionAnalysis/index.vue"
  1424. // ),
  1425. // name: "malfunctionAnalysis",
  1426. // meta: {
  1427. // title: "故障评判分析",
  1428. // icon: "",
  1429. // permissions: ["jn_nxfx_gzpp"],
  1430. // },
  1431. // },
  1432. // {
  1433. // path: "powerAnalysis",
  1434. // component: () =>
  1435. // import(
  1436. // "@/views/HealthControl/energyEfficAnalyse/powerAnalysis/index.vue"
  1437. // ),
  1438. // name: "powerAnalysis",
  1439. // meta: {
  1440. // title: "部件功率分析",
  1441. // icon: "",
  1442. // permissions: ["jn_nxfx_gzpp"],
  1443. // },
  1444. // },
  1445. // ],
  1446. // },
  1447. {
  1448. path: "healthDetail",
  1449. redirect: "healthDetail/wpHealth",
  1450. component: () => import("@/views/HealthControl/healthDetail"),
  1451. name: "healthDetail",
  1452. hidden: true,
  1453. meta: {
  1454. title: "健康详情",
  1455. icon: "",
  1456. permissions: ["jn_jkgl"],
  1457. },
  1458. children: [
  1459. {
  1460. path: "wpHealth/:wpId/:wpName?", // 场站健康管理
  1461. name: "health3",
  1462. component: () =>
  1463. import("@/views/HealthControl/healthDetail/wpHealth"),
  1464. meta: {
  1465. title: "场站健康管理",
  1466. icon: "",
  1467. permissions: ["jn_jkgl"],
  1468. },
  1469. },
  1470. {
  1471. path: "wtHealth/:wpId/:wtId", //设备健康详情
  1472. name: "health0",
  1473. component: () =>
  1474. import("@/views/HealthControl/healthDetail/wtHealth"),
  1475. meta: {
  1476. title: "设备健康详情",
  1477. icon: "",
  1478. permissions: ["jn_jkgl"],
  1479. },
  1480. },
  1481. {
  1482. path: "healthTrend/:wpId/:wtId", //设备健康详情
  1483. name: "healthTrend",
  1484. component: () =>
  1485. import("@/views/HealthControl/healthDetail/healthTrend"),
  1486. meta: {
  1487. title: "健康趋势",
  1488. icon: "",
  1489. permissions: ["jn_jkgl"],
  1490. },
  1491. },
  1492. {
  1493. path: "badState/:wpId/:wtId", //设备健康详情
  1494. name: "",
  1495. component: () =>
  1496. import("@/views/HealthControl/healthManagement/badStateAnalyse"),
  1497. meta: {
  1498. title: "劣化状态分析曲线",
  1499. icon: "",
  1500. permissions: ["jn_jkgl"],
  1501. },
  1502. },
  1503. ],
  1504. },
  1505. ],
  1506. },
  1507. // 智能报表
  1508. {
  1509. path: "/report",
  1510. name: "report",
  1511. meta: {
  1512. title: "智能报表",
  1513. icon: "",
  1514. permissions: ["jn_zhbb"],
  1515. },
  1516. // component: () => import("@/views/report/index copy.vue"),
  1517. component: () => import("@/views/report"),
  1518. children: [
  1519. {
  1520. path: "report",
  1521. redirect: "report/gjyrbb",
  1522. name: "report",
  1523. meta: {
  1524. title: "自定制报表管理",
  1525. icon: "svg-自定制报表管理",
  1526. permissions: ["jn_zdz"],
  1527. },
  1528. component: () => import("@/views/report/stationReport"),
  1529. children: [
  1530. {
  1531. path: "fdxnyrb",
  1532. name: "fdxnyrb",
  1533. component: () => import("@/views/report/stationReport/fdxnyrb"),
  1534. meta: {
  1535. title: "晋能清洁能源风电日报",
  1536. icon: "",
  1537. permissions: ["jn_zdz_fdxnyrb"],
  1538. },
  1539. },
  1540. {
  1541. path: "gfxnyrb",
  1542. name: "gfxnyrb",
  1543. component: () => import("@/views/report/stationReport/gfxnyrb"),
  1544. meta: {
  1545. title: "晋能清洁能源光伏日报",
  1546. icon: "",
  1547. permissions: ["jn_zdz_gfxnyrb"],
  1548. },
  1549. },
  1550. {
  1551. path: "scrb",
  1552. name: "scrb",
  1553. component: () => import("@/views/report/stationReport/scrb"),
  1554. meta: {
  1555. title: "晋能清洁能源生产日报",
  1556. icon: "",
  1557. permissions: ["jn_zdz_scrb"],
  1558. },
  1559. },
  1560. // {
  1561. // path: "gjyrbb",
  1562. // name: "gjyrbb",
  1563. // component: () => import("@/views/report/stationReport/rbb"),
  1564. // meta: {
  1565. // title: "日报表",
  1566. // icon: "",
  1567. // permissions: ["jn_zdz_rbb"],
  1568. // },
  1569. // },
  1570. {
  1571. path: "fczybb",
  1572. name: "fczybb",
  1573. component: () => import("@/views/report/stationReport/fczybb"),
  1574. meta: {
  1575. title: "风场自由报表",
  1576. icon: "",
  1577. permissions: ["jn_zdz_fdcz"],
  1578. },
  1579. },
  1580. {
  1581. path: "xmzybb",
  1582. name: "xmzybb",
  1583. component: () => import("@/views/report/stationReport/xmzybb"),
  1584. meta: {
  1585. title: "项目自由报表",
  1586. icon: "",
  1587. permissions: ["jn_zdz_fdxm"],
  1588. },
  1589. },
  1590. // {
  1591. // path: "fdczzdy",
  1592. // name: "fdczzdy",
  1593. // component: () => import("@/views/report/stationReport/fdczzdy"),
  1594. // meta: {
  1595. // title: "风电场站自定义",
  1596. // icon: "",
  1597. // permissions: ["jn_zdz_fdcz"],
  1598. // },
  1599. // },
  1600. // {
  1601. // path: "fdxmzdy",
  1602. // name: "fdxmzdy",
  1603. // component: () => import("@/views/report/stationReport/fdxmzdy"),
  1604. // meta: {
  1605. // title: "风电项目自定义",
  1606. // icon: "",
  1607. // permissions: ["jn_zdz_fdxm"],
  1608. // },
  1609. // },
  1610. ],
  1611. },
  1612. {
  1613. path: "electricReport",
  1614. redirect: "electricReport/dmb",
  1615. name: "electricReport",
  1616. meta: {
  1617. title: "电量报表",
  1618. icon: "svg-dlbb",
  1619. permissions: ["jn_dlbb"],
  1620. },
  1621. component: () => import("@/views/electricReport/dmb"),
  1622. children: [
  1623. {
  1624. path: "dmb",
  1625. name: "dmb",
  1626. component: () => import("@/views/electricReport/dmb"),
  1627. meta: {
  1628. title: "底码表",
  1629. icon: "",
  1630. permissions: ["jn_dlbb_dmb"],
  1631. },
  1632. },
  1633. ],
  1634. },
  1635. ],
  1636. },
  1637. ];
  1638. const router = createRouter({
  1639. history: createWebHashHistory(),
  1640. base: "/nem/",
  1641. routes: [...constantRoutes, ...asyncRoutes],
  1642. });
  1643. // router.beforeEach((to, from, next) => {
  1644. // next();
  1645. // });
  1646. export default router;