index.js 46 KB

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