routes-file-six.js 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. import Layout from '@/layout'
  2. const statisticsChartsRoutes = {
  3. path: '/statisticsCharts',
  4. component: Layout,
  5. meta: {
  6. title: '统计图表',
  7. keepAlive: false,
  8. roles: ['statistical_chart']
  9. },
  10. children: [
  11. {
  12. path: '/statisticsCharts',
  13. name: 'StatisticsCharts',
  14. redirect: 'flight',
  15. component: () => import('@/views/statisticsCharts'),
  16. meta: {
  17. title: '统计图表',
  18. imgstyle: 'ic_list_nav_arrive_default.png',
  19. imgstyleup: 'ic_list_nav_arrive_check.png',
  20. keepAlive: false
  21. },
  22. children: [
  23. {
  24. path: 'flight',
  25. name: 'FlightStatisticsCharts',
  26. hidden: true,
  27. component: () => import('@/views/statisticsCharts/views/flightStatisticsCharts'),
  28. meta: { title: '航班量统计', keepAlive: false, roles: ['flight_volume_statistics'] }
  29. },
  30. {
  31. path: 'node',
  32. name: 'NodeStatisticsCharts',
  33. hidden: true,
  34. component: () => import('@/views/statisticsCharts/views/nodeStatisticsCharts'),
  35. meta: { title: '扫描节点与位置分析', keepAlive: false, roles: ['scanning_node_and_location_analysis'] }
  36. },
  37. {
  38. path: 'reportStatistics',
  39. name: 'ReportStatistics',
  40. hidden: true,
  41. component: () => import('@/views/statisticsCharts/views/reportStatistics'),
  42. meta: { title: '运送效率报表统计', keepAlive: false, roles: ['scanning_node_and_location_analysis'] }
  43. },
  44. {
  45. path: 'transitTable',
  46. name: 'TransitTable',
  47. hidden: true,
  48. component: () => import('@/views/statisticsCharts/views/transitTable'),
  49. meta: { title: '中转专项报表统计', keepAlive: false, roles: ['scanning_node_and_location_analysis'] }
  50. },
  51. {
  52. path: 'baggage',
  53. name: 'BaggageStatisticsCharts',
  54. hidden: true,
  55. component: () => import('@/views/statisticsCharts/views/baggageStatisticsCharts'),
  56. meta: { title: '行李量统计', keepAlive: false, roles: ['baggage_statistics'] }
  57. },
  58. {
  59. path: 'specialBaggage',
  60. name: 'SpecialBaggageStatisticsCharts',
  61. hidden: true,
  62. component: () => import('@/views/statisticsCharts/views/specialBaggageStatisticsCharts'),
  63. meta: { title: '特殊行李量统计', keepAlive: false }
  64. },
  65. {
  66. path: 'baggagePassenger',
  67. name: 'BaggagePassengerStatisticsCharts',
  68. hidden: true,
  69. component: () => import('@/views/statisticsCharts/views/baggagePassengerStatisticsCharts'),
  70. meta: { title: '行李旅客量统计', keepAlive: false }
  71. },
  72. {
  73. path: 'baggageAverage',
  74. name: 'BaggageAverageStatisticsCharts',
  75. hidden: true,
  76. component: () => import('@/views/statisticsCharts/views/baggageAverageStatisticsCharts'),
  77. meta: { title: '平均行李量统计', keepAlive: false }
  78. },
  79. {
  80. path: 'abnormalBaggage',
  81. name: 'AbnormalBaggageStatisticsCharts',
  82. hidden: true,
  83. component: () => import('@/views/statisticsCharts/views/abnormalBaggageStatisticsCharts'),
  84. meta: { title: '异常行李量统计', keepAlive: false }
  85. },
  86. {
  87. path: 'complaintBaggage',
  88. name: 'ComplaintBaggageStatisticsCharts',
  89. hidden: true,
  90. component: () => import('@/views/statisticsCharts/views/complaintBaggageStatisticsCharts'),
  91. meta: { title: '投诉行李量统计', keepAlive: false }
  92. },
  93. {
  94. path: 'compensationBaggage',
  95. name: 'CompensationBaggageStatisticsCharts',
  96. hidden: true,
  97. component: () => import('@/views/statisticsCharts/views/compensationBaggageStatisticsCharts'),
  98. meta: { title: '赔偿行李量统计', keepAlive: false }
  99. },
  100. {
  101. path: 'compensation',
  102. name: 'CompensationStatisticsCharts',
  103. hidden: true,
  104. component: () => import('@/views/statisticsCharts/views/compensationStatisticsCharts'),
  105. meta: { title: '赔偿金额统计', keepAlive: false }
  106. }
  107. ]
  108. }
  109. ]
  110. }
  111. export default [statisticsChartsRoutes]