routes-file-one.js 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. import Layout from '@/layout'
  2. const BasicsDataRoutes = {
  3. path: '/BasicsData',
  4. component: Layout,
  5. meta: { roles: ['basicData'], keepAlive: false },
  6. children: [
  7. {
  8. path: '/BasicsData',
  9. name: 'BasicsData',
  10. component: () => import('@/views/BasicsData/index'),
  11. meta: { title: '基础数据', icon: 'BasicsData', imgstyle: 'ic_setting_nav_default.png', imgstyleup: 'ic_setting_nav_check.png', keepAlive: false },
  12. children: [
  13. {
  14. path: '/BasicsData',
  15. name: 'airportCompanyInfo',
  16. component: () => import('@/views/BasicsData/views/airportCompany'),
  17. meta: { title: '机场所属公司', keepAlive: false },
  18. hidden: true,
  19. src: require('@/assets/nav/ic_data_top_default @2x.png'),
  20. srcer: require('@/assets/nav/ic_data_top_check@2x.png')
  21. },
  22. // 权限airline_information_page导致航司信息维护不显示
  23. {
  24. path: '/BasicsData/airlineCompanyInfo',
  25. name: 'airlineCompanyInfo',
  26. component: () => import('@/views/BasicsData/views/airlineCompany/airlineCompanyInfo'),
  27. meta: { title: '航司信息维护', keepAlive: false, roles: ['airline_information_page'] },
  28. hidden: true,
  29. src: require('@/assets/nav/ic_data_top_default @2x.png'),
  30. srcer: require('@/assets/nav/ic_data_top_check@2x.png')
  31. },
  32. {
  33. path: '/BasicsData/airportInfo',
  34. name: 'airportInfo',
  35. component: { render (c) { return c('router-view') } },
  36. redirect: '/BasicsData/airportInfo',
  37. meta: { title: '机场信息维护', keepAlive: false },
  38. hidden: true,
  39. src: require('@/assets/nav/ic_data_top_default @2x.png'),
  40. srcer: require('@/assets/nav/ic_data_top_check@2x.png'),
  41. children: [
  42. {
  43. path: '/BasicsData/airportInfo',
  44. component: () => import('@/views/BasicsData/views/airport/airportInfo'),
  45. meta: { title: '机场信息维护', keepAlive: false },
  46. },
  47. {
  48. path: '/BasicsData/airportInfoDetails',
  49. name: 'airportInfoDetails',
  50. component: () => import('@/views/BasicsData/views/airport/airportInfoDetails'),
  51. meta: { title: '基本信息', keepAlive: false },
  52. hidden: false,
  53. isAlone: true,
  54. src: require('@/assets/nav/ic_setting_top@2x.png')
  55. },
  56. {
  57. path: '/BasicsData/airportInfoChild',
  58. name: 'airportInfoChild',
  59. component: () => import('@/views/BasicsData/views/airport/airportInfoChild'),
  60. meta: { title: '航站设置', keepAlive: false },
  61. hidden: false,
  62. isAlone: true,
  63. src: require('@/assets/nav/ic_setting_top@2x.png')
  64. }
  65. ]
  66. },
  67. {
  68. path: '/BasicsData/deployNode',
  69. name: 'deployNode',
  70. component: { render (c) { return c('router-view') } },
  71. meta: { title: '节点信息维护', keepAlive: false },
  72. hidden: true,
  73. src: require('@/assets/nav/ic_data_top_default @2x.png'),
  74. srcer: require('@/assets/nav/ic_data_top_check@2x.png'),
  75. children: [
  76. {
  77. path: '/BasicsData/deployNode',
  78. component: () => import('@/views/BasicsData/views/deployNode/deployNodeHome'),
  79. meta: { title: '节点信息维护', keepAlive: false },
  80. },
  81. {
  82. path: '/BasicsData/deployNodeChild',
  83. name: 'deployNodeChild',
  84. component: () => import('@/views/BasicsData/views/deployNode/deployNodeChild'),
  85. meta: { title: '节点设置', keepAlive: false },
  86. hidden: false,
  87. isAlone: true,
  88. src: require('@/assets/nav/ic_setting_top@2x.png')
  89. }
  90. ]
  91. },
  92. // {
  93. // path: '/BasicsData/warningSet',
  94. // name: 'warningSet',
  95. // component: { render(c) { return c('router-view') } },
  96. // redirect: '/BasicsData/warningSet',
  97. // meta: { title: '报警预警设置' },
  98. // hidden: true,
  99. // src: require('@/assets/nav/ic_setting_top_default.png'),
  100. // srcer: require('@/assets/nav/ic_setting_top_check.png'),
  101. // children: [{
  102. // path: '/BasicsData/warningSet',
  103. // component: () => import('@/views/BasicsData/views/warningSet/warningSet'),
  104. // },
  105. // {
  106. // path: '/BasicsData/warningEdit',
  107. // name: 'warningEdit',
  108. // component: () => import('@/views/BasicsData/views/warningSet/warningEdit'),
  109. // meta: { title: '报警预警设置' },
  110. // hidden: false,
  111. // isAlone: true,
  112. // src: require('@/assets/nav/ic_setting_top@2x.png')
  113. // },
  114. // ]
  115. // },
  116. {
  117. path: '/BasicsData/BaggageType',
  118. name: 'BaggageType',
  119. component: () => import('@/views/BasicsData/views/BaggageType/BaggageType'),
  120. meta: { title: '特殊行李维护', keepAlive: false },
  121. hidden: true,
  122. src: require('@/assets/nav/ic_data_top_default @2x.png'),
  123. srcer: require('@/assets/nav/ic_data_top_check@2x.png')
  124. },
  125. // {
  126. // path: '/BasicsData/airportChild',
  127. // name: 'airportChild',
  128. // component: () => import('@/views/systemSettings/views/airport/airportChild'),
  129. // meta: { title: '航站设置' },
  130. // hidden: false,
  131. // isAlone: true,
  132. // src: require('@/assets/nav/ic_setting_top@2x.png')
  133. // }
  134. ]
  135. }
  136. ]
  137. }
  138. const departureRoutesC = {
  139. path: '/departureC',
  140. name: 'departureCParent',
  141. component: Layout,
  142. meta: { roles: ['departure_menu_tmp'] },
  143. children: [
  144. {
  145. path: '/departureC',
  146. component: () => import('@/views/baggageManagement'),
  147. meta: {
  148. title: '离港管理',
  149. imgstyle: 'ic_list_nav_leave_default.png',
  150. imgstyleup: 'ic_list_nav_leave_check.png'
  151. },
  152. children: [
  153. {
  154. path: '/departureC',
  155. name: 'DepartureParent',
  156. component: () => import('@/views/baggageManagement'),
  157. meta: {
  158. title: '离港视图',
  159. // title: "行李视图",
  160. roles: ['departure_page'],
  161. keepAlive: true
  162. },
  163. children: [
  164. {
  165. path: '/departureC',
  166. name: 'departureC',
  167. component: () => import('@/views/baggageManagement/components/departureC'),
  168. meta: { keepAlive: true }
  169. },
  170. {
  171. path: '/departureC/flightView',
  172. name: 'DepartureTwo',
  173. component: () => import('@/views/baggageManagement'),
  174. meta: { title: '航班视图', keepAlive: true },
  175. children: [
  176. {
  177. path: '/departureC/flightView',
  178. name: 'departureCFlightView',
  179. component: () => import('@/views/baggageManagement/components/departureC/flight'),
  180. meta: { keepAlive: true }
  181. },
  182. {
  183. path: '/departureC/baggageView',
  184. name: 'departureCBaggageView',
  185. component: () => import('@/views/baggageManagement/components/departureC/baggage'),
  186. meta: { title: '行李视图', keepAlive: true }
  187. }
  188. ]
  189. }
  190. ]
  191. }
  192. ]
  193. }
  194. ]
  195. }
  196. export default [
  197. departureRoutesC,
  198. BasicsDataRoutes
  199. ]