index.js 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399
  1. import { createRouter, createWebHashHistory } from 'vue-router'
  2. const routes = [
  3. {
  4. path: '/dataFilter',
  5. redirect:'/dataFilter/prepare',
  6. name: 'dataFilter',
  7. meta: {
  8. title: '数据准备',
  9. icon: 'icon-Simple-matrix'
  10. },
  11. children: [
  12. {
  13. path: 'prepare',
  14. component: () => import('@/views/dataFilter/prepare/index'),
  15. name: 'dataFilterPrepare',
  16. meta: {
  17. title: '数据准备',
  18. icon: ''
  19. },
  20. },
  21. {
  22. path: 'process',
  23. component: () => import('@/views/dataFilter/process/index'),
  24. name: 'dataFilterProcess',
  25. meta: {
  26. title: '数据预处理',
  27. icon: ''
  28. },
  29. },
  30. ]
  31. },
  32. {
  33. path: '/dataAnalysis',
  34. redirect:'/dataAnalysis/combine',
  35. name: 'dataAnalysis',
  36. meta: {
  37. title: '数据分析',
  38. icon: 'icon-Simple-matrix'
  39. },
  40. children: [
  41. {
  42. path: 'combine',
  43. component: () => import('@/views/dataAnalysis/combine/index'),
  44. name: 'dataFilterCombine',
  45. meta: {
  46. title: '功率曲线拟合分析',
  47. icon: ''
  48. },
  49. },
  50. {
  51. path: 'rateAnalysis',
  52. component: () => import('@/views/dataAnalysis/rateAnalysis/index'),
  53. name: 'dataFilterRateAnalysis',
  54. meta: {
  55. title: '风资源分析',
  56. icon: ''
  57. },
  58. },
  59. {
  60. path: 'lineAnalysis',
  61. component: () => import('@/views/dataAnalysis/lineAnalysis/index'),
  62. name: 'dataFilterLineAnalysis',
  63. meta: {
  64. title: '曲线偏差率分析',
  65. icon: ''
  66. },
  67. },
  68. ]
  69. },
  70. // {
  71. // path: '/',
  72. // component: () => import('@/views/Home'),
  73. // name: 'Home',
  74. // meta: {
  75. // title: '首页',
  76. // icon: ''
  77. // }
  78. // },
  79. // {
  80. // path: '/stateMonitor',
  81. // redirect:'/stateMonitor/simpleMatrix',
  82. // component: () => import('@/views/stateMonitor'),
  83. // name: 'stateMonitor',
  84. // meta: {
  85. // title: '安全监控',
  86. // icon: ''
  87. // },
  88. // children:[
  89. // {
  90. // path: 'simpleMatrix',
  91. // component: () => import('@/views/stateMonitor/simpleMatrix'),
  92. // name: 'simpleMatrix',
  93. // meta: {
  94. // title: '基础矩阵',
  95. // icon: 'icon-Simple-matrix'
  96. // }
  97. // },
  98. // {
  99. // path: 'detailMatrix',
  100. // component: () => import('@/views/stateMonitor/detailMatrix'),
  101. // name: 'detailMatrix',
  102. // meta: {
  103. // title: '明细矩阵',
  104. // icon: 'icon-Detailed-matrix'
  105. // }
  106. // },
  107. // {
  108. // path: 'factoryMonitor',
  109. // redirect:'factoryMonitor/facHome',
  110. // component: () => import('@/views/stateMonitor/factoryMonitor'),
  111. // name: 'factoryMonitor',
  112. // meta: {
  113. // title: '厂站监视',
  114. // icon: 'icon-Single-station-surveillance'
  115. // },
  116. // children:[
  117. // {
  118. // path: 'facHome',
  119. // // redirect:'facHome/home',
  120. // component: () => import('@/views/stateMonitor/factoryMonitor/facHome'),
  121. // name: 'facHome',
  122. // meta: {
  123. // title: '首页',
  124. // icon: ''
  125. // },
  126. // children:[{
  127. // path: 'dataDetial',
  128. // component: () => import('@/views/stateMonitor/factoryMonitor/facHome/dataDetial'),
  129. // name: 'dataDetial',
  130. // meta: {
  131. // title: '',
  132. // icon: ''
  133. // },
  134. // },
  135. // {
  136. // path: 'home',
  137. // component: () => import('@/views/stateMonitor/factoryMonitor/facHome/home'),
  138. // name: 'home',
  139. // meta: {
  140. // title: '',
  141. // icon: ''
  142. // },
  143. // },
  144. // ]
  145. // },
  146. // {
  147. // path: 'windPowerPlant',
  148. // component: () => import('@/views/stateMonitor/factoryMonitor/windPowerPlant'),
  149. // name: 'windPowerPlant',
  150. // meta: {
  151. // title: '风电场站',
  152. // icon: ''
  153. // },
  154. // },
  155. // {
  156. // path: 'photovoltaic',
  157. // component: () => import('@/views/stateMonitor/factoryMonitor/photovoltaic'),
  158. // name: 'photovoltaic',
  159. // meta: {
  160. // title: '光伏场站',
  161. // icon: ''
  162. // },
  163. // }
  164. // ]
  165. // },
  166. // {
  167. // path: 'synthesizeTargetSystem',
  168. // component: () => import('@/views/stateMonitor/synthesizeTargetSystem'),
  169. // name: 'synthesizeTargetSystem',
  170. // meta: {
  171. // title: '综合指标',
  172. // icon: 'icon-Composite-indicator'
  173. // }
  174. // },
  175. // {
  176. // path: 'AGCMonitor',
  177. // component: () => import('@/views/stateMonitor/AGCMonitor'),
  178. // name: 'AGCMonitor',
  179. // meta: {
  180. // title: 'AGC监视',
  181. // icon: 'icon-Composite-indicator'
  182. // }
  183. // },
  184. // {
  185. // path: 'monitorState',
  186. // component: () => import('@/views/stateMonitor/monitorState'),
  187. // name: 'monitorState',
  188. // meta: {
  189. // title: '运行状态',
  190. // icon: 'icon-State-monitoring'
  191. // }
  192. // }
  193. // ]
  194. // },
  195. // {
  196. // path: '/economicsOperation',
  197. // redirect:'/economicsOperation/homePage',
  198. // component: () => import('@/views/economicsOperation'),
  199. // name: 'economicsOperation',
  200. // meta: {
  201. // title: '经济运行',
  202. // icon: ''
  203. // },
  204. // children: [
  205. // {
  206. // path: 'homePage',
  207. // component: () => import('@/views/economicsOperation/homePage'),
  208. // name: 'homePage',
  209. // meta: {
  210. // title: '首页',
  211. // icon: 'icon-Simple-matrix'
  212. // }
  213. // },
  214. // {
  215. // path: 'benchmarkingManagement',
  216. // redirect:'benchmarkingManagement/performanceRankingList',
  217. // component: () => import('@/views/economicsOperation/benchmarkingManagement'),
  218. // name: 'benchmarkingManagement',
  219. // meta: {
  220. // title: '对标管理',
  221. // icon: 'icon-Simple-matrix'
  222. // },
  223. // children: [
  224. // {
  225. // path: 'performanceRankingList',
  226. // component: () => import('@/views/economicsOperation/benchmarkingManagement/performanceRankingList'),
  227. // name: 'performanceRankingList',
  228. // meta: {
  229. // title: '风机绩效榜',
  230. // icon: ''
  231. // },
  232. // },
  233. // {
  234. // path: "/benchmarkingManagement/decision1Mx", //风机绩效榜明细
  235. // name: "benchmarkingManagement",
  236. // component: () =>
  237. // import( /* webpackChunkName: "decision1Mx" */ "@/views/economicsOperation/benchmarkingManagement/performanceRankingList/decision1Mx"),
  238. // },
  239. // {
  240. // path: 'loseRate',
  241. // component: () => import('@/views/economicsOperation/benchmarkingManagement/loseRate'),
  242. // name: 'loseRate',
  243. // meta: {
  244. // title: '五项损失率',
  245. // icon: ''
  246. // },
  247. // },
  248. // {
  249. // path: 'companyBenchmarking',
  250. // component: () => import('@/views/economicsOperation/benchmarkingManagement/companyBenchmarking'),
  251. // name: 'companyBenchmarking',
  252. // meta: {
  253. // title: '公司对标',
  254. // icon: ''
  255. // },
  256. // },
  257. // {
  258. // path: 'siteBenchmarking',
  259. // component: () => import('@/views/economicsOperation/benchmarkingManagement/siteBenchmarking'),
  260. // name: 'siteBenchmarking',
  261. // meta: {
  262. // title: '场内对标',
  263. // icon: ''
  264. // },
  265. // },
  266. // {
  267. // path: 'intervalBenchmarking',
  268. // component: () => import('@/views/economicsOperation/benchmarkingManagement/intervalBenchmarking'),
  269. // name: 'intervalBenchmarking',
  270. // meta: {
  271. // title: '场际对标',
  272. // icon: ''
  273. // },
  274. // },
  275. // {
  276. // path: 'projectBenchmarking',
  277. // component: () => import('@/views/economicsOperation/benchmarkingManagement/projectBenchmarking'),
  278. // name: 'projectBenchmarking',
  279. // meta: {
  280. // title: '项目对标',
  281. // icon: ''
  282. // },
  283. // },
  284. // {
  285. // path: 'wiringBenchmarking',
  286. // component: () => import('@/views/economicsOperation/benchmarkingManagement/wiringBenchmarking'),
  287. // name: 'wiringBenchmarking',
  288. // meta: {
  289. // title: '线路对标',
  290. // icon: ''
  291. // },
  292. // },{
  293. // path: 'standAloneBenchmarking',
  294. // component: () => import('@/views/economicsOperation/benchmarkingManagement/standAloneBenchmarking'),
  295. // name: 'standAloneBenchmarking',
  296. // meta: {
  297. // title: '单机对标',
  298. // icon: ''
  299. // },
  300. // }]
  301. // },
  302. // {
  303. // path: 'efficiency',
  304. // redirect:'efficiency/restorationEfficiency',
  305. // component: () => import('@/views/economicsOperation/efficiency'),
  306. // name: 'efficiency',
  307. // meta: {
  308. // title: '三率',
  309. // icon: 'icon-Simple-matrix'
  310. // },
  311. // children: [
  312. // {
  313. // path: 'restorationEfficiency',
  314. // component: () => import('@/views/economicsOperation/efficiency/restorationEfficiency'),
  315. // name: 'restorationEfficiency',
  316. // meta: {
  317. // title: '复位及时率',
  318. // icon: ''
  319. // },
  320. // },
  321. // {
  322. // path: 'consumeEfficiency',
  323. // component: () => import('@/views/economicsOperation/efficiency/consumeEfficiency'),
  324. // name: 'consumeEfficiency',
  325. // meta: {
  326. // title: '消缺及时率',
  327. // icon: ''
  328. // },
  329. // },
  330. // {
  331. // path: 'stateEfficiency',
  332. // component: () => import('@/views/economicsOperation/efficiency/stateEfficiency'),
  333. // name: 'stateEfficiency',
  334. // meta: {
  335. // title: '状态转换率',
  336. // icon: ''
  337. // },
  338. // }
  339. // ]
  340. // },
  341. // {
  342. // path: 'performanceAnalyse',
  343. // redirect:'performanceAnalyse/standAloneAnalyse',
  344. // component: () => import('@/views/economicsOperation/performanceAnalyse'),
  345. // name: 'performanceAnalyse',
  346. // meta: {
  347. // title: '性能分析',
  348. // icon: 'icon-Simple-matrix'
  349. // },
  350. // children: [
  351. // {
  352. // path: 'standAloneAnalyse',
  353. // component: () => import('@/views/economicsOperation/performanceAnalyse/standAloneAnalyse'),
  354. // name: 'standAloneAnalyse',
  355. // meta: {
  356. // title: '单机性能分析',
  357. // icon: ''
  358. // },
  359. // },
  360. // {
  361. // path: 'monthlyAnalysis',
  362. // component: () => import('@/views/economicsOperation/performanceAnalyse/monthlyAnalysis'),
  363. // name: 'monthlyAnalysis',
  364. // meta: {
  365. // title: '单机月度分析',
  366. // icon: ''
  367. // },
  368. // },
  369. // {
  370. // path: 'performanceAssess',
  371. // component: () => import('@/views/economicsOperation/performanceAnalyse/performanceAssess'),
  372. // name: 'performanceAssess',
  373. // meta: {
  374. // title: '性能等级评估',
  375. // icon: ''
  376. // },
  377. // },
  378. // {
  379. // path: 'cutInAndOutAnalysis',
  380. // component: () => import('@/views/economicsOperation/performanceAnalyse/cutInAndOutAnalysis'),
  381. // name: 'cutInAndOutAnalysis',
  382. // meta: {
  383. // title: '切入切出分析',
  384. // icon: ''
  385. // },
  386. // }
  387. // ]
  388. // }
  389. // ]
  390. // }
  391. ]
  392. const router = createRouter({
  393. history: createWebHashHistory(),
  394. routes
  395. })
  396. export default router