dataquery.js 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. /** When your routing table is too long, you can split it into small modules**/
  2. import Layout from '@/layout'
  3. const dataqueryRouter = {
  4. path: '/dataquery',
  5. component: Layout,
  6. redirect: 'noRedirect',
  7. name: 'dataquery',
  8. meta: {
  9. title: '数据查询',
  10. icon: 'tree'
  11. },
  12. children: [
  13. {
  14. path: 'inverterStatusData',
  15. component: () => import('@/views/dataquery/inverterStatusData'),
  16. name: 'inverterStatusData',
  17. meta: { title: '逆变器数据', noCache: true }
  18. },
  19. {
  20. path: 'windTurbineStatusData',
  21. component: () => import('@/views/dataquery/windTurbineStatusData'),
  22. name: 'windTurbineStatusData',
  23. meta: { title: '风机数据', noCache: true }
  24. },
  25. {
  26. path: 'weatherStationStatusData',
  27. component: () => import('@/views/dataquery/weatherStationStatusData'),
  28. name: 'weatherStationStatusData',
  29. meta: { title: '气象站数据', noCache: true }
  30. },
  31. {
  32. path: 'windTowerStatusData',
  33. component: () => import('@/views/dataquery/windTowerStatusData'),
  34. name: 'windTowerStatusData',
  35. meta: { title: '测风塔数据', noCache: true }
  36. },
  37. {
  38. path: 'realTimeDQ',
  39. component: () => import('@/views/dataquery/forecastPowerShortTerm/index'),
  40. name: 'realTimeDQ',
  41. meta: {title: '实时短期数据', noCache: true},
  42. sign: 'currency'
  43. },
  44. {
  45. path: 'realTimeNWP',
  46. component: () => import('@/views/dataquery/nwp/index'),
  47. name: 'realTimeNWP',
  48. meta: {title: '实时nwp数据', noCache: true},
  49. sign: 'currency'
  50. },
  51. {
  52. path: 'historyDq',
  53. component: () => import('@/views/dataquery/forecastPowerShortHisTerm/index'),
  54. name: 'historyDq',
  55. meta: {title: '历史短期查询', noCache: true},
  56. sign: 'currency'
  57. }
  58. ]
  59. }
  60. export default dataqueryRouter