index.js 41 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078
  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. // {
  12. // path: "/",
  13. // redirect: "/home",
  14. // meta: {
  15. // title: "首页",
  16. // icon: "",
  17. // permissions: ["jn_sy"],
  18. // },
  19. // },
  20. // {
  21. // path: "/home", // 驾驶舱
  22. // name: "home",
  23. // component: () => import("@/views/Home"),
  24. // meta: {
  25. // title: "首页",
  26. // icon: "",
  27. // permissions: ["jn_sy"],
  28. // },
  29. // },
  30. //综合报警
  31. {
  32. path: "/integratedAlarm",
  33. redirect:
  34. "/integratedAlarm/safe/realwarning",
  35. component: () => import("@/views/IntegratedAlarm"),
  36. // component: () => import("@/views/SandTable/SandTable.vue"),
  37. name: "SandTable",
  38. meta: {
  39. title: "综合报警",
  40. icon: "",
  41. permissions: ["jn_integratedAlarm"],
  42. },
  43. children: [
  44. // {
  45. // path: "detailmatrix", // 明细矩阵
  46. // name: "DetailMatrix",
  47. // component: () => import("@/views/IntegratedAlarm/DetailMatrix"),
  48. // meta: {
  49. // title: "矩阵提醒",
  50. // icon: "svg-mx-matrix",
  51. // permissions: ["jn_mxjz"],
  52. // },
  53. // },
  54. {
  55. path: "safe", // 综合报警
  56. name: "safe",
  57. component: () => import("@/views/IntegratedAlarm/safe"),
  58. meta: {
  59. title: "综合报警",
  60. icon: "svg-zhbj",
  61. permissions: ["jn_safe"],
  62. },
  63. children: [
  64. {
  65. path: "realwarning", // 综合报警
  66. name: "realwarning",
  67. component: () => import("@/views/IntegratedAlarm/safe/realWarning"),
  68. meta: {
  69. title: "实时报警",
  70. icon: "",
  71. permissions: ["jn_safe_ssbj"],
  72. },
  73. },
  74. {
  75. path: "customWarning", // 预警查询
  76. name: "customWarning",
  77. component: () =>
  78. import("@/views/IntegratedAlarm/safe/customWarning"),
  79. meta: {
  80. title: "预警查询",
  81. icon: "",
  82. permissions: ["jn_safe_yjcx"],
  83. },
  84. },
  85. {
  86. path: "historyWarning", // 报警查询
  87. name: "historyWarning",
  88. component: () =>
  89. import("@/views/IntegratedAlarm/safe/historyWarning"),
  90. meta: {
  91. title: "报警查询",
  92. icon: "",
  93. permissions: ["jn_safe_bjcx"],
  94. },
  95. },
  96. // {
  97. // path: "stopQuery", //停机查询
  98. // name: "stopQuery",
  99. // component: () => import("@/views/IntegratedAlarm/safe/stopQuery"),
  100. // meta: {
  101. // title: "停机查询",
  102. // icon: "",
  103. // permissions: ["jn_safe_tjcx"],
  104. // },
  105. // },
  106. // {
  107. // path: "dataSearch", //数据查询
  108. // name: "dataSearch",
  109. // component: () => import("@/views/IntegratedAlarm/safe/dataSearch"),
  110. // meta: {
  111. // title: "数据查询",
  112. // icon: "",
  113. // permissions: ["jn_safe_sjcx"],
  114. // },
  115. // },
  116. ],
  117. },
  118. {
  119. path: "reliability", // 可靠性分析
  120. name: "reliability",
  121. component: () => import("@/views/IntegratedAlarm/reliability"),
  122. meta: {
  123. title: "可靠性分析",
  124. icon: "svg-kkxfx",
  125. permissions: ["jn_reliability"],
  126. },
  127. children: [
  128. {
  129. path: "customAnalyse", // 预警分析
  130. name: "customAnalyse",
  131. component: () =>
  132. import("@/views/IntegratedAlarm/reliability/customAnalyse"),
  133. meta: {
  134. title: "预警分析",
  135. icon: "",
  136. permissions: ["jn_reliability_yjfx"],
  137. },
  138. },
  139. {
  140. path: "historyAnalyse", // 报警分析
  141. name: "historyAnalyse",
  142. component: () =>
  143. import("@/views/IntegratedAlarm/reliability/historyAnalyse"),
  144. meta: {
  145. title: "报警分析",
  146. icon: "",
  147. permissions: ["jn_reliability_bjfx"],
  148. },
  149. }
  150. ]
  151. },
  152. {
  153. path: "alarmConfig", // 报警配置
  154. name: "alarmConfig",
  155. component: () => import("@/views/IntegratedAlarm/alarmConfig"),
  156. meta: {
  157. title: "报警配置",
  158. icon: "svg-bjpz",
  159. permissions: ["jn_alarmConfig"],
  160. },
  161. children: [
  162. {
  163. path: "customConfig", // 预警配置
  164. name: "customConfig",
  165. component: () =>
  166. import("@/views/IntegratedAlarm/alarmConfig/customConfig"),
  167. meta: {
  168. title: "预警配置",
  169. icon: "",
  170. permissions: ["jn_safe_ssbj"],
  171. },
  172. },
  173. {
  174. path: "historyConfig", // 报警配置
  175. name: "historyConfig",
  176. component: () =>
  177. import("@/views/IntegratedAlarm/alarmConfig/historyConfig"),
  178. meta: {
  179. title: "报警配置",
  180. icon: "",
  181. permissions: ["jn_alarmConfig_bjpz"],
  182. },
  183. },
  184. {
  185. path: "earlyWarning",
  186. name: "earlyWarning",
  187. meta: {
  188. title: "预警排查方案",
  189. },
  190. component: () =>
  191. import("../views/IntegratedAlarm/earlyWarning/index.vue"),
  192. },
  193. {
  194. path: "logs", // 规则修改日志
  195. name: "logs",
  196. component: () => import("@/views/IntegratedAlarm/alarmConfig/logs"),
  197. meta: {
  198. title: "规则修改日志",
  199. icon: "",
  200. permissions: ["jn_alarmConfig_bjpz"],
  201. },
  202. },
  203. ]
  204. },
  205. {
  206. path: "deviceConfig", // 设备模型配置
  207. name: "deviceConfig",
  208. component: () => import("@/views/IntegratedAlarm/deviceConfig"),
  209. meta: {
  210. title: "设备模型配置",
  211. icon: "svg-zhgk",
  212. permissions: ["jn_alarmConfig"],
  213. },
  214. },
  215. ]
  216. },
  217. //经济运行
  218. {
  219. path: "/economicsOperation",
  220. // redirect:
  221. // "/economicsOperation/benchmarkingManagement/performanceRankingList",
  222. // component: () =>
  223. // import("@/views/economicsOperation/benchmarkingManagement"),
  224. component: () => import("@/views/economicsOperation/nxfHomePage"),
  225. name: "economicsOperation",
  226. meta: {
  227. title: "经济运行",
  228. icon: "",
  229. permissions: ["jn_economicsOperation"],
  230. },
  231. children: [
  232. //对标分析
  233. {
  234. path: "benchmarkingManagement",
  235. redirect: "benchmarkingManagement/performanceRankingList",
  236. component: () =>
  237. import("@/views/economicsOperation/benchmarkingManagement"),
  238. name: "benchmarkingManagement",
  239. meta: {
  240. title: "对标分析",
  241. icon: "svg-dbgl",
  242. permissions: ["jn_dbgl"],
  243. },
  244. children: [
  245. {
  246. path: "performanceRankingList",
  247. component: () =>
  248. import(
  249. "@/views/economicsOperation/benchmarkingManagement/performanceRankingList/index.vue"
  250. ),
  251. name: "performanceRankingList",
  252. meta: {
  253. title: "绩效榜",
  254. icon: "",
  255. permissions: ["jn_dbgl_jxb"],
  256. },
  257. },
  258. {
  259. path: "decision1Mx", //风机绩效榜明细
  260. name: "decision1Mx",
  261. component: () =>
  262. import(
  263. "@/views/economicsOperation/benchmarkingManagement/performanceRankingList/decision1Mx.vue"
  264. ),
  265. meta: {
  266. title: "风机绩效榜明细",
  267. icon: "",
  268. permissions: ["jn_dbgl_jxb"],
  269. },
  270. },
  271. {
  272. path: "loseRate",
  273. component: () =>
  274. import(
  275. "@/views/economicsOperation/benchmarkingManagement/loseRate/index.vue"
  276. ),
  277. name: "loseRate",
  278. meta: {
  279. title: "五项对标损失",
  280. icon: "",
  281. permissions: ["jn_dbgl_wxssl"],
  282. },
  283. },
  284. // {
  285. // path: "companyBenchmarking",
  286. // component: () =>
  287. // import(
  288. // "@/views/economicsOperation/benchmarkingManagement/companyBenchmarking"
  289. // ),
  290. // name: "companyBenchmarking",
  291. // meta: {
  292. // title: "公司对标",
  293. // icon: "",
  294. // permissions: ["jn_dbgl_gsdb"],
  295. // },
  296. // },
  297. {
  298. path: "siteBenchmarking",
  299. component: () =>
  300. import(
  301. "@/views/economicsOperation/benchmarkingManagement/siteBenchmarking"
  302. ),
  303. name: "siteBenchmarking",
  304. meta: {
  305. title: "场内对标",
  306. icon: "",
  307. permissions: ["jn_dbgl_cndb"],
  308. },
  309. },
  310. {
  311. path: "intervalBenchmarking",
  312. component: () =>
  313. import(
  314. "@/views/economicsOperation/benchmarkingManagement/intervalBenchmarking"
  315. ),
  316. name: "intervalBenchmarking",
  317. meta: {
  318. title: "场际对标",
  319. icon: "",
  320. permissions: ["jn_dbgl_cjdb"],
  321. },
  322. },
  323. // {
  324. // path: "valueBenchmarking",
  325. // component: () =>
  326. // import(
  327. // "@/views/economicsOperation/benchmarkingManagement/valueBenchmarking"
  328. // ),
  329. // name: "valueBenchmarking",
  330. // meta: {
  331. // title: "值际对标",
  332. // icon: "",
  333. // },
  334. // },
  335. {
  336. path: "projectBenchmarking",
  337. component: () =>
  338. import(
  339. "@/views/economicsOperation/benchmarkingManagement/projectBenchmarking"
  340. ),
  341. name: "projectBenchmarking",
  342. meta: {
  343. title: "项目对标",
  344. icon: "",
  345. permissions: ["jn_dbgl_xmdb"],
  346. },
  347. },
  348. {
  349. path: "wiringBenchmarking",
  350. component: () =>
  351. import(
  352. "@/views/economicsOperation/benchmarkingManagement/wiringBenchmarking"
  353. ),
  354. name: "wiringBenchmarking",
  355. meta: {
  356. title: "线路对标",
  357. icon: "",
  358. permissions: ["jn_dbgl_xldb"],
  359. },
  360. },
  361. // {
  362. // path: "singleMachineBenchmarking",
  363. // component: () =>
  364. // import(
  365. // "@/views/economicsOperation/benchmarkingManagement/singleMachineBenchmarking"
  366. // ),
  367. // name: "singleMachineBenchmarking",
  368. // meta: {
  369. // title: "单机对标",
  370. // icon: "",
  371. // },
  372. // },
  373. ],
  374. },
  375. //电量损失分解
  376. {
  377. path: "thematicAnalysis",
  378. redirect: "thematicAnalysis/comprehensiveAnalysis",
  379. component: () => import("@/views/economicsOperation/thematicAnalysis"),
  380. name: "thematicAnalysis",
  381. meta: {
  382. title: "电量损失分解",
  383. icon: "svg-ztfx",
  384. permissions: ["jn_ztfx"],
  385. },
  386. children: [
  387. {
  388. path: "comprehensiveAnalysis",
  389. component: () =>
  390. import(
  391. "@/views/economicsOperation/thematicAnalysis/comprehensiveAnalysis"
  392. ),
  393. name: "comprehensiveAnalysis",
  394. meta: {
  395. title: "综合分析",
  396. icon: "",
  397. permissions: ["jn_ztfx_zhfx"],
  398. },
  399. },
  400. {
  401. path: "windEnergy",
  402. component: () =>
  403. import("@/views/economicsOperation/thematicAnalysis/windEnergy"),
  404. name: "windEnergy",
  405. meta: {
  406. title: "风能利用率",
  407. icon: "",
  408. permissions: ["jn_ztfx_fnlyl"],
  409. },
  410. },
  411. {
  412. path: "failure",
  413. component: () =>
  414. import("@/views/economicsOperation/thematicAnalysis/failure"),
  415. name: "failure",
  416. meta: {
  417. title: "五项损失率",
  418. icon: "",
  419. permissions: ["jn_ztfx_wxssl"],
  420. },
  421. },
  422. {
  423. path: "MTBF",
  424. component: () =>
  425. import("@/views/economicsOperation/thematicAnalysis/MTBF"),
  426. name: "MTBF",
  427. meta: {
  428. title: "可靠性分析",
  429. icon: "",
  430. permissions: ["jn_ztfx_kkxfx"],
  431. },
  432. },
  433. {
  434. path: "generation",
  435. component: () =>
  436. import("@/views/economicsOperation/thematicAnalysis/generation"),
  437. name: "generation",
  438. meta: {
  439. title: "发电量分析",
  440. icon: "",
  441. permissions: ["jn_ztfx_dlfx"],
  442. },
  443. },
  444. // {
  445. // path: "windAnalysis",
  446. // component: () =>
  447. // import("@/views/economicsOperation/thematicAnalysis/windAnalysis"),
  448. // name: "windAnalysis",
  449. // meta: {
  450. // title: "损失电量分析",
  451. // icon: "",
  452. // permissions: ["jn_ztfx_dlfx"],
  453. // },
  454. // },
  455. ],
  456. },
  457. //整站分析
  458. {
  459. path: "stationAnalyse",
  460. component: () => import("@/views/economicsOperation/stationAnalyse"),
  461. name: "StationAnalyse",
  462. meta: {
  463. title: "整站分析",
  464. icon: "svg-fddl",
  465. permissions: ["jn_czfx"],
  466. },
  467. children: [
  468. // {
  469. // path: "electricAnalyse",
  470. // component: () =>
  471. // import(
  472. // "@/views/economicsOperation/stationAnalyse/electricAnalyse"
  473. // ),
  474. // name: "ElectricAnalyse",
  475. // meta: {
  476. // title: "发电量分析",
  477. // icon: "",
  478. // permissions: ["jn_czfx_fdlfx"],
  479. // },
  480. // },
  481. {
  482. path: "stationElectricAnalyse",
  483. component: () =>
  484. import(
  485. "@/views/economicsOperation/stationAnalyse/stationElectricAnalyse"
  486. ),
  487. name: "StationElectricAnalyse",
  488. meta: {
  489. title: "综合场用电量分析",
  490. icon: "",
  491. permissions: ["jn_czfx_zhcydlfx"],
  492. },
  493. },
  494. {
  495. path: "WindAndPhotovoltaic",
  496. component: () =>
  497. import(
  498. "@/views/economicsOperation/stationAnalyse/windAndPhotovoltaic"
  499. ),
  500. name: "WindAndPhotovoltaic",
  501. meta: {
  502. title: "风资源分析",
  503. icon: "",
  504. permissions: ["jn_czfx_fgzyfx"],
  505. },
  506. },
  507. {
  508. path: "posAnalysis",
  509. component: () =>
  510. import("@/views/economicsOperation/stationAnalyse/posAnalysis/index.vue"),
  511. name: "posAnalysis",
  512. meta: {
  513. title: "微观选址分析",
  514. icon: "",
  515. permissions: ["jn_czfx_fgzyfx"],
  516. },
  517. },
  518. ]
  519. },
  520. //机组分析
  521. {
  522. path: "windAnalyse",
  523. component: () => import("@/views/economicsOperation/windAnalyse"),
  524. name: "WindAnalyse",
  525. meta: {
  526. title: "机组分析",
  527. icon: "svg-fdfx",
  528. permissions: ["jn_fdfx"],
  529. },
  530. children: [
  531. // {
  532. // path: "stateTransition",
  533. // component: () =>
  534. // import(
  535. // "@/views/economicsOperation/windAnalyse/stateTransition/index.vue"
  536. // ),
  537. // name: "stateTransition",
  538. // meta: {
  539. // title: "状态时间分析",
  540. // icon: "",
  541. // permissions: ["jn_fdfx_ztzhfx"],
  542. // },
  543. // },
  544. // {
  545. // path: "timeTransition",
  546. // component: () =>
  547. // import(
  548. // "@/views/economicsOperation/windAnalyse/timeTransition/index.vue"
  549. // ),
  550. // name: "timeTransition",
  551. // meta: {
  552. // title: "状态转换分析",
  553. // icon: "",
  554. // permissions: ["jn_fdfx_ztsjfx"],
  555. // },
  556. // },
  557. {
  558. path: "powerAnalyse",
  559. component: () =>
  560. import("@/views/economicsOperation/windAnalyse/powerCurve"),
  561. name: "PowerCurve",
  562. meta: {
  563. title: "功率曲线拟合",
  564. icon: "",
  565. permissions: ["jn_fdfx_glqxnh"],
  566. },
  567. },
  568. {
  569. path: "powerSearch",
  570. component: () =>
  571. import("@/views/economicsOperation/windAnalyse/powerSearch"),
  572. name: "PowerSearch",
  573. meta: {
  574. title: "功率曲线查询",
  575. icon: "",
  576. permissions: ["jn_fdfx_glqxcx"],
  577. },
  578. },
  579. {
  580. path: "qxpclfx",
  581. component: () =>
  582. import(
  583. "@/views/economicsOperation/windAnalyse/qxpclfx/index.vue"
  584. ),
  585. name: "Qxpclfx",
  586. meta: {
  587. title: "曲线偏差率分析",
  588. icon: "",
  589. permissions: ["jn_fdfx_qxpclfx"],
  590. },
  591. },
  592. {
  593. path: "qxqjpcl",
  594. component: () =>
  595. import(
  596. "@/views/economicsOperation/windAnalyse/qxqjpcl/index.vue"
  597. ),
  598. name: "Qxqjpcl",
  599. meta: {
  600. title: "曲线区间偏差率分析",
  601. icon: "",
  602. permissions: ["jn_fdfx_qxpclfx"],
  603. },
  604. },
  605. {
  606. path: "cutInAndOutAnalysis",
  607. component: () =>
  608. import(
  609. "@/views/economicsOperation/windAnalyse/cutInAndOutAnalysis/index.vue"
  610. ),
  611. name: "CutInAndOutAnalysis",
  612. meta: {
  613. title: "切入切出分析",
  614. icon: "",
  615. permissions: ["jn_fdfx_qrqcfx"],
  616. },
  617. },
  618. {
  619. path: "singleWindAnasyle",
  620. component: () =>
  621. import(
  622. "@/views/economicsOperation/windAnalyse/singleWindAnasyle/index.vue"
  623. ),
  624. name: "SingleWindAnasyle",
  625. meta: {
  626. title: "单机性能分析",
  627. icon: "",
  628. permissions: ["jn_fdfx_djxnfx"],
  629. },
  630. },
  631. {
  632. path: "monthlyAnalysis",
  633. component: () =>
  634. import(
  635. "@/views/economicsOperation/windAnalyse/monthlyAnalysis/index.vue"
  636. ),
  637. name: "MonthlyAnalysis",
  638. meta: {
  639. title: "单机月度分析",
  640. icon: "",
  641. permissions: ["jn_fdfx_djydfx"],
  642. },
  643. },
  644. {
  645. path: "performanceAssess",
  646. component: () =>
  647. import(
  648. "@/views/economicsOperation/windAnalyse/performanceAssess/index.vue"
  649. ),
  650. name: "PerformanceAssess",
  651. meta: {
  652. title: "性能等级评估",
  653. icon: "",
  654. permissions: ["jn_fdfx_xndjpg"],
  655. },
  656. },
  657. {
  658. path: "partsTemperatureAnalyse", // 各出力部件温度分析
  659. name: "partsTemperatureAnalyse",
  660. component: () =>
  661. import("@/views/IntegratedAlarm/reliability/partsTemperatureAnalyse/index2.vue"),
  662. meta: {
  663. title: "各出力部件温度分析",
  664. icon: "",
  665. permissions: ["jn_reliability_bjfx"],
  666. },
  667. },
  668. ],
  669. },
  670. //光伏分析
  671. // {
  672. // path: "photovoltaicAnalyse",
  673. // redirect: "analyse/standAloneAnalyse",
  674. // component: () =>
  675. // import("@/views/economicsOperation/photovoltaicAnalyse"),
  676. // name: "PhotovoltaicAnalyse",
  677. // meta: {
  678. // title: "光伏分析",
  679. // icon: "svg-gffx",
  680. // permissions: ["jn_gffx"],
  681. // },
  682. // children: [
  683. // {
  684. // path: "gfstateTransition",
  685. // component: () =>
  686. // import(
  687. // "@/views/economicsOperation/photovoltaicAnalyse/stateTransition/index.vue"
  688. // ),
  689. // name: "gfstateTransition",
  690. // meta: {
  691. // title: "状态时间分析",
  692. // icon: "",
  693. // permissions: ["jn_gffx_ztzhfx"],
  694. // },
  695. // },
  696. // {
  697. // path: "gftimeTransition",
  698. // component: () =>
  699. // import(
  700. // "@/views/economicsOperation/photovoltaicAnalyse/timeTransition/index.vue"
  701. // ),
  702. // name: "gftimeTransition",
  703. // meta: {
  704. // title: "状态转换分析",
  705. // icon: "",
  706. // permissions: ["jn_gffx_ztsjfx"],
  707. // },
  708. // },
  709. // {
  710. // path: "powerHotAnalyse",
  711. // component: () =>
  712. // import(
  713. // "@/views/economicsOperation/photovoltaicAnalyse/powerHotAnalyse"
  714. // ),
  715. // name: "PowerHotAnalyse",
  716. // meta: {
  717. // title: "功率曲线拟合",
  718. // icon: "",
  719. // permissions: ["jn_gffx_glwdfx"],
  720. // },
  721. // },
  722. // {
  723. // path: "powerAnalyse",
  724. // component: () =>
  725. // import(
  726. // "@/views/economicsOperation/photovoltaicAnalyse/powerAnalyse"
  727. // ),
  728. // name: "PowerAnalyse",
  729. // meta: {
  730. // title: "功率曲线查询",
  731. // icon: "",
  732. // permissions: ["jn_gffx_glqxnh"],
  733. // },
  734. // },
  735. // {
  736. // path: "lslfx",
  737. // component: () =>
  738. // import("@/views/economicsOperation/photovoltaicAnalyse/lslfx"),
  739. // name: "Lslfx",
  740. // meta: {
  741. // title: "离散率分析",
  742. // icon: "",
  743. // permissions: ["jn_gffx_lslfx"],
  744. // },
  745. // },
  746. // {
  747. // path: "prAnalyse",
  748. // component: () =>
  749. // import(
  750. // "@/views/economicsOperation/photovoltaicAnalyse/prAnalyse"
  751. // ),
  752. // name: "PrAnalyse",
  753. // meta: {
  754. // title: "系统效率分析",
  755. // icon: "",
  756. // permissions: ["jn_gffx_xtxlfx"],
  757. // },
  758. // },
  759. // {
  760. // path: "performanceEvaluation",
  761. // component: () =>
  762. // import(
  763. // "@/views/economicsOperation/photovoltaicAnalyse/performanceEvaluation"
  764. // ),
  765. // name: "PerformanceEvaluation",
  766. // meta: {
  767. // title: "性能等级评估",
  768. // icon: "",
  769. // permissions: ["jn_gffx_xndjpg"],
  770. // },
  771. // },
  772. // ],
  773. // },
  774. //运维三率
  775. {
  776. path: "efficiency",
  777. redirect: "efficiency/restorationEfficiency",
  778. component: () => import("@/views/economicsOperation/efficiency"),
  779. name: "efficiency",
  780. meta: {
  781. title: "运维三率",
  782. icon: "svg-dimension-new",
  783. permissions: ["jn_slgl"],
  784. },
  785. children: [
  786. {
  787. path: "restorationEfficiency",
  788. component: () =>
  789. import(
  790. "@/views/economicsOperation/efficiency/restorationEfficiency"
  791. ),
  792. name: "restorationEfficiency",
  793. meta: {
  794. title: "复位及时率",
  795. icon: "",
  796. permissions: ["jn_slgl_fwjsl"],
  797. },
  798. },
  799. {
  800. path: "consumeEfficiency",
  801. component: () =>
  802. import("@/views/economicsOperation/efficiency/consumeEfficiency"),
  803. name: "consumeEfficiency",
  804. meta: {
  805. title: "消缺及时率",
  806. icon: "",
  807. permissions: ["jn_slgl_xqjsl"],
  808. },
  809. },
  810. {
  811. path: "stateEfficiency",
  812. component: () =>
  813. import("@/views/economicsOperation/efficiency/stateEfficiency"),
  814. name: "stateEfficiency",
  815. meta: {
  816. title: "状态转换率",
  817. icon: "",
  818. permissions: ["jn_slgl_ztzhl"],
  819. },
  820. },
  821. ],
  822. },
  823. {
  824. path: "healthReport",
  825. component: () => import("@/views/economicsOperation/healthReport"),
  826. name: "healthReport",
  827. meta: {
  828. title: "健康评价报告",
  829. icon: "svg-zhgk",
  830. permissions: ["jn_slgl"],
  831. },
  832. }
  833. //综合管控KPI
  834. // {
  835. // path: "comprehensiveControl",
  836. // redirect: "comprehensiveControl/running",
  837. // component: () =>
  838. // import("@/views/economicsOperation/comprehensiveControl"),
  839. // name: "comprehensiveControl",
  840. // meta: {
  841. // title: "综合管控KPI",
  842. // icon: "svg-zhgk",
  843. // permissions: ["jn_zhgk"],
  844. // },
  845. // children: [
  846. // {
  847. // path: "running",
  848. // component: () =>
  849. // import(
  850. // "@/views/economicsOperation/comprehensiveControl/runningKPI/index.vue"
  851. // ),
  852. // name: "running",
  853. // meta: {
  854. // title: "运行KPI",
  855. // icon: "",
  856. // permissions: ["jn_zhgk_yx"],
  857. // },
  858. // },
  859. // {
  860. // path: "maintenance",
  861. // component: () =>
  862. // import(
  863. // "@/views/economicsOperation/comprehensiveControl/maintenanceKPI/index.vue"
  864. // ),
  865. // name: "maintenance",
  866. // meta: {
  867. // title: "检修KPI",
  868. // icon: "",
  869. // permissions: ["jn_zhgk_jx"],
  870. // },
  871. // },
  872. // {
  873. // path: "stationControl",
  874. // component: () =>
  875. // import(
  876. // "@/views/economicsOperation/comprehensiveControl/stationControlKPI/index.vue"
  877. // ),
  878. // name: "stationControl",
  879. // meta: {
  880. // title: "场站管控KPI",
  881. // icon: "",
  882. // permissions: ["jn_zhgk_czgk"],
  883. // },
  884. // },
  885. // ],
  886. // },
  887. ],
  888. },
  889. // 智能报表
  890. {
  891. path: "/nxreport",
  892. meta: {
  893. title: "智能报表",
  894. icon: "",
  895. },
  896. redirect: "/nxreport/scrb/fdcscrb",
  897. component: () => import("@/views/nxReport"),
  898. children: [
  899. {
  900. path: "scrb",
  901. name: "scrb",
  902. redirect: "scrb/fdcscrb",
  903. component: () => import("@/views/nxReport/scrb"),
  904. meta: {
  905. title: "生产日报",
  906. icon: "svg-风光资源分析",
  907. },
  908. children: [
  909. {
  910. path: "fdcscrb",
  911. name: "fdcscrb",
  912. component: () => import("@/views/nxReport/scrb/fdcscrb"),
  913. meta: {
  914. title: "风电场站生产日报",
  915. icon: "",
  916. },
  917. children: []
  918. },
  919. ]
  920. },
  921. {
  922. path: "dlcsdmb",
  923. name: "dlcsdmb",
  924. component: () => import("@/views/nxReport/dlcsdmb"),
  925. meta: {
  926. title: "电量参数底码表",
  927. icon: "svg-jjyx",
  928. },
  929. children: [
  930. {
  931. path: "huiandlcsdmb",
  932. name: "dlcsdmb",
  933. component: () => import("@/views/nxReport/dlcsdmb/huiandlcsdmb"),
  934. meta: {
  935. title: "惠安风电场电量底码(每日)",
  936. icon: "",
  937. },
  938. },
  939. ]
  940. },
  941. {
  942. path: "zbyxcsjlb",
  943. name: "zbyxcsjlb",
  944. component: () => import("@/views/nxReport/zbyxcsjlb"),
  945. meta: {
  946. title: "值班运行参数记录表",
  947. icon: "svg-matrix",
  948. },
  949. children: [
  950. {
  951. path: "huiansyzyxcs",
  952. name: "huiansyzyxcs",
  953. component: () => import("@/views/nxReport/zbyxcsjlb/components/huiansyzyxcs"),
  954. meta: {
  955. title: "惠安风电升压站运行参数",
  956. icon: "",
  957. },
  958. },
  959. {
  960. path: "huianfjyxcsyq",
  961. name: "huianfjyxcsyq",
  962. component: () => import("@/views/nxReport/zbyxcsjlb/components/huianfjyxcsyq"),
  963. meta: {
  964. title: "惠安风电一期风机运行参数",
  965. icon: "",
  966. },
  967. },
  968. {
  969. path: "huianfjyxcseq",
  970. name: "huianfjyxcseq",
  971. component: () => import("@/views/nxReport/zbyxcsjlb/components/huianfjyxcseq"),
  972. meta: {
  973. title: "惠安风电二期风机运行参数",
  974. icon: "",
  975. },
  976. },
  977. {
  978. path: "dtfjdltj",
  979. name: "dtfjdltj",
  980. component: () => import("@/views/nxReport/zbyxcsjlb/components/dtfjdltj"),
  981. meta: {
  982. title: "单台风机电量统计",
  983. icon: "",
  984. },
  985. },
  986. {
  987. path: "huianfddltj",
  988. name: "huianfddltj",
  989. component: () => import("@/views/nxReport/zbyxcsjlb/components/huianfddltj"),
  990. meta: {
  991. title: "惠安风电电量统计",
  992. icon: "",
  993. },
  994. },
  995. ]
  996. },
  997. {
  998. path: "czzbjshjlb",
  999. name: "czzbjshjlb",
  1000. component: () => import("@/views/nxReport/czzbjshjlb"),
  1001. meta: {
  1002. title: "场站指标及损耗记录表",
  1003. icon: "svg-智能报表",
  1004. },
  1005. children: [
  1006. {
  1007. path: "huianfdzb",
  1008. name: "huianfdzb",
  1009. component: () => import("@/views/nxReport/czzbjshjlb/huianfdzb"),
  1010. meta: {
  1011. title: "惠安风电指标",
  1012. icon: "",
  1013. },
  1014. },
  1015. ]
  1016. },
  1017. {
  1018. path: "czzdybb",
  1019. name: "czzdybb",
  1020. component: () => import("@/views/nxReport/czzdybb"),
  1021. meta: {
  1022. title: "自定义报表",
  1023. icon: "svg-自定制报表管理",
  1024. },
  1025. },
  1026. // {
  1027. // path: "fdscqk",
  1028. // name: "fdscqk",
  1029. // component: () => import("@/views/nxReport/fdscqk"),
  1030. // meta: {
  1031. // title: "发电生产情况快报",
  1032. // icon: "svg-风光资源分析",
  1033. // },
  1034. // },
  1035. // {
  1036. // path: "czjbbb",
  1037. // name: "czjbbb",
  1038. // component: () => import("@/views/nxReport/czjbbb"),
  1039. // meta: {
  1040. // title: "场站级别报表",
  1041. // icon: "svg-预警记录",
  1042. // },
  1043. // },
  1044. // {
  1045. // path: "xmjbbb",
  1046. // name: "xmjbbb",
  1047. // component: () => import("@/views/nxReport/xmjbbb"),
  1048. // meta: {
  1049. // title: "项目级别报表",
  1050. // icon: "svg-报表管理",
  1051. // },
  1052. // },
  1053. // {
  1054. // path: "czzyb",
  1055. // name: "czzyb",
  1056. // component: () => import("@/views/nxReport/czzyb"),
  1057. // meta: {
  1058. // title: "自定义报表",
  1059. // icon: "svg-自定制报表管理",
  1060. // },
  1061. // },
  1062. ],
  1063. },
  1064. ];
  1065. const router = createRouter({
  1066. history: createWebHashHistory(),
  1067. base: "/nem/",
  1068. routes: [...constantRoutes, ...asyncRoutes],
  1069. });
  1070. // router.beforeEach((to, from, next) => {
  1071. // next();
  1072. // });
  1073. export default router;