index.js 51 KB

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