routes-file-six.ts 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375
  1. import Layout from '@/layout'
  2. import { h, resolveComponent } from 'vue'
  3. const ActualTimeRoutes = {
  4. path: '/realTime',
  5. component: Layout,
  6. name: 'realTime',
  7. redirect: '/realTime/departure',
  8. //using el svg icon, the elSvgIcon first when at the same time using elSvgIcon and icon
  9. meta: { title: '综合可视化', elSvgIcon: 'Fold', breadcrumb: false },
  10. children: [
  11. {
  12. path: '/realTime/departure',
  13. name: 'Departure',
  14. redirect: '/realTime/departure/station',
  15. meta: {
  16. title: '国内出港',
  17. elSvgIcon: 'Fold',
  18. icon: 'table',
  19. },
  20. component: {
  21. render: () => h(resolveComponent('router-view')),
  22. },
  23. children: [
  24. {
  25. path: '/realTime/departure/station',
  26. name: 'DepartureStation',
  27. meta: {
  28. title: '国内出港航站视图',
  29. elSvgIcon: 'Fold',
  30. icon: 'table',
  31. breadcrumb: false,
  32. },
  33. component: {
  34. render: () => h(resolveComponent('router-view')),
  35. },
  36. children: [
  37. {
  38. path: '/realTime/departure/station',
  39. name: 'DepartureStationView',
  40. component: () =>
  41. import('@/views/realTime/departure/station/index.vue'),
  42. },
  43. {
  44. path: '/realTime/departure/flight',
  45. name: 'DepartureFlight',
  46. meta: {
  47. title: '国内出港航班视图',
  48. elSvgIcon: 'Fold',
  49. icon: 'table',
  50. },
  51. component: {
  52. render: () => h(resolveComponent('router-view')),
  53. },
  54. children: [
  55. {
  56. path: '/realTime/departure/flight',
  57. name: 'DepartureFlightView',
  58. component: () =>
  59. import('@/views/realTime/departure/flight/index.vue'),
  60. },
  61. {
  62. path: '/realTime/departure/waybill',
  63. name: 'DepartureWaybill',
  64. meta: {
  65. title: '国内出港运单视图',
  66. elSvgIcon: 'Fold',
  67. icon: 'table',
  68. },
  69. component: {
  70. render: () => h(resolveComponent('router-view')),
  71. },
  72. children: [
  73. {
  74. path: '/realTime/departure/waybill',
  75. name: 'DepartureWaybillView',
  76. component: () =>
  77. import(
  78. '@/views/realTime/departure/waybill/index.vue'
  79. ),
  80. },
  81. {
  82. path: '/realTime/departure/goods',
  83. name: 'DepartureGoods',
  84. meta: {
  85. title: '国内出港货物视图',
  86. elSvgIcon: 'Fold',
  87. icon: 'table',
  88. },
  89. component: () =>
  90. import('@/views/realTime/departure/goods/index.vue'),
  91. },
  92. ],
  93. },
  94. ],
  95. },
  96. ],
  97. },
  98. ],
  99. },
  100. {
  101. path: '/realTime/internationalDeparture',
  102. name: 'InternationalDeparture',
  103. redirect: '/realTime/internationalDeparture/station',
  104. meta: {
  105. title: '国际出港',
  106. elSvgIcon: 'Fold',
  107. icon: 'table',
  108. breadcrumb: false,
  109. },
  110. component: {
  111. render: () => h(resolveComponent('router-view')),
  112. },
  113. children: [
  114. {
  115. path: '/realTime/internationalDeparture/station',
  116. name: 'InternationalDepartureStation',
  117. meta: { title: '国际出港航站视图', elSvgIcon: 'Fold', icon: 'table' },
  118. component: {
  119. render: () => h(resolveComponent('router-view')),
  120. },
  121. children: [
  122. {
  123. path: '/realTime/internationalDeparture/station',
  124. name: 'InternationalDepartureStationView',
  125. component: () =>
  126. import(
  127. '@/views/realTime/internationalDeparture/station/index.vue'
  128. ),
  129. },
  130. {
  131. path: '/realTime/internationalDeparture/flight',
  132. name: 'InternationalDepartureFlight',
  133. meta: {
  134. title: '国际出港航班视图',
  135. elSvgIcon: 'Fold',
  136. icon: 'table',
  137. },
  138. component: {
  139. render: () => h(resolveComponent('router-view')),
  140. },
  141. children: [
  142. {
  143. path: '/realTime/internationalDeparture/flight',
  144. name: 'InternationalDepartureFlightView',
  145. component: () =>
  146. import(
  147. '@/views/realTime/internationalDeparture/flight/index.vue'
  148. ),
  149. },
  150. {
  151. path: '/realTime/internationalDeparture/waybill',
  152. name: 'InternationalDepartureWaybill',
  153. meta: {
  154. title: '国际出港运单视图',
  155. elSvgIcon: 'Fold',
  156. icon: 'table',
  157. },
  158. component: {
  159. render: () => h(resolveComponent('router-view')),
  160. },
  161. children: [
  162. {
  163. path: '/realTime/internationalDeparture/waybill',
  164. name: 'InternationalDepartureWaybillView',
  165. component: () =>
  166. import(
  167. '@/views/realTime/internationalDeparture/waybill/index.vue'
  168. ),
  169. },
  170. {
  171. path: '/realTime/internationalDeparture/goods',
  172. name: 'InternationalDepartureGoods',
  173. meta: {
  174. title: '国际出港货物视图',
  175. elSvgIcon: 'Fold',
  176. icon: 'table',
  177. },
  178. component: () =>
  179. import(
  180. '@/views/realTime/internationalDeparture/goods/index.vue'
  181. ),
  182. },
  183. ],
  184. },
  185. ],
  186. },
  187. ],
  188. },
  189. ],
  190. },
  191. {
  192. path: '/realTime/arrival',
  193. name: 'Arrival',
  194. redirect: '/realTime/arrival/station',
  195. meta: {
  196. title: '国内进港',
  197. elSvgIcon: 'Fold',
  198. icon: 'table',
  199. breadcrumb: false,
  200. },
  201. component: {
  202. render: () => h(resolveComponent('router-view')),
  203. },
  204. children: [
  205. {
  206. path: '/realTime/arrival/station',
  207. name: 'ArrivalStation',
  208. meta: { title: '国内进港航站视图', elSvgIcon: 'Fold', icon: 'table' },
  209. component: {
  210. render: () => h(resolveComponent('router-view')),
  211. },
  212. children: [
  213. {
  214. path: '/realTime/arrival/station',
  215. name: 'ArrivalStationView',
  216. component: () =>
  217. import('@/views/realTime/arrival/station/index.vue'),
  218. },
  219. {
  220. path: '/realTime/arrival/flight',
  221. name: 'ArrivalFlight',
  222. meta: {
  223. title: '国内进港航班视图',
  224. elSvgIcon: 'Fold',
  225. icon: 'table',
  226. },
  227. component: {
  228. render: () => h(resolveComponent('router-view')),
  229. },
  230. children: [
  231. {
  232. path: '/realTime/arrival/flight',
  233. name: 'ArrivalFlightView',
  234. component: () =>
  235. import('@/views/realTime/arrival/flight/index.vue'),
  236. },
  237. {
  238. path: '/realTime/arrival/waybill',
  239. name: 'ArrivalWaybill',
  240. meta: {
  241. title: '国内进港运单视图',
  242. elSvgIcon: 'Fold',
  243. icon: 'table',
  244. },
  245. component: {
  246. render: () => h(resolveComponent('router-view')),
  247. },
  248. children: [
  249. {
  250. path: '/realTime/arrival/waybill',
  251. name: 'ArrivalWaybillView',
  252. component: () =>
  253. import('@/views/realTime/arrival/waybill/index.vue'),
  254. },
  255. {
  256. path: '/realTime/arrival/goods',
  257. name: 'ArrivalGoods',
  258. meta: {
  259. title: '国内进港货物视图',
  260. elSvgIcon: 'Fold',
  261. icon: 'table',
  262. },
  263. component: () =>
  264. import('@/views/realTime/arrival/goods/index.vue'),
  265. },
  266. ],
  267. },
  268. ],
  269. },
  270. ],
  271. },
  272. ],
  273. },
  274. {
  275. path: '/realTime/internationalArrival',
  276. name: 'InternationalArrival',
  277. redirect: '/realTime/internationalArrival/station',
  278. meta: {
  279. title: '国内进港',
  280. elSvgIcon: 'Fold',
  281. icon: 'table',
  282. breadcrumb: false,
  283. },
  284. component: {
  285. render: () => h(resolveComponent('router-view')),
  286. },
  287. children: [
  288. {
  289. path: '/realTime/internationalArrival/station',
  290. name: 'InternationalArrivalStation',
  291. meta: { title: '国内进港航站视图', elSvgIcon: 'Fold', icon: 'table' },
  292. component: {
  293. render: () => h(resolveComponent('router-view')),
  294. },
  295. children: [
  296. {
  297. path: '/realTime/internationalArrival/station',
  298. name: 'InternationalArrivalStationView',
  299. component: () =>
  300. import(
  301. '@/views/realTime/internationalArrival/station/index.vue'
  302. ),
  303. },
  304. {
  305. path: '/realTime/internationalArrival/flight',
  306. name: 'InternationalArrivalFlight',
  307. meta: {
  308. title: '国内进港航班视图',
  309. elSvgIcon: 'Fold',
  310. icon: 'table',
  311. },
  312. component: {
  313. render: () => h(resolveComponent('router-view')),
  314. },
  315. children: [
  316. {
  317. path: '/realTime/internationalArrival/flight',
  318. name: 'InternationalArrivalFlightView',
  319. component: () =>
  320. import(
  321. '@/views/realTime/internationalArrival/flight/index.vue'
  322. ),
  323. },
  324. {
  325. path: '/realTime/internationalArrival/waybill',
  326. name: 'InternationalArrivalWaybill',
  327. meta: {
  328. title: '国内进港运单视图',
  329. elSvgIcon: 'Fold',
  330. icon: 'table',
  331. },
  332. component: {
  333. render: () => h(resolveComponent('router-view')),
  334. },
  335. children: [
  336. {
  337. path: '/realTime/internationalArrival/waybill',
  338. name: 'InternationalArrivalWaybillView',
  339. component: () =>
  340. import(
  341. '@/views/realTime/internationalArrival/waybill/index.vue'
  342. ),
  343. },
  344. {
  345. path: '/realTime/internationalArrival/goods',
  346. name: 'InternationalArrivalGoods',
  347. meta: {
  348. title: '国内进港货物视图',
  349. elSvgIcon: 'Fold',
  350. icon: 'table',
  351. },
  352. component: () =>
  353. import(
  354. '@/views/realTime/internationalArrival/goods/index.vue'
  355. ),
  356. },
  357. ],
  358. },
  359. ],
  360. },
  361. ],
  362. },
  363. ],
  364. },
  365. {
  366. path: '/realTime/trackMap',
  367. name: 'TrackMap',
  368. meta: { title: '轨迹地图', elSvgIcon: 'Fold', icon: 'table' },
  369. component: () => import('@/views/realTime/trackMap/index.vue'),
  370. },
  371. ],
  372. }
  373. export default [ActualTimeRoutes]