index.js 55 KB

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