index.js 47 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590
  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_stateMonitor"],
  553. },
  554. children: [
  555. {
  556. path: "safe", // 基础矩阵
  557. name: "safe",
  558. component: () => import("@/views/IntegratedAlarm/safe"),
  559. meta: {
  560. title: "综合报警",
  561. icon: "svg-matrix",
  562. permissions: ["jn_jcjz"],
  563. },
  564. children: [
  565. {
  566. path: "realwarning", // 基础矩阵
  567. name: "realwarning",
  568. component: () => import("@/views/IntegratedAlarm/safe/realWarning"),
  569. meta: {
  570. title: "综合报警",
  571. icon: "svg-matrix",
  572. permissions: ["jn_jcjz"],
  573. },
  574. },
  575. ],
  576. },
  577. ],
  578. },
  579. //经济运行
  580. {
  581. path: "/economicsOperation",
  582. redirect:
  583. "/economicsOperation/benchmarkingManagement/performanceRankingList",
  584. component: () =>
  585. import("@/views/economicsOperation/benchmarkingManagement"),
  586. name: "economicsOperation",
  587. meta: {
  588. title: "经济运行",
  589. icon: "",
  590. permissions: ["jn_economicsOperation"],
  591. },
  592. children: [
  593. //对标管理
  594. {
  595. path: "benchmarkingManagement",
  596. redirect: "benchmarkingManagement/performanceRankingList",
  597. component: () =>
  598. import("@/views/economicsOperation/benchmarkingManagement"),
  599. name: "benchmarkingManagement",
  600. meta: {
  601. title: "对标管理",
  602. icon: "svg-dbgl",
  603. permissions: ["jn_dbgl"],
  604. },
  605. children: [
  606. {
  607. path: "performanceRankingList",
  608. component: () =>
  609. import(
  610. "@/views/economicsOperation/benchmarkingManagement/performanceRankingList/index.vue"
  611. ),
  612. name: "performanceRankingList",
  613. meta: {
  614. title: "绩效榜",
  615. icon: "",
  616. permissions: ["jn_dbgl_jxb"],
  617. },
  618. },
  619. {
  620. path: "decision1Mx", //风机绩效榜明细
  621. name: "decision1Mx",
  622. component: () =>
  623. import(
  624. "@/views/economicsOperation/benchmarkingManagement/performanceRankingList/decision1Mx.vue"
  625. ),
  626. meta: {
  627. title: "风机绩效榜明细",
  628. icon: "",
  629. permissions: ["jn_dbgl_jxb"],
  630. },
  631. },
  632. {
  633. path: "loseRate",
  634. component: () =>
  635. import(
  636. "@/views/economicsOperation/benchmarkingManagement/loseRate/index.vue"
  637. ),
  638. name: "loseRate",
  639. meta: {
  640. title: "五项损失率",
  641. icon: "",
  642. permissions: ["jn_dbgl_wxssl"],
  643. },
  644. },
  645. // {
  646. // path: "companyBenchmarking",
  647. // component: () =>
  648. // import(
  649. // "@/views/economicsOperation/benchmarkingManagement/companyBenchmarking"
  650. // ),
  651. // name: "companyBenchmarking",
  652. // meta: {
  653. // title: "公司对标",
  654. // icon: "",
  655. // permissions: ["jn_dbgl_gsdb"],
  656. // },
  657. // },
  658. {
  659. path: "siteBenchmarking",
  660. component: () =>
  661. import(
  662. "@/views/economicsOperation/benchmarkingManagement/siteBenchmarking"
  663. ),
  664. name: "siteBenchmarking",
  665. meta: {
  666. title: "场内对标",
  667. icon: "",
  668. permissions: ["jn_dbgl_cndb"],
  669. },
  670. },
  671. {
  672. path: "intervalBenchmarking",
  673. component: () =>
  674. import(
  675. "@/views/economicsOperation/benchmarkingManagement/intervalBenchmarking"
  676. ),
  677. name: "intervalBenchmarking",
  678. meta: {
  679. title: "场际对标",
  680. icon: "",
  681. permissions: ["jn_dbgl_cjdb"],
  682. },
  683. },
  684. // {
  685. // path: "valueBenchmarking",
  686. // component: () =>
  687. // import(
  688. // "@/views/economicsOperation/benchmarkingManagement/valueBenchmarking"
  689. // ),
  690. // name: "valueBenchmarking",
  691. // meta: {
  692. // title: "值际对标",
  693. // icon: "",
  694. // },
  695. // },
  696. {
  697. path: "projectBenchmarking",
  698. component: () =>
  699. import(
  700. "@/views/economicsOperation/benchmarkingManagement/projectBenchmarking"
  701. ),
  702. name: "projectBenchmarking",
  703. meta: {
  704. title: "项目对标",
  705. icon: "",
  706. permissions: ["jn_dbgl_xmdb"],
  707. },
  708. },
  709. {
  710. path: "wiringBenchmarking",
  711. component: () =>
  712. import(
  713. "@/views/economicsOperation/benchmarkingManagement/wiringBenchmarking"
  714. ),
  715. name: "wiringBenchmarking",
  716. meta: {
  717. title: "线路对标",
  718. icon: "",
  719. permissions: ["jn_dbgl_xldb"],
  720. },
  721. },
  722. // {
  723. // path: "singleMachineBenchmarking",
  724. // component: () =>
  725. // import(
  726. // "@/views/economicsOperation/benchmarkingManagement/singleMachineBenchmarking"
  727. // ),
  728. // name: "singleMachineBenchmarking",
  729. // meta: {
  730. // title: "单机对标",
  731. // icon: "",
  732. // },
  733. // },
  734. ],
  735. },
  736. //专题分析
  737. {
  738. path: "thematicAnalysis",
  739. redirect: "thematicAnalysis/comprehensiveAnalysis",
  740. component: () => import("@/views/economicsOperation/thematicAnalysis"),
  741. name: "thematicAnalysis",
  742. meta: {
  743. title: "专题分析",
  744. icon: "svg-ztfx",
  745. permissions: ["jn_ztfx"],
  746. },
  747. children: [
  748. {
  749. path: "comprehensiveAnalysis",
  750. component: () =>
  751. import(
  752. "@/views/economicsOperation/thematicAnalysis/comprehensiveAnalysis"
  753. ),
  754. name: "comprehensiveAnalysis",
  755. meta: {
  756. title: "综合分析",
  757. icon: "",
  758. permissions: ["jn_ztfx_zhfx"],
  759. },
  760. },
  761. {
  762. path: "windEnergy",
  763. component: () =>
  764. import("@/views/economicsOperation/thematicAnalysis/windEnergy"),
  765. name: "windEnergy",
  766. meta: {
  767. title: "风光能利用率",
  768. icon: "",
  769. permissions: ["jn_ztfx_fnlyl"],
  770. },
  771. },
  772. {
  773. path: "failure",
  774. component: () =>
  775. import("@/views/economicsOperation/thematicAnalysis/failure"),
  776. name: "failure",
  777. meta: {
  778. title: "五项损失率",
  779. icon: "",
  780. permissions: ["jn_ztfx_wxssl"],
  781. },
  782. },
  783. {
  784. path: "MTBF",
  785. component: () =>
  786. import("@/views/economicsOperation/thematicAnalysis/MTBF"),
  787. name: "MTBF",
  788. meta: {
  789. title: "可靠性分析",
  790. icon: "",
  791. permissions: ["jn_ztfx_kkxfx"],
  792. },
  793. },
  794. {
  795. path: "generation",
  796. component: () =>
  797. import("@/views/economicsOperation/thematicAnalysis/generation"),
  798. name: "generation",
  799. meta: {
  800. title: "发电量分析",
  801. icon: "",
  802. permissions: ["jn_ztfx_dlfx"],
  803. },
  804. },
  805. ],
  806. },
  807. //场站分析
  808. {
  809. path: "stationAnalyse",
  810. component: () => import("@/views/economicsOperation/stationAnalyse"),
  811. name: "StationAnalyse",
  812. meta: {
  813. title: "场站分析",
  814. icon: "svg-fddl",
  815. permissions: ["jn_czfx"],
  816. },
  817. children: [
  818. {
  819. path: "electricAnalyse",
  820. component: () =>
  821. import(
  822. "@/views/economicsOperation/stationAnalyse/electricAnalyse"
  823. ),
  824. name: "ElectricAnalyse",
  825. meta: {
  826. title: "发电量分析",
  827. icon: "",
  828. permissions: ["jn_czfx_fdlfx"],
  829. },
  830. },
  831. {
  832. path: "stationElectricAnalyse",
  833. component: () =>
  834. import(
  835. "@/views/economicsOperation/stationAnalyse/stationElectricAnalyse"
  836. ),
  837. name: "StationElectricAnalyse",
  838. meta: {
  839. title: "综合场用电量分析",
  840. icon: "",
  841. permissions: ["jn_czfx_zhcydlfx"],
  842. },
  843. },
  844. {
  845. path: "WindAndPhotovoltaic",
  846. component: () =>
  847. import(
  848. "@/views/economicsOperation/stationAnalyse/windAndPhotovoltaic"
  849. ),
  850. name: "WindAndPhotovoltaic",
  851. meta: {
  852. title: "风光资源分析",
  853. icon: "",
  854. permissions: ["jn_czfx_fgzyfx"],
  855. },
  856. },
  857. ],
  858. },
  859. //风电分析
  860. {
  861. path: "windAnalyse",
  862. component: () => import("@/views/economicsOperation/windAnalyse"),
  863. name: "WindAnalyse",
  864. meta: {
  865. title: "风电分析",
  866. icon: "svg-fdfx",
  867. permissions: ["jn_fdfx"],
  868. },
  869. children: [
  870. {
  871. path: "stateTransition",
  872. component: () =>
  873. import(
  874. "@/views/economicsOperation/windAnalyse/stateTransition/index.vue"
  875. ),
  876. name: "stateTransition",
  877. meta: {
  878. title: "状态时间分析",
  879. icon: "",
  880. permissions: ["jn_fdfx_ztzhfx"],
  881. },
  882. },
  883. {
  884. path: "timeTransition",
  885. component: () =>
  886. import(
  887. "@/views/economicsOperation/windAnalyse/timeTransition/index.vue"
  888. ),
  889. name: "timeTransition",
  890. meta: {
  891. title: "状态转换分析",
  892. icon: "",
  893. permissions: ["jn_fdfx_ztsjfx"],
  894. },
  895. },
  896. {
  897. path: "powerAnalyse",
  898. component: () =>
  899. import("@/views/economicsOperation/windAnalyse/powerCurve"),
  900. name: "PowerCurve",
  901. meta: {
  902. title: "功率曲线拟合",
  903. icon: "",
  904. permissions: ["jn_fdfx_glqxnh"],
  905. },
  906. },
  907. {
  908. path: "powerSearch",
  909. component: () =>
  910. import("@/views/economicsOperation/windAnalyse/powerSearch"),
  911. name: "PowerSearch",
  912. meta: {
  913. title: "功率曲线查询",
  914. icon: "",
  915. permissions: ["jn_fdfx_glqxcx"],
  916. },
  917. },
  918. {
  919. path: "qxpclfx",
  920. component: () =>
  921. import(
  922. "@/views/economicsOperation/windAnalyse/qxpclfx/index.vue"
  923. ),
  924. name: "Qxpclfx",
  925. meta: {
  926. title: "曲线偏差率分析",
  927. icon: "",
  928. permissions: ["jn_fdfx_qxpclfx"],
  929. },
  930. },
  931. {
  932. path: "cutInAndOutAnalysis",
  933. component: () =>
  934. import(
  935. "@/views/economicsOperation/windAnalyse/cutInAndOutAnalysis/index.vue"
  936. ),
  937. name: "CutInAndOutAnalysis",
  938. meta: {
  939. title: "切入切出分析",
  940. icon: "",
  941. permissions: ["jn_fdfx_qrqcfx"],
  942. },
  943. },
  944. {
  945. path: "singleWindAnasyle",
  946. component: () =>
  947. import(
  948. "@/views/economicsOperation/windAnalyse/singleWindAnasyle/index.vue"
  949. ),
  950. name: "SingleWindAnasyle",
  951. meta: {
  952. title: "单机性能分析",
  953. icon: "",
  954. permissions: ["jn_fdfx_djxnfx"],
  955. },
  956. },
  957. {
  958. path: "monthlyAnalysis",
  959. component: () =>
  960. import(
  961. "@/views/economicsOperation/windAnalyse/monthlyAnalysis/index.vue"
  962. ),
  963. name: "MonthlyAnalysis",
  964. meta: {
  965. title: "单机月度分析",
  966. icon: "",
  967. permissions: ["jn_fdfx_djydfx"],
  968. },
  969. },
  970. {
  971. path: "performanceAssess",
  972. component: () =>
  973. import(
  974. "@/views/economicsOperation/windAnalyse/performanceAssess/index.vue"
  975. ),
  976. name: "PerformanceAssess",
  977. meta: {
  978. title: "性能等级评估",
  979. icon: "",
  980. permissions: ["jn_fdfx_xndjpg"],
  981. },
  982. },
  983. ],
  984. },
  985. //光伏分析
  986. {
  987. path: "photovoltaicAnalyse",
  988. redirect: "analyse/standAloneAnalyse",
  989. component: () =>
  990. import("@/views/economicsOperation/photovoltaicAnalyse"),
  991. name: "PhotovoltaicAnalyse",
  992. meta: {
  993. title: "光伏分析",
  994. icon: "svg-gffx",
  995. permissions: ["jn_gffx"],
  996. },
  997. children: [
  998. {
  999. path: "gfstateTransition",
  1000. component: () =>
  1001. import(
  1002. "@/views/economicsOperation/photovoltaicAnalyse/stateTransition/index.vue"
  1003. ),
  1004. name: "gfstateTransition",
  1005. meta: {
  1006. title: "状态时间分析",
  1007. icon: "",
  1008. permissions: ["jn_gffx_ztzhfx"],
  1009. },
  1010. },
  1011. {
  1012. path: "gftimeTransition",
  1013. component: () =>
  1014. import(
  1015. "@/views/economicsOperation/photovoltaicAnalyse/timeTransition/index.vue"
  1016. ),
  1017. name: "gftimeTransition",
  1018. meta: {
  1019. title: "状态转换分析",
  1020. icon: "",
  1021. permissions: ["jn_gffx_ztsjfx"],
  1022. },
  1023. },
  1024. {
  1025. path: "powerHotAnalyse",
  1026. component: () =>
  1027. import(
  1028. "@/views/economicsOperation/photovoltaicAnalyse/powerHotAnalyse"
  1029. ),
  1030. name: "PowerHotAnalyse",
  1031. meta: {
  1032. title: "功率曲线拟合",
  1033. icon: "",
  1034. permissions: ["jn_gffx_glwdfx"],
  1035. },
  1036. },
  1037. {
  1038. path: "powerAnalyse",
  1039. component: () =>
  1040. import(
  1041. "@/views/economicsOperation/photovoltaicAnalyse/powerAnalyse"
  1042. ),
  1043. name: "PowerAnalyse",
  1044. meta: {
  1045. title: "功率曲线查询",
  1046. icon: "",
  1047. permissions: ["jn_gffx_glqxnh"],
  1048. },
  1049. },
  1050. {
  1051. path: "lslfx",
  1052. component: () =>
  1053. import("@/views/economicsOperation/photovoltaicAnalyse/lslfx"),
  1054. name: "Lslfx",
  1055. meta: {
  1056. title: "离散率分析",
  1057. icon: "",
  1058. permissions: ["jn_gffx_lslfx"],
  1059. },
  1060. },
  1061. {
  1062. path: "prAnalyse",
  1063. component: () =>
  1064. import(
  1065. "@/views/economicsOperation/photovoltaicAnalyse/prAnalyse"
  1066. ),
  1067. name: "PrAnalyse",
  1068. meta: {
  1069. title: "系统效率分析",
  1070. icon: "",
  1071. permissions: ["jn_gffx_xtxlfx"],
  1072. },
  1073. },
  1074. {
  1075. path: "performanceEvaluation",
  1076. component: () =>
  1077. import(
  1078. "@/views/economicsOperation/photovoltaicAnalyse/performanceEvaluation"
  1079. ),
  1080. name: "PerformanceEvaluation",
  1081. meta: {
  1082. title: "性能等级评估",
  1083. icon: "",
  1084. permissions: ["jn_gffx_xndjpg"],
  1085. },
  1086. },
  1087. ],
  1088. },
  1089. //管控效率
  1090. {
  1091. path: "efficiency",
  1092. redirect: "efficiency/restorationEfficiency",
  1093. component: () => import("@/views/economicsOperation/efficiency"),
  1094. name: "efficiency",
  1095. meta: {
  1096. title: "管控效率",
  1097. icon: "svg-dimension-new",
  1098. permissions: ["jn_slgl"],
  1099. },
  1100. children: [
  1101. {
  1102. path: "restorationEfficiency",
  1103. component: () =>
  1104. import(
  1105. "@/views/economicsOperation/efficiency/restorationEfficiency"
  1106. ),
  1107. name: "restorationEfficiency",
  1108. meta: {
  1109. title: "复位及时率",
  1110. icon: "",
  1111. permissions: ["jn_slgl_fwjsl"],
  1112. },
  1113. },
  1114. {
  1115. path: "consumeEfficiency",
  1116. component: () =>
  1117. import("@/views/economicsOperation/efficiency/consumeEfficiency"),
  1118. name: "consumeEfficiency",
  1119. meta: {
  1120. title: "消缺及时率",
  1121. icon: "",
  1122. permissions: ["jn_slgl_xqjsl"],
  1123. },
  1124. },
  1125. {
  1126. path: "stateEfficiency",
  1127. component: () =>
  1128. import("@/views/economicsOperation/efficiency/stateEfficiency"),
  1129. name: "stateEfficiency",
  1130. meta: {
  1131. title: "状态转换率",
  1132. icon: "",
  1133. permissions: ["jn_slgl_ztzhl"],
  1134. },
  1135. },
  1136. ],
  1137. },
  1138. //综合管控KPI
  1139. {
  1140. path: "comprehensiveControl",
  1141. redirect: "comprehensiveControl/running",
  1142. component: () =>
  1143. import("@/views/economicsOperation/comprehensiveControl"),
  1144. name: "comprehensiveControl",
  1145. meta: {
  1146. title: "综合管控KPI",
  1147. icon: "svg-zhgk",
  1148. permissions: ["jn_zhgk"],
  1149. },
  1150. children: [
  1151. {
  1152. path: "running",
  1153. component: () =>
  1154. import(
  1155. "@/views/economicsOperation/comprehensiveControl/runningKPI/index.vue"
  1156. ),
  1157. name: "running",
  1158. meta: {
  1159. title: "运行KPI",
  1160. icon: "",
  1161. permissions: ["jn_zhgk_yx"],
  1162. },
  1163. },
  1164. {
  1165. path: "maintenance",
  1166. component: () =>
  1167. import(
  1168. "@/views/economicsOperation/comprehensiveControl/maintenanceKPI/index.vue"
  1169. ),
  1170. name: "maintenance",
  1171. meta: {
  1172. title: "检修KPI",
  1173. icon: "",
  1174. permissions: ["jn_zhgk_jx"],
  1175. },
  1176. },
  1177. {
  1178. path: "stationControl",
  1179. component: () =>
  1180. import(
  1181. "@/views/economicsOperation/comprehensiveControl/stationControlKPI/index.vue"
  1182. ),
  1183. name: "stationControl",
  1184. meta: {
  1185. title: "场站管控KPI",
  1186. icon: "",
  1187. permissions: ["jn_zhgk_czgk"],
  1188. },
  1189. },
  1190. ],
  1191. },
  1192. ],
  1193. },
  1194. //智慧检修
  1195. {
  1196. path: "/health",
  1197. redirect: "/health/healthManagement/first",
  1198. component: () => import("@/views/HealthControl"),
  1199. name: "health",
  1200. meta: {
  1201. title: "智慧检修",
  1202. icon: "",
  1203. permissions: ["jn_health"],
  1204. },
  1205. children: [
  1206. {
  1207. path: "healthManagement",
  1208. component: () => import("@/views/HealthControl/healthManagement"),
  1209. name: "healthManagement",
  1210. meta: {
  1211. title: "风电健康管理",
  1212. icon: "svg-fjjkd",
  1213. permissions: ["jn_jkgl"],
  1214. },
  1215. children: [
  1216. {
  1217. path: "first",
  1218. component: () =>
  1219. import("@/views/HealthControl/healthManagement/first/index.vue"),
  1220. name: "first",
  1221. meta: {
  1222. title: "健康推荐",
  1223. icon: "",
  1224. permissions: ["jn_jkgl_jktj"],
  1225. },
  1226. },
  1227. {
  1228. path: "homepage",
  1229. component: () =>
  1230. import(
  1231. "@/views/HealthControl/healthManagement/homepage/index.vue"
  1232. ),
  1233. name: "homepage",
  1234. meta: {
  1235. title: "健康首页",
  1236. icon: "",
  1237. permissions: ["jn_jkgl_jksy"],
  1238. },
  1239. },
  1240. {
  1241. path: "overview",
  1242. component: () =>
  1243. import(
  1244. "@/views/HealthControl/healthManagement/overview/index.vue"
  1245. ),
  1246. name: "overview",
  1247. meta: {
  1248. title: "健康总览",
  1249. icon: "",
  1250. permissions: ["jn_jkgl_jkzl"],
  1251. },
  1252. },
  1253. {
  1254. path: "healthMatrix",
  1255. component: () =>
  1256. import(
  1257. "@/views/HealthControl/healthManagement/healthMatrix/index.vue"
  1258. ),
  1259. name: "healthMatrix",
  1260. meta: {
  1261. title: "健康矩阵",
  1262. icon: "",
  1263. permissions: ["jn_jkgl_jkjz"],
  1264. },
  1265. },
  1266. {
  1267. path: "healthList",
  1268. component: () =>
  1269. import(
  1270. "@/views/HealthControl/healthManagement/healthList/index.vue"
  1271. ),
  1272. name: "healthList",
  1273. meta: {
  1274. title: "健康列表",
  1275. icon: "",
  1276. permissions: ["jn_jkgl_jklb"],
  1277. },
  1278. },
  1279. {
  1280. path: "badStateAnalyse/:wpId/:wtId",
  1281. component: () =>
  1282. import(
  1283. "@/views/HealthControl/healthManagement/badStateAnalyse/index.vue"
  1284. ),
  1285. name: "badStateAnalyse",
  1286. meta: {
  1287. title: "劣化状态分析",
  1288. icon: "",
  1289. permissions: ["jn_jkgl_lhztfx"],
  1290. },
  1291. },
  1292. // {
  1293. // path: "wtSaturability",
  1294. // component: () =>
  1295. // import(
  1296. // "@/views/HealthControl/healthManagement/wtSaturability/index.vue"
  1297. // ),
  1298. // name: "wtSaturability",
  1299. // meta: {
  1300. // title: "单机饱和度",
  1301. // icon: "",
  1302. // permissions: ["jn_nxfx_djbhd"],
  1303. // },
  1304. // },
  1305. {
  1306. path: "temperatureAnalysis",
  1307. component: () =>
  1308. import(
  1309. "@/views/HealthControl/healthManagement/temperatureAnalysis/index.vue"
  1310. ),
  1311. name: "temperatureAnalysis",
  1312. meta: {
  1313. title: "部件温度分析",
  1314. icon: "",
  1315. permissions: ["jn_jkgl_bjwd"],
  1316. },
  1317. },
  1318. ],
  1319. },
  1320. {
  1321. path: "gfHealthManagement",
  1322. component: () => import("@/views/HealthControl/gfHealthManagement"),
  1323. name: "gfHealthManagement",
  1324. meta: {
  1325. title: "光伏健康管理",
  1326. icon: "svg-gfjkd",
  1327. permissions: ["jn_gfjkgl"],
  1328. },
  1329. },
  1330. // {
  1331. // path: "energyEfficAnalyse",
  1332. // redirect: "energyEfficAnalyse/healthPowerCurve",
  1333. // component: () => import("@/views/HealthControl/energyEfficAnalyse"),
  1334. // name: "energyEfficAnalyse",
  1335. // meta: {
  1336. // title: "能效分析",
  1337. // icon: "svg-能效分析",
  1338. // permissions: ["jn_nxfx"],
  1339. // },
  1340. // children: [
  1341. // {
  1342. // path: "evaluationAnalysis",
  1343. // component: () =>
  1344. // import(
  1345. // "@/views/HealthControl/energyEfficAnalyse/evaluationAnalysis/index.vue"
  1346. // ),
  1347. // name: "evaluationAnalysis",
  1348. // meta: {
  1349. // title: "预警评判分析",
  1350. // icon: "",
  1351. // permissions: ["jn_nxfx_yjpp"],
  1352. // },
  1353. // },
  1354. // {
  1355. // path: "malfunctionAnalysis",
  1356. // component: () =>
  1357. // import(
  1358. // "@/views/HealthControl/energyEfficAnalyse/malfunctionAnalysis/index.vue"
  1359. // ),
  1360. // name: "malfunctionAnalysis",
  1361. // meta: {
  1362. // title: "故障评判分析",
  1363. // icon: "",
  1364. // permissions: ["jn_nxfx_gzpp"],
  1365. // },
  1366. // },
  1367. // {
  1368. // path: "powerAnalysis",
  1369. // component: () =>
  1370. // import(
  1371. // "@/views/HealthControl/energyEfficAnalyse/powerAnalysis/index.vue"
  1372. // ),
  1373. // name: "powerAnalysis",
  1374. // meta: {
  1375. // title: "部件功率分析",
  1376. // icon: "",
  1377. // permissions: ["jn_nxfx_gzpp"],
  1378. // },
  1379. // },
  1380. // ],
  1381. // },
  1382. {
  1383. path: "healthDetail",
  1384. redirect: "healthDetail/wpHealth",
  1385. component: () => import("@/views/HealthControl/healthDetail"),
  1386. name: "healthDetail",
  1387. hidden: true,
  1388. meta: {
  1389. title: "健康详情",
  1390. icon: "",
  1391. permissions: ["jn_jkgl"],
  1392. },
  1393. children: [
  1394. {
  1395. path: "wpHealth/:wpId/:wpName?", // 场站健康管理
  1396. name: "health3",
  1397. component: () =>
  1398. import("@/views/HealthControl/healthDetail/wpHealth"),
  1399. meta: {
  1400. title: "场站健康管理",
  1401. icon: "",
  1402. permissions: ["jn_jkgl"],
  1403. },
  1404. },
  1405. {
  1406. path: "wtHealth/:wpId/:wtId", //设备健康详情
  1407. name: "health0",
  1408. component: () =>
  1409. import("@/views/HealthControl/healthDetail/wtHealth"),
  1410. meta: {
  1411. title: "设备健康详情",
  1412. icon: "",
  1413. permissions: ["jn_jkgl"],
  1414. },
  1415. },
  1416. {
  1417. path: "healthTrend/:wpId/:wtId", //设备健康详情
  1418. name: "healthTrend",
  1419. component: () =>
  1420. import("@/views/HealthControl/healthDetail/healthTrend"),
  1421. meta: {
  1422. title: "健康趋势",
  1423. icon: "",
  1424. permissions: ["jn_jkgl"],
  1425. },
  1426. },
  1427. {
  1428. path: "badState/:wpId/:wtId", //设备健康详情
  1429. name: "",
  1430. component: () =>
  1431. import("@/views/HealthControl/healthManagement/badStateAnalyse"),
  1432. meta: {
  1433. title: "劣化状态分析曲线",
  1434. icon: "",
  1435. permissions: ["jn_jkgl"],
  1436. },
  1437. },
  1438. ],
  1439. },
  1440. ],
  1441. },
  1442. // 智能报表
  1443. {
  1444. path: "/report",
  1445. name: "report",
  1446. meta: {
  1447. title: "智能报表",
  1448. icon: "",
  1449. permissions: ["jn_zhbb"],
  1450. },
  1451. // component: () => import("@/views/report/index copy.vue"),
  1452. component: () => import("@/views/report"),
  1453. children: [
  1454. {
  1455. path: "report",
  1456. redirect: "report/gjyrbb",
  1457. name: "report",
  1458. meta: {
  1459. title: "自定制报表管理",
  1460. icon: "svg-自定制报表管理",
  1461. permissions: ["jn_zdz"],
  1462. },
  1463. component: () => import("@/views/report/stationReport"),
  1464. children: [
  1465. {
  1466. path: "fdxnyrb",
  1467. name: "fdxnyrb",
  1468. component: () => import("@/views/report/stationReport/fdxnyrb"),
  1469. meta: {
  1470. title: "晋能清洁能源风电日报",
  1471. icon: "",
  1472. permissions: ["jn_zdz_fdxnyrb"],
  1473. },
  1474. },
  1475. {
  1476. path: "gfxnyrb",
  1477. name: "gfxnyrb",
  1478. component: () => import("@/views/report/stationReport/gfxnyrb"),
  1479. meta: {
  1480. title: "晋能清洁能源光伏日报",
  1481. icon: "",
  1482. permissions: ["jn_zdz_gfxnyrb"],
  1483. },
  1484. },
  1485. {
  1486. path: "scrb",
  1487. name: "scrb",
  1488. component: () => import("@/views/report/stationReport/scrb"),
  1489. meta: {
  1490. title: "晋能清洁能源生产日报",
  1491. icon: "",
  1492. permissions: ["jn_zdz_scrb"],
  1493. },
  1494. },
  1495. // {
  1496. // path: "gjyrbb",
  1497. // name: "gjyrbb",
  1498. // component: () => import("@/views/report/stationReport/rbb"),
  1499. // meta: {
  1500. // title: "日报表",
  1501. // icon: "",
  1502. // permissions: ["jn_zdz_rbb"],
  1503. // },
  1504. // },
  1505. {
  1506. path: "fczybb",
  1507. name: "fczybb",
  1508. component: () => import("@/views/report/stationReport/fczybb"),
  1509. meta: {
  1510. title: "风场自由报表",
  1511. icon: "",
  1512. permissions: ["jn_zdz_fdcz"],
  1513. },
  1514. },
  1515. {
  1516. path: "xmzybb",
  1517. name: "xmzybb",
  1518. component: () => import("@/views/report/stationReport/xmzybb"),
  1519. meta: {
  1520. title: "项目自由报表",
  1521. icon: "",
  1522. permissions: ["jn_zdz_fdxm"],
  1523. },
  1524. },
  1525. // {
  1526. // path: "fdczzdy",
  1527. // name: "fdczzdy",
  1528. // component: () => import("@/views/report/stationReport/fdczzdy"),
  1529. // meta: {
  1530. // title: "风电场站自定义",
  1531. // icon: "",
  1532. // permissions: ["jn_zdz_fdcz"],
  1533. // },
  1534. // },
  1535. // {
  1536. // path: "fdxmzdy",
  1537. // name: "fdxmzdy",
  1538. // component: () => import("@/views/report/stationReport/fdxmzdy"),
  1539. // meta: {
  1540. // title: "风电项目自定义",
  1541. // icon: "",
  1542. // permissions: ["jn_zdz_fdxm"],
  1543. // },
  1544. // },
  1545. ],
  1546. },
  1547. {
  1548. path: "electricReport",
  1549. redirect: "electricReport/dmb",
  1550. name: "electricReport",
  1551. meta: {
  1552. title: "电量报表",
  1553. icon: "svg-dlbb",
  1554. permissions: ["jn_dlbb"],
  1555. },
  1556. component: () => import("@/views/electricReport/dmb"),
  1557. children: [
  1558. {
  1559. path: "dmb",
  1560. name: "dmb",
  1561. component: () => import("@/views/electricReport/dmb"),
  1562. meta: {
  1563. title: "底码表",
  1564. icon: "",
  1565. permissions: ["jn_dlbb_dmb"],
  1566. },
  1567. },
  1568. ],
  1569. },
  1570. ],
  1571. },
  1572. ];
  1573. const router = createRouter({
  1574. history: createWebHashHistory(),
  1575. base: "/nem/",
  1576. routes: [...constantRoutes, ...asyncRoutes],
  1577. });
  1578. // router.beforeEach((to, from, next) => {
  1579. // next();
  1580. // });
  1581. export default router;