index.js 46 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560
  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. // path: "/monitor/status", // 状态监视
  24. // name: "Status",
  25. // component: () =>
  26. // import(
  27. // /* webpackChunkName: "status" */ "@/views/stateMonitor/Status/Status.vue"
  28. // ),
  29. // },
  30. // {
  31. // path: "/monitor/agc", // AGC 监视
  32. // name: "Agc",
  33. // component: () =>
  34. // import(/* webpackChunkName: "agc" */ "@/views/stateMonitor/Agc/Agc.vue"),
  35. // },
  36. //全景监视
  37. {
  38. path: "/stateMonitor",
  39. redirect: "/stateMonitor/lightmatrix",
  40. component: () => import("@/views/stateMonitor"),
  41. name: "stateMonitor",
  42. meta: {
  43. title: "全景监视",
  44. icon: "",
  45. permissions: ["jn_stateMonitor"],
  46. },
  47. children: [
  48. {
  49. path: "factoryMonitor/windPowerPlant",
  50. redirect: { name: "windhome" },
  51. component: () =>
  52. import("@/views/stateMonitor/factoryMonitor/windPowerPlant"),
  53. name: "windPowerPlant",
  54. meta: {
  55. title: "风电场站",
  56. icon: "svg-fengdian",
  57. permissions: ["jn_fdcz"],
  58. },
  59. showChild: true,
  60. children: [
  61. {
  62. path: "windhome",
  63. component: () =>
  64. import(
  65. "@/views/stateMonitor/factoryMonitor/windPowerPlant/windhome"
  66. ),
  67. name: "windhome",
  68. meta: {
  69. title: "场站监视",
  70. icon: "svg-station-surveillance",
  71. permissions: ["jn_fdcz_czjs"],
  72. },
  73. },
  74. {
  75. path: "DataTarget",
  76. component: () =>
  77. import(
  78. "@/views/stateMonitor/factoryMonitor/windPowerPlant/DataTarget"
  79. ),
  80. name: "DataTarget",
  81. meta: {
  82. title: "数据指标",
  83. icon: "svg-s指标列表",
  84. permissions: ["jn_fdcz_sjzb"],
  85. },
  86. },
  87. {
  88. path: "matrixMonitor",
  89. component: () =>
  90. import(
  91. "@/views/stateMonitor/factoryMonitor/windPowerPlant/matrixMonitor"
  92. ),
  93. name: "matrixMonitor",
  94. meta: {
  95. title: "矩阵监视",
  96. icon: "svg-matrix",
  97. permissions: ["jn_fdcz_jzjs"],
  98. },
  99. },
  100. {
  101. path: "draughtFan",
  102. component: () =>
  103. import(
  104. "@/views/stateMonitor/factoryMonitor/windPowerPlant/draughtFan"
  105. ),
  106. name: "draughtFan",
  107. meta: {
  108. title: "风机设备",
  109. icon: "svg-wind-site",
  110. permissions: ["jn_fdcz_fjsb"],
  111. },
  112. },
  113. {
  114. path: "boosterStation",
  115. component: () =>
  116. import(
  117. "@/views/stateMonitor/factoryMonitor/windPowerPlant/boosterStation"
  118. ),
  119. name: "boosterStation",
  120. meta: {
  121. title: "升压站",
  122. icon: "svg-s升压站",
  123. permissions: ["jn_fdcz_syz"],
  124. },
  125. },
  126. {
  127. path: "windPower",
  128. component: () =>
  129. import(
  130. "@/views/stateMonitor/factoryMonitor/windPowerPlant/windPower"
  131. ),
  132. name: "windPower",
  133. meta: {
  134. title: "测风塔",
  135. permissions: ["jn_fdcz_cft"],
  136. icon: "svg-s测风塔",
  137. },
  138. },
  139. {
  140. path: "geomorphologicMap",
  141. component: () =>
  142. import(
  143. "@/views/stateMonitor/factoryMonitor/windPowerPlant/geomorphologicMap"
  144. ),
  145. name: "geomorphologicMap",
  146. meta: {
  147. title: "地貌图",
  148. permissions: ["jn_fdcz_dmt"],
  149. icon: "svg-s地图",
  150. },
  151. },
  152. ],
  153. },
  154. {
  155. path: "factoryMonitor/photovoltaic",
  156. redirect: { name: "lighthome" },
  157. component: () =>
  158. import("@/views/stateMonitor/factoryMonitor/photovoltaic"),
  159. name: "photovoltaic",
  160. meta: {
  161. title: "光伏场站",
  162. icon: "svg-guangfu",
  163. permissions: ["jn_gfcz"],
  164. },
  165. showChild: true,
  166. children: [
  167. {
  168. path: "lighthome",
  169. component: () =>
  170. import(
  171. "@/views/stateMonitor/factoryMonitor/photovoltaic/lighthome"
  172. ),
  173. name: "lighthome",
  174. meta: {
  175. title: "场站监视",
  176. icon: "svg-station-surveillance",
  177. permissions: ["jn_gfcz_czjs"],
  178. },
  179. },
  180. {
  181. path: "lightDataTarget",
  182. component: () =>
  183. import(
  184. "@/views/stateMonitor/factoryMonitor/photovoltaic/lightDataTarget"
  185. ),
  186. name: "lightDataTarget",
  187. meta: {
  188. title: "数据指标",
  189. permissions: ["jn_gfcz_sjzb"],
  190. icon: "svg-s指标列表",
  191. },
  192. },
  193. {
  194. path: "lightMatrixMonitor",
  195. component: () =>
  196. import(
  197. "@/views/stateMonitor/factoryMonitor/photovoltaic/lightMatrixMonitor"
  198. ),
  199. name: "lightMatrixMonitor",
  200. meta: {
  201. title: "矩阵监视",
  202. permissions: ["jn_gfcz_jzjs"],
  203. icon: "svg-matrix",
  204. },
  205. },
  206. {
  207. path: "lightMatrix",
  208. component: () =>
  209. import(
  210. "@/views/stateMonitor/factoryMonitor/photovoltaic/lightMatrix"
  211. ),
  212. name: "lightMatrix",
  213. meta: {
  214. title: "分类矩阵",
  215. permissions: ["jn_gfcz_fljz"],
  216. icon: "svg-fljz",
  217. },
  218. },
  219. {
  220. path: "photovoltaicFacility",
  221. component: () =>
  222. import(
  223. "@/views/stateMonitor/factoryMonitor/photovoltaic/photovoltaicFacility"
  224. ),
  225. name: "photovoltaicFacility",
  226. meta: {
  227. title: "光伏设备",
  228. permissions: ["jn_gfcz_gfsb"],
  229. icon: "svg-photovoltaic",
  230. },
  231. },
  232. {
  233. path: "lightBoosterStation",
  234. component: () =>
  235. import(
  236. "@/views/stateMonitor/factoryMonitor/photovoltaic/lightBoosterStation"
  237. ),
  238. name: "lightBoosterStation",
  239. meta: {
  240. title: "升压站",
  241. permissions: ["jn_gfcz_syz"],
  242. icon: "svg-s升压站",
  243. },
  244. },
  245. {
  246. path: "lightGeomorphologicMap",
  247. component: () =>
  248. import(
  249. "@/views/stateMonitor/factoryMonitor/photovoltaic/lightGeomorphologicMap"
  250. ),
  251. name: "lightGeomorphologicMap",
  252. meta: {
  253. title: "地貌图",
  254. permissions: ["jn_gfcz_dmt"],
  255. icon: "svg-s地图",
  256. },
  257. },
  258. ],
  259. },
  260. {
  261. path: "lightmatrix", // 基础矩阵
  262. name: "LightMatrix",
  263. component: () => import("@/views/stateMonitor/LightMatrix"),
  264. meta: {
  265. title: "基础矩阵",
  266. icon: "svg-matrix",
  267. permissions: ["jn_jcjz"],
  268. },
  269. },
  270. {
  271. path: "detailmatrix", // 明细矩阵
  272. name: "DetailMatrix",
  273. component: () => import("@/views/stateMonitor/DetailMatrix"),
  274. meta: {
  275. title: "明细矩阵",
  276. icon: "svg-mx-matrix",
  277. permissions: ["jn_mxjz"],
  278. },
  279. },
  280. {
  281. path: "syzmatrix", // 升压站矩阵
  282. name: "SYZMatrix",
  283. component: () => import("@/views/stateMonitor/focus/syzDetails.vue"),
  284. meta: {
  285. title: "升压站矩阵",
  286. icon: "svg-syz",
  287. permissions: ["jn_syzjz"],
  288. },
  289. },
  290. {
  291. path: "powerPredictMatrix", // 功率预测矩阵
  292. name: "PowerPredictMatrix",
  293. component: () => import("@/views/stateMonitor/powerPredictMatrix"),
  294. meta: {
  295. title: "功率预测矩阵",
  296. icon: "svg-power-predict",
  297. permissions: ["jn_glyc"],
  298. },
  299. },
  300. {
  301. path: "zhzb", // 综合指标统计
  302. name: "zhzb",
  303. component: () =>
  304. import(
  305. /* webpackChunkName: "status" */ "@/views/stateMonitor/zhzb/zhzb.vue"
  306. ),
  307. meta: {
  308. title: "综合指标",
  309. icon: "svg-自定制报表管理",
  310. permissions: ["jn_zhzb"],
  311. },
  312. },
  313. {
  314. path: "factoryMonitor",
  315. redirect: "factoryMonitor/windPowerPlant",
  316. component: () => import("@/views/stateMonitor/factoryMonitor"),
  317. name: "factoryMonitor",
  318. meta: {
  319. title: "厂站监视",
  320. icon: "svg-single-station-surveillance",
  321. permissions: ["jn_czjs"],
  322. },
  323. hidden: true,
  324. children: [
  325. {
  326. path: "windPowerPlant",
  327. redirect: { name: "windhome" },
  328. component: () =>
  329. import("@/views/stateMonitor/factoryMonitor/windPowerPlant"),
  330. name: "windPowerPlant",
  331. meta: {
  332. title: "风电场站",
  333. icon: "",
  334. permissions: ["jn_fdcz"],
  335. },
  336. children: [
  337. {
  338. path: "windhome",
  339. component: () =>
  340. import(
  341. "@/views/stateMonitor/factoryMonitor/windPowerPlant/windhome"
  342. ),
  343. name: "windhome",
  344. meta: {
  345. title: "场站监视",
  346. icon: "svg-station-surveillance",
  347. permissions: ["jn_fdcz_czjs"],
  348. },
  349. },
  350. {
  351. path: "DataTarget",
  352. component: () =>
  353. import(
  354. "@/views/stateMonitor/factoryMonitor/windPowerPlant/DataTarget"
  355. ),
  356. name: "DataTarget",
  357. meta: {
  358. title: "数据指标",
  359. icon: "svg-s指标列表",
  360. permissions: ["jn_fdcz_sjzb"],
  361. },
  362. },
  363. {
  364. path: "matrixMonitor",
  365. component: () =>
  366. import(
  367. "@/views/stateMonitor/factoryMonitor/windPowerPlant/matrixMonitor"
  368. ),
  369. name: "matrixMonitor",
  370. meta: {
  371. title: "矩阵监视",
  372. icon: "svg-matrix",
  373. permissions: ["jn_fdcz_jzjs"],
  374. },
  375. },
  376. {
  377. path: "draughtFan",
  378. component: () =>
  379. import(
  380. "@/views/stateMonitor/factoryMonitor/windPowerPlant/draughtFan"
  381. ),
  382. name: "draughtFan",
  383. meta: {
  384. title: "风机设备",
  385. icon: "svg-wind-site",
  386. permissions: ["jn_fdcz_fjsb"],
  387. },
  388. },
  389. {
  390. path: "boosterStation",
  391. component: () =>
  392. import(
  393. "@/views/stateMonitor/factoryMonitor/windPowerPlant/boosterStation"
  394. ),
  395. name: "boosterStation",
  396. meta: {
  397. title: "升压站",
  398. icon: "svg-s升压站",
  399. permissions: ["jn_fdcz_syz"],
  400. },
  401. },
  402. {
  403. path: "windPower",
  404. component: () =>
  405. import(
  406. "@/views/stateMonitor/factoryMonitor/windPowerPlant/windPower"
  407. ),
  408. name: "windPower",
  409. meta: {
  410. title: "测风塔",
  411. permissions: ["jn_fdcz_cft"],
  412. icon: "svg-s测风塔",
  413. },
  414. },
  415. {
  416. path: "geomorphologicMap",
  417. component: () =>
  418. import(
  419. "@/views/stateMonitor/factoryMonitor/windPowerPlant/geomorphologicMap"
  420. ),
  421. name: "geomorphologicMap",
  422. meta: {
  423. title: "地貌图",
  424. permissions: ["jn_fdcz_dmt"],
  425. icon: "svg-s地图",
  426. },
  427. },
  428. ],
  429. },
  430. {
  431. path: "photovoltaic",
  432. redirect: { name: "lighthome" },
  433. component: () =>
  434. import("@/views/stateMonitor/factoryMonitor/photovoltaic"),
  435. name: "photovoltaic",
  436. meta: {
  437. title: "光伏场站",
  438. icon: "",
  439. permissions: ["jn_gfcz"],
  440. },
  441. children: [
  442. {
  443. path: "lighthome",
  444. component: () =>
  445. import(
  446. "@/views/stateMonitor/factoryMonitor/photovoltaic/lighthome"
  447. ),
  448. name: "lighthome",
  449. meta: {
  450. title: "场站监视",
  451. icon: "svg-station-surveillance",
  452. permissions: ["jn_gfcz_czjs"],
  453. },
  454. },
  455. {
  456. path: "lightDataTarget",
  457. component: () =>
  458. import(
  459. "@/views/stateMonitor/factoryMonitor/photovoltaic/lightDataTarget"
  460. ),
  461. name: "lightDataTarget",
  462. meta: {
  463. title: "数据指标",
  464. permissions: ["jn_gfcz_sjzb"],
  465. icon: "svg-s指标列表",
  466. },
  467. },
  468. {
  469. path: "lightMatrixMonitor",
  470. component: () =>
  471. import(
  472. "@/views/stateMonitor/factoryMonitor/photovoltaic/lightMatrixMonitor"
  473. ),
  474. name: "lightMatrixMonitor",
  475. meta: {
  476. title: "矩阵监视",
  477. permissions: ["jn_gfcz_jzjs"],
  478. icon: "svg-matrix",
  479. },
  480. },
  481. {
  482. path: "lightMatrix",
  483. component: () =>
  484. import(
  485. "@/views/stateMonitor/factoryMonitor/photovoltaic/lightMatrix"
  486. ),
  487. name: "lightMatrix",
  488. meta: {
  489. title: "分类矩阵",
  490. permissions: ["jn_gfcz_fljz"],
  491. icon: "svg-fljz",
  492. },
  493. },
  494. {
  495. path: "photovoltaicFacility",
  496. component: () =>
  497. import(
  498. "@/views/stateMonitor/factoryMonitor/photovoltaic/photovoltaicFacility"
  499. ),
  500. name: "photovoltaicFacility",
  501. meta: {
  502. title: "光伏设备",
  503. permissions: ["jn_gfcz_gfsb"],
  504. icon: "svg-photovoltaic",
  505. },
  506. },
  507. {
  508. path: "lightBoosterStation",
  509. component: () =>
  510. import(
  511. "@/views/stateMonitor/factoryMonitor/photovoltaic/lightBoosterStation"
  512. ),
  513. name: "lightBoosterStation",
  514. meta: {
  515. title: "升压站",
  516. permissions: ["jn_gfcz_syz"],
  517. icon: "svg-s升压站",
  518. },
  519. },
  520. {
  521. path: "lightGeomorphologicMap",
  522. component: () =>
  523. import(
  524. "@/views/stateMonitor/factoryMonitor/photovoltaic/lightGeomorphologicMap"
  525. ),
  526. name: "lightGeomorphologicMap",
  527. meta: {
  528. title: "地貌图",
  529. permissions: ["jn_gfcz_dmt"],
  530. icon: "svg-s地图",
  531. },
  532. },
  533. ],
  534. },
  535. ],
  536. },
  537. {
  538. path: "alarmCenter", // 报警列表
  539. name: "alarmCenter",
  540. component: () => import("@/views/stateMonitor/alarmCenter/commonAlarm"),
  541. meta: {
  542. title: "报警列表",
  543. icon: "svg-alarm-center",
  544. permissions: ["jn_alarm"],
  545. },
  546. },
  547. /*{
  548. path: "agcmatrix", // AGC矩阵
  549. name: "AGCMatrix",
  550. component: () => import("@/views/stateMonitor/focus/agcDetails"),
  551. meta: {
  552. title: "AGC矩阵",
  553. icon: "svg-mx-matrix",
  554. permissions: ["jn_mxjz"],
  555. },
  556. }*/
  557. ],
  558. },
  559. // 经济运行
  560. {
  561. path: "/economicsOperation",
  562. redirect:
  563. "/economicsOperation/benchmarkingManagement/performanceRankingList",
  564. component: () =>
  565. import("@/views/economicsOperation/benchmarkingManagement"),
  566. name: "economicsOperation",
  567. meta: {
  568. title: "经济运行",
  569. icon: "",
  570. permissions: ["jn_economicsOperation"],
  571. },
  572. children: [
  573. // {
  574. // path: "homePage",
  575. // component: () => import("@/views/economicsOperation/homePage"),
  576. // name: "homePage",
  577. // meta: {
  578. // title: "首页",
  579. // icon: "icon-Simple-matrix",
  580. // },
  581. // },
  582. //对标管理
  583. {
  584. path: "benchmarkingManagement",
  585. redirect: "benchmarkingManagement/performanceRankingList",
  586. component: () =>
  587. import("@/views/economicsOperation/benchmarkingManagement"),
  588. name: "benchmarkingManagement",
  589. meta: {
  590. title: "对标管理",
  591. icon: "svg-dbgl",
  592. permissions: ["jn_dbgl"],
  593. },
  594. children: [
  595. {
  596. path: "performanceRankingList",
  597. component: () =>
  598. import(
  599. "@/views/economicsOperation/benchmarkingManagement/performanceRankingList/index.vue"
  600. ),
  601. name: "performanceRankingList",
  602. meta: {
  603. title: "风机绩效榜",
  604. icon: "",
  605. permissions: ["jn_dbgl_jxb"],
  606. },
  607. },
  608. {
  609. path: "decision1Mx", //风机绩效榜明细
  610. name: "decision1Mx",
  611. component: () =>
  612. import(
  613. "@/views/economicsOperation/benchmarkingManagement/performanceRankingList/decision1Mx.vue"
  614. ),
  615. meta: {
  616. title: "风机绩效榜明细",
  617. icon: "",
  618. permissions: ["jn_dbgl_jxb"],
  619. },
  620. },
  621. {
  622. path: "loseRate",
  623. component: () =>
  624. import(
  625. "@/views/economicsOperation/benchmarkingManagement/loseRate/index.vue"
  626. ),
  627. name: "loseRate",
  628. meta: {
  629. title: "五项损失率",
  630. icon: "",
  631. permissions: ["jn_dbgl_wxssl"],
  632. },
  633. },
  634. // {
  635. // path: "companyBenchmarking",
  636. // component: () =>
  637. // import(
  638. // "@/views/economicsOperation/benchmarkingManagement/companyBenchmarking"
  639. // ),
  640. // name: "companyBenchmarking",
  641. // meta: {
  642. // title: "公司对标",
  643. // icon: "",
  644. // permissions: ["jn_dbgl_gsdb"],
  645. // },
  646. // },
  647. {
  648. path: "siteBenchmarking",
  649. component: () =>
  650. import(
  651. "@/views/economicsOperation/benchmarkingManagement/siteBenchmarking"
  652. ),
  653. name: "siteBenchmarking",
  654. meta: {
  655. title: "场内对标",
  656. icon: "",
  657. permissions: ["jn_dbgl_cndb"],
  658. },
  659. },
  660. {
  661. path: "intervalBenchmarking",
  662. component: () =>
  663. import(
  664. "@/views/economicsOperation/benchmarkingManagement/intervalBenchmarking"
  665. ),
  666. name: "intervalBenchmarking",
  667. meta: {
  668. title: "场际对标",
  669. icon: "",
  670. permissions: ["jn_dbgl_cjdb"],
  671. },
  672. },
  673. // {
  674. // path: "valueBenchmarking",
  675. // component: () =>
  676. // import(
  677. // "@/views/economicsOperation/benchmarkingManagement/valueBenchmarking"
  678. // ),
  679. // name: "valueBenchmarking",
  680. // meta: {
  681. // title: "值际对标",
  682. // icon: "",
  683. // },
  684. // },
  685. {
  686. path: "projectBenchmarking",
  687. component: () =>
  688. import(
  689. "@/views/economicsOperation/benchmarkingManagement/projectBenchmarking"
  690. ),
  691. name: "projectBenchmarking",
  692. meta: {
  693. title: "项目对标",
  694. icon: "",
  695. permissions: ["jn_dbgl_xmdb"],
  696. },
  697. },
  698. {
  699. path: "wiringBenchmarking",
  700. component: () =>
  701. import(
  702. "@/views/economicsOperation/benchmarkingManagement/wiringBenchmarking"
  703. ),
  704. name: "wiringBenchmarking",
  705. meta: {
  706. title: "线路对标",
  707. icon: "",
  708. permissions: ["jn_dbgl_xldb"],
  709. },
  710. },
  711. // {
  712. // path: "singleMachineBenchmarking",
  713. // component: () =>
  714. // import(
  715. // "@/views/economicsOperation/benchmarkingManagement/singleMachineBenchmarking"
  716. // ),
  717. // name: "singleMachineBenchmarking",
  718. // meta: {
  719. // title: "单机对标",
  720. // icon: "",
  721. // },
  722. // },
  723. ],
  724. },
  725. //专题分析
  726. {
  727. path: "thematicAnalysis",
  728. redirect: "thematicAnalysis/comprehensiveAnalysis",
  729. component: () => import("@/views/economicsOperation/thematicAnalysis"),
  730. name: "thematicAnalysis",
  731. meta: {
  732. title: "专题分析",
  733. icon: "svg-ztfx",
  734. permissions: ["jn_ztfx"],
  735. },
  736. children: [
  737. {
  738. path: "comprehensiveAnalysis",
  739. component: () =>
  740. import(
  741. "@/views/economicsOperation/thematicAnalysis/comprehensiveAnalysis"
  742. ),
  743. name: "comprehensiveAnalysis",
  744. meta: {
  745. title: "综合分析",
  746. icon: "",
  747. permissions: ["jn_ztfx_zhfx"],
  748. },
  749. },
  750. {
  751. path: "windEnergy",
  752. component: () =>
  753. import("@/views/economicsOperation/thematicAnalysis/windEnergy"),
  754. name: "windEnergy",
  755. meta: {
  756. title: "风能利用率",
  757. icon: "",
  758. permissions: ["jn_ztfx_fnlyl"],
  759. },
  760. },
  761. {
  762. path: "failure",
  763. component: () =>
  764. import("@/views/economicsOperation/thematicAnalysis/failure"),
  765. name: "failure",
  766. meta: {
  767. title: "五项损失率",
  768. icon: "",
  769. permissions: ["jn_ztfx_wxssl"],
  770. },
  771. },
  772. {
  773. path: "reset",
  774. component: () =>
  775. import("@/views/economicsOperation/thematicAnalysis/reset"),
  776. name: "reset",
  777. meta: {
  778. title: "三率分析",
  779. icon: "",
  780. permissions: ["jn_ztfx_fwjsl"],
  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_fddlfx"],
  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_gfdlfx"],
  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_gfdlfx"],
  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_gfdlfx"],
  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_xnfx"],
  868. },
  869. children: [
  870. {
  871. path: "powerAnalyse",
  872. component: () =>
  873. import("@/views/economicsOperation/windAnalyse/powerCurve"),
  874. name: "PowerCurve",
  875. meta: {
  876. title: "功率曲线拟合",
  877. icon: "",
  878. permissions: ["jn_xnfx_djxnfx"],
  879. },
  880. },
  881. {
  882. path: "powerSearch",
  883. component: () =>
  884. import("@/views/economicsOperation/windAnalyse/powerSearch"),
  885. name: "PowerSearch",
  886. meta: {
  887. title: "功率曲线查询",
  888. icon: "",
  889. permissions: ["jn_xnfx_djxnfx"],
  890. },
  891. },
  892. {
  893. path: "qxpclfx",
  894. component: () =>
  895. import(
  896. "@/views/economicsOperation/windAnalyse/qxpclfx/index.vue"
  897. ),
  898. name: "Qxpclfx",
  899. meta: {
  900. title: "曲线偏差率分析",
  901. icon: "",
  902. permissions: ["jn_xnfx_djxnfx"],
  903. },
  904. },
  905. {
  906. path: "cutInAndOutAnalysis",
  907. component: () =>
  908. import(
  909. "@/views/economicsOperation/windAnalyse/cutInAndOutAnalysis/index.vue"
  910. ),
  911. name: "CutInAndOutAnalysis",
  912. meta: {
  913. title: "切入切出分析",
  914. icon: "",
  915. permissions: ["jn_glqx_qrqcfx"],
  916. },
  917. },
  918. {
  919. path: "singleWindAnasyle",
  920. component: () =>
  921. import(
  922. "@/views/economicsOperation/windAnalyse/singleWindAnasyle/index.vue"
  923. ),
  924. name: "SingleWindAnasyle",
  925. meta: {
  926. title: "单机性能分析",
  927. icon: "",
  928. permissions: ["jn_xnfx_djxnfx"],
  929. },
  930. },
  931. {
  932. path: "monthlyAnalysis",
  933. component: () =>
  934. import(
  935. "@/views/economicsOperation/windAnalyse/monthlyAnalysis/index.vue"
  936. ),
  937. name: "MonthlyAnalysis",
  938. meta: {
  939. title: "单机月度分析",
  940. icon: "",
  941. permissions: ["jn_xnfx_djydfx"],
  942. },
  943. },
  944. {
  945. path: "performanceAssess",
  946. component: () =>
  947. import(
  948. "@/views/economicsOperation/windAnalyse/performanceAssess/index.vue"
  949. ),
  950. name: "PerformanceAssess",
  951. meta: {
  952. title: "性能等级评估",
  953. icon: "",
  954. permissions: ["jn_glqx_glqxnh"],
  955. },
  956. },
  957. {
  958. path: "stateTransition",
  959. component: () =>
  960. import(
  961. "@/views/economicsOperation/windAnalyse/stateTransition/index.vue"
  962. ),
  963. name: "stateTransition",
  964. meta: {
  965. title: "状态转换分析",
  966. icon: "",
  967. permissions: ["jn_glqx_glqxnh"],
  968. },
  969. },
  970. {
  971. path: "timeTransition",
  972. component: () =>
  973. import(
  974. "@/views/economicsOperation/windAnalyse/timeTransition/index.vue"
  975. ),
  976. name: "timeTransition",
  977. meta: {
  978. title: "状态时间分析",
  979. icon: "",
  980. permissions: ["jn_glqx_glqxnh"],
  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_xnfx"],
  996. },
  997. children: [
  998. {
  999. path: "powerAnalyse",
  1000. component: () =>
  1001. import(
  1002. "@/views/economicsOperation/photovoltaicAnalyse/powerAnalyse"
  1003. ),
  1004. name: "PowerAnalyse",
  1005. meta: {
  1006. title: "功率曲线拟合",
  1007. icon: "",
  1008. permissions: ["jn_xnfx_djxnfx"],
  1009. },
  1010. },
  1011. {
  1012. path: "powerHotAnalyse",
  1013. component: () =>
  1014. import(
  1015. "@/views/economicsOperation/photovoltaicAnalyse/powerHotAnalyse"
  1016. ),
  1017. name: "PowerHotAnalyse",
  1018. meta: {
  1019. title: "功率温度分析",
  1020. icon: "",
  1021. permissions: ["jn_xnfx_djxnfx"],
  1022. },
  1023. },
  1024. {
  1025. path: "lslfx",
  1026. component: () =>
  1027. import("@/views/economicsOperation/photovoltaicAnalyse/lslfx"),
  1028. name: "Lslfx",
  1029. meta: {
  1030. title: "离散率分析",
  1031. icon: "",
  1032. permissions: ["jn_xnfx_djxnfx"],
  1033. },
  1034. },
  1035. {
  1036. path: "prAnalyse",
  1037. component: () =>
  1038. import(
  1039. "@/views/economicsOperation/photovoltaicAnalyse/prAnalyse"
  1040. ),
  1041. name: "PrAnalyse",
  1042. meta: {
  1043. title: "PR分析",
  1044. icon: "",
  1045. permissions: ["jn_xnfx_djydfx"],
  1046. },
  1047. },
  1048. {
  1049. path: "performanceEvaluation",
  1050. component: () =>
  1051. import(
  1052. "@/views/economicsOperation/photovoltaicAnalyse/performanceEvaluation"
  1053. ),
  1054. name: "PerformanceEvaluation",
  1055. meta: {
  1056. title: "性能等级评估",
  1057. icon: "",
  1058. permissions: ["jn_glqx_glqxnh"],
  1059. },
  1060. },
  1061. {
  1062. path: "gfstateTransition",
  1063. component: () =>
  1064. import(
  1065. "@/views/economicsOperation/photovoltaicAnalyse/stateTransition/index.vue"
  1066. ),
  1067. name: "gfstateTransition",
  1068. meta: {
  1069. title: "状态转换分析",
  1070. icon: "",
  1071. permissions: ["jn_glqx_glqxnh"],
  1072. },
  1073. },
  1074. {
  1075. path: "gftimeTransition",
  1076. component: () =>
  1077. import(
  1078. "@/views/economicsOperation/photovoltaicAnalyse/timeTransition/index.vue"
  1079. ),
  1080. name: "gftimeTransition",
  1081. meta: {
  1082. title: "状态时间分析",
  1083. icon: "",
  1084. permissions: ["jn_glqx_glqxnh"],
  1085. },
  1086. },
  1087. ],
  1088. }, //管控效率
  1089. {
  1090. path: "efficiency",
  1091. redirect: "efficiency/restorationEfficiency",
  1092. component: () => import("@/views/economicsOperation/efficiency"),
  1093. name: "efficiency",
  1094. meta: {
  1095. title: "管控效率",
  1096. icon: "svg-dimension-new",
  1097. permissions: ["jn_slgl"],
  1098. },
  1099. children: [
  1100. {
  1101. path: "restorationEfficiency",
  1102. component: () =>
  1103. import(
  1104. "@/views/economicsOperation/efficiency/restorationEfficiency"
  1105. ),
  1106. name: "restorationEfficiency",
  1107. meta: {
  1108. title: "复位及时率",
  1109. icon: "",
  1110. permissions: ["jn_slgl_fwjsl"],
  1111. },
  1112. },
  1113. {
  1114. path: "consumeEfficiency",
  1115. component: () =>
  1116. import("@/views/economicsOperation/efficiency/consumeEfficiency"),
  1117. name: "consumeEfficiency",
  1118. meta: {
  1119. title: "消缺及时率",
  1120. icon: "",
  1121. permissions: ["jn_slgl_xqjsl"],
  1122. },
  1123. },
  1124. {
  1125. path: "stateEfficiency",
  1126. component: () =>
  1127. import("@/views/economicsOperation/efficiency/stateEfficiency"),
  1128. name: "stateEfficiency",
  1129. meta: {
  1130. title: "状态转换率",
  1131. icon: "",
  1132. permissions: ["jn_slgl_ztzhl"],
  1133. },
  1134. },
  1135. ],
  1136. },
  1137. //综合管控KPI
  1138. {
  1139. path: "comprehensiveControl",
  1140. redirect: "comprehensiveControl/running",
  1141. component: () =>
  1142. import("@/views/economicsOperation/comprehensiveControl"),
  1143. name: "comprehensiveControl",
  1144. meta: {
  1145. title: "综合管控KPI",
  1146. icon: "svg-zhgk",
  1147. permissions: ["jn_zhgk"],
  1148. },
  1149. children: [
  1150. {
  1151. path: "running",
  1152. component: () =>
  1153. import(
  1154. "@/views/economicsOperation/comprehensiveControl/runningKPI/index.vue"
  1155. ),
  1156. name: "running",
  1157. meta: {
  1158. title: "运行KPI",
  1159. icon: "",
  1160. permissions: ["jn_zhgk_yx"],
  1161. },
  1162. },
  1163. {
  1164. path: "maintenance",
  1165. component: () =>
  1166. import(
  1167. "@/views/economicsOperation/comprehensiveControl/maintenanceKPI/index.vue"
  1168. ),
  1169. name: "maintenance",
  1170. meta: {
  1171. title: "检修KPI",
  1172. icon: "",
  1173. permissions: ["jn_zhgk_jx"],
  1174. },
  1175. },
  1176. {
  1177. path: "stationControl",
  1178. component: () =>
  1179. import(
  1180. "@/views/economicsOperation/comprehensiveControl/stationControlKPI/index.vue"
  1181. ),
  1182. name: "stationControl",
  1183. meta: {
  1184. title: "场站管控KPI",
  1185. icon: "",
  1186. permissions: ["jn_zhgk_czgk"],
  1187. },
  1188. },
  1189. ],
  1190. },
  1191. ],
  1192. },
  1193. //智慧检修
  1194. {
  1195. path: "/health",
  1196. redirect: "/health/healthManagement/first",
  1197. component: () => import("@/views/HealthControl"),
  1198. name: "health",
  1199. meta: {
  1200. title: "智慧检修",
  1201. icon: "",
  1202. permissions: ["jn_health"],
  1203. },
  1204. children: [
  1205. {
  1206. path: "healthManagement",
  1207. // redirect: "healthManagement/first",
  1208. component: () => import("@/views/HealthControl/healthManagement"),
  1209. name: "healthManagement",
  1210. meta: {
  1211. title: "健康管理",
  1212. icon: "svg-健康管理",
  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_nxfx_bjwd"],
  1316. },
  1317. },
  1318. ],
  1319. },
  1320. // {
  1321. // path: "energyEfficAnalyse",
  1322. // redirect: "energyEfficAnalyse/healthPowerCurve",
  1323. // component: () => import("@/views/HealthControl/energyEfficAnalyse"),
  1324. // name: "energyEfficAnalyse",
  1325. // meta: {
  1326. // title: "能效分析",
  1327. // icon: "svg-能效分析",
  1328. // permissions: ["jn_nxfx"],
  1329. // },
  1330. // children: [
  1331. // {
  1332. // path: "evaluationAnalysis",
  1333. // component: () =>
  1334. // import(
  1335. // "@/views/HealthControl/energyEfficAnalyse/evaluationAnalysis/index.vue"
  1336. // ),
  1337. // name: "evaluationAnalysis",
  1338. // meta: {
  1339. // title: "预警评判分析",
  1340. // icon: "",
  1341. // permissions: ["jn_nxfx_yjpp"],
  1342. // },
  1343. // },
  1344. // {
  1345. // path: "malfunctionAnalysis",
  1346. // component: () =>
  1347. // import(
  1348. // "@/views/HealthControl/energyEfficAnalyse/malfunctionAnalysis/index.vue"
  1349. // ),
  1350. // name: "malfunctionAnalysis",
  1351. // meta: {
  1352. // title: "故障评判分析",
  1353. // icon: "",
  1354. // permissions: ["jn_nxfx_gzpp"],
  1355. // },
  1356. // },
  1357. // {
  1358. // path: "powerAnalysis",
  1359. // component: () =>
  1360. // import(
  1361. // "@/views/HealthControl/energyEfficAnalyse/powerAnalysis/index.vue"
  1362. // ),
  1363. // name: "powerAnalysis",
  1364. // meta: {
  1365. // title: "部件功率分析",
  1366. // icon: "",
  1367. // permissions: ["jn_nxfx_gzpp"],
  1368. // },
  1369. // },
  1370. // ],
  1371. // },
  1372. {
  1373. path: "healthDetail",
  1374. redirect: "healthDetail/wpHealth",
  1375. component: () => import("@/views/HealthControl/healthDetail"),
  1376. name: "healthDetail",
  1377. hidden: true,
  1378. meta: {
  1379. title: "健康详情",
  1380. icon: "",
  1381. permissions: ["jn_jkgl"],
  1382. },
  1383. children: [
  1384. {
  1385. path: "wpHealth/:wpId/:wpName?", // 场站健康管理
  1386. name: "health3",
  1387. component: () =>
  1388. import("@/views/HealthControl/healthDetail/wpHealth"),
  1389. meta: {
  1390. title: "场站健康管理",
  1391. icon: "",
  1392. permissions: ["jn_jkgl"],
  1393. },
  1394. },
  1395. {
  1396. path: "wtHealth/:wpId/:wtId", //设备健康详情
  1397. name: "health0",
  1398. component: () =>
  1399. import("@/views/HealthControl/healthDetail/wtHealth"),
  1400. meta: {
  1401. title: "设备健康详情",
  1402. icon: "",
  1403. permissions: ["jn_jkgl"],
  1404. },
  1405. },
  1406. {
  1407. path: "healthTrend/:wpId/:wtId", //设备健康详情
  1408. name: "healthTrend",
  1409. component: () =>
  1410. import("@/views/HealthControl/healthDetail/healthTrend"),
  1411. meta: {
  1412. title: "健康趋势",
  1413. icon: "",
  1414. permissions: ["jn_jkgl"],
  1415. },
  1416. },
  1417. {
  1418. path: "badState/:wpId/:wtId", //设备健康详情
  1419. name: "",
  1420. component: () =>
  1421. import("@/views/HealthControl/healthManagement/badStateAnalyse"),
  1422. meta: {
  1423. title: "劣化状态分析曲线",
  1424. icon: "",
  1425. permissions: ["jn_jkgl"],
  1426. },
  1427. },
  1428. ],
  1429. },
  1430. ],
  1431. },
  1432. // 智能报表
  1433. {
  1434. path: "/others",
  1435. redirect: "/others/report/gjyrbb",
  1436. name: "others",
  1437. meta: {
  1438. title: "智能报表",
  1439. icon: "",
  1440. permissions: ["jn_zhbb"],
  1441. },
  1442. // component: () => import("@/views/report/index copy.vue"),
  1443. component: () => import("@/views/report"),
  1444. children: [
  1445. {
  1446. path: "report",
  1447. redirect: "report/gjyrbb",
  1448. name: "report",
  1449. meta: {
  1450. title: "自定制报表管理",
  1451. icon: "svg-自定制报表管理",
  1452. permissions: ["jn_zdz"],
  1453. },
  1454. component: () => import("@/views/report/stationReport"),
  1455. children: [
  1456. {
  1457. path: "fdxnyrb",
  1458. name: "fdxnyrb",
  1459. component: () => import("@/views/report/stationReport/fdxnyrb"),
  1460. meta: {
  1461. title: "晋能清洁能源风电日报",
  1462. icon: "",
  1463. permissions: ["jn_zdz_fdxnyrb"],
  1464. },
  1465. },
  1466. {
  1467. path: "gfxnyrb",
  1468. name: "gfxnyrb",
  1469. component: () => import("@/views/report/stationReport/gfxnyrb"),
  1470. meta: {
  1471. title: "晋能清洁能源光伏日报",
  1472. icon: "",
  1473. permissions: ["jn_zdz_gfxnyrb"],
  1474. },
  1475. },
  1476. {
  1477. path: "scrb",
  1478. name: "scrb",
  1479. component: () => import("@/views/report/stationReport/scrb"),
  1480. meta: {
  1481. title: "晋能清洁能源生产日报",
  1482. icon: "",
  1483. permissions: ["jn_zdz_scrb"],
  1484. },
  1485. },
  1486. {
  1487. path: "gjyrbb",
  1488. name: "gjyrbb",
  1489. component: () => import("@/views/report/stationReport/rbb"),
  1490. meta: {
  1491. title: "日报表",
  1492. icon: "",
  1493. permissions: ["jn_zdz_rbb"],
  1494. },
  1495. },
  1496. {
  1497. path: "fdczzdy",
  1498. name: "fdczzdy",
  1499. component: () => import("@/views/report/stationReport/fdczzdy"),
  1500. meta: {
  1501. title: "风电场站自定义",
  1502. icon: "",
  1503. permissions: ["jn_zdz_fdcz"],
  1504. },
  1505. },
  1506. {
  1507. path: "fdxmzdy",
  1508. name: "fdxmzdy",
  1509. component: () => import("@/views/report/stationReport/fdxmzdy"),
  1510. meta: {
  1511. title: "风电项目自定义",
  1512. icon: "",
  1513. permissions: ["jn_zdz_fdxm"],
  1514. },
  1515. },
  1516. ],
  1517. },
  1518. {
  1519. path: "electricReport",
  1520. redirect: "electricReport/dmb",
  1521. name: "electricReport",
  1522. meta: {
  1523. title: "电量报表",
  1524. icon: "svg-dlbb",
  1525. permissions: ["jn_dlbb"],
  1526. },
  1527. component: () => import("@/views/electricReport/dmb"),
  1528. children: [
  1529. {
  1530. path: "dmb",
  1531. name: "dmb",
  1532. component: () => import("@/views/electricReport/dmb"),
  1533. meta: {
  1534. title: "底码表",
  1535. icon: "",
  1536. permissions: ["jn_dlbb_dmb"],
  1537. },
  1538. },
  1539. ],
  1540. },
  1541. ],
  1542. },
  1543. ];
  1544. const router = createRouter({
  1545. history: createWebHashHistory(),
  1546. base: "/nem/",
  1547. routes: [...constantRoutes, ...asyncRoutes],
  1548. });
  1549. // router.beforeEach((to, from, next) => {
  1550. // next();
  1551. // });
  1552. export default router;