routes-file-six.ts 12 KB

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