routes-file-temp.js 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943
  1. import Layout from '@/layout'
  2. const uploadRoutes = {
  3. path: '/upload',
  4. name: 'Upload',
  5. component: Layout,
  6. children: [
  7. {
  8. path: '/upload',
  9. meta: {
  10. title: '速运行李上传',
  11. imgstyle: 'ic_list_nav_upload_default.png',
  12. imgstyleup: 'ic_list_nav_upload_check.png',
  13. },
  14. component: {
  15. render (c) {
  16. return c('router-view')
  17. },
  18. },
  19. children: [
  20. {
  21. path: '/upload',
  22. name: 'UploadView',
  23. component: () => import('@/views/upload/index.vue'),
  24. },
  25. ],
  26. },
  27. ],
  28. }
  29. const statisticsChartsRoutes = {
  30. path: '/statisticsCharts',
  31. name: 'StatisticsCharts',
  32. component: Layout,
  33. meta: {
  34. title: '统计图表',
  35. },
  36. children: [
  37. {
  38. path: '/statisticsCharts',
  39. redirect: 'airlineCompany',
  40. component: () => import('@/views/statisticsCharts'),
  41. meta: {
  42. title: '统计图表',
  43. imgstyle: 'ic_list_nav_arrive_default.png',
  44. imgstyleup: 'ic_list_nav_arrive_check.png',
  45. },
  46. children: [
  47. {
  48. path: 'airlineCompany',
  49. redirect: 'airlineCompany/flight',
  50. name: 'AirlineCompanyStatistics',
  51. hidden: true,
  52. component: {
  53. render (h) {
  54. return h('router-view')
  55. },
  56. },
  57. children: [
  58. {
  59. path: 'flight',
  60. name: 'FlightStatisticsCharts',
  61. hidden: true,
  62. component: () =>
  63. import(
  64. '@/views/statisticsCharts/views/airlineCompany/flightStatisticsCharts'
  65. ),
  66. meta: {
  67. title: '航班量统计',
  68. roles: ['flight_volume_statistics'],
  69. },
  70. },
  71. {
  72. path: 'baggage',
  73. name: 'BaggageStatisticsCharts',
  74. hidden: true,
  75. component: () =>
  76. import(
  77. '@/views/statisticsCharts/views/airlineCompany/baggageStatisticsCharts'
  78. ),
  79. meta: { title: '行李量统计', roles: ['baggage_statistics'] },
  80. },
  81. {
  82. path: 'specialBaggage',
  83. name: 'SpecialBaggageStatisticsCharts',
  84. hidden: true,
  85. component: () =>
  86. import(
  87. '@/views/statisticsCharts/views/airlineCompany/specialBaggageStatisticsCharts'
  88. ),
  89. meta: { title: '特殊行李量统计' },
  90. },
  91. {
  92. path: 'baggagePassenger',
  93. name: 'BaggagePassengerStatisticsCharts',
  94. hidden: true,
  95. component: () =>
  96. import(
  97. '@/views/statisticsCharts/views/airlineCompany/baggagePassengerStatisticsCharts'
  98. ),
  99. meta: { title: '行李旅客量统计' },
  100. },
  101. {
  102. path: 'baggageAverage',
  103. name: 'BaggageAverageStatisticsCharts',
  104. hidden: true,
  105. component: () =>
  106. import(
  107. '@/views/statisticsCharts/views/airlineCompany/baggageAverageStatisticsCharts'
  108. ),
  109. meta: { title: '平均行李量统计' },
  110. },
  111. {
  112. path: 'abnormalBaggage',
  113. name: 'AbnormalBaggageStatisticsCharts',
  114. hidden: true,
  115. component: () =>
  116. import(
  117. '@/views/statisticsCharts/views/airlineCompany/abnormalBaggageStatisticsCharts'
  118. ),
  119. meta: { title: '异常行李量统计' },
  120. },
  121. {
  122. path: 'complaintBaggage',
  123. name: 'ComplaintBaggageStatisticsCharts',
  124. hidden: true,
  125. component: () =>
  126. import(
  127. '@/views/statisticsCharts/views/airlineCompany/complaintBaggageStatisticsCharts'
  128. ),
  129. meta: { title: '投诉行李量统计' },
  130. },
  131. {
  132. path: 'compensationBaggage',
  133. name: 'CompensationBaggageStatisticsCharts',
  134. hidden: true,
  135. component: () =>
  136. import(
  137. '@/views/statisticsCharts/views/airlineCompany/compensationBaggageStatisticsCharts'
  138. ),
  139. meta: { title: '赔偿行李量统计' },
  140. },
  141. {
  142. path: 'compensation',
  143. name: 'CompensationStatisticsCharts',
  144. hidden: true,
  145. component: () =>
  146. import(
  147. '@/views/statisticsCharts/views/airlineCompany/compensationStatisticsCharts'
  148. ),
  149. meta: { title: '赔偿金额统计' },
  150. }
  151. ],
  152. },
  153. {
  154. path: 'passengerClassification',
  155. redirect: 'passengerClassification/baggagePassenger',
  156. name: 'PassengerStatistics',
  157. hidden: true,
  158. component: {
  159. render (h) {
  160. return h('router-view')
  161. },
  162. },
  163. children: [
  164. {
  165. path: 'baggagePassenger',
  166. name: 'PassengerStatisticsCharts',
  167. hidden: true,
  168. component: () =>
  169. import(
  170. '@/views/statisticsCharts/views/passengerClassification/baggagePassengerStatisticsCharts'
  171. ),
  172. meta: { title: '行李旅客量统计' },
  173. },
  174. {
  175. path: 'baggage',
  176. name: 'PassengerBaggageStatisticsCharts',
  177. hidden: true,
  178. component: () =>
  179. import(
  180. '@/views/statisticsCharts/views/passengerClassification/baggageStatisticsCharts'
  181. ),
  182. meta: { title: '行李量统计' },
  183. },
  184. {
  185. path: 'specialBaggage',
  186. name: 'PassengerSpecialBaggageStatisticsCharts',
  187. hidden: true,
  188. component: () =>
  189. import(
  190. '@/views/statisticsCharts/views/passengerClassification/specialBaggageStatisticsCharts'
  191. ),
  192. meta: { title: '特殊行李量统计' },
  193. },
  194. {
  195. path: 'abnormalBaggage',
  196. name: 'PassengerAbnormalBaggageStatisticsCharts',
  197. hidden: true,
  198. component: () =>
  199. import(
  200. '@/views/statisticsCharts/views/passengerClassification/abnormalBaggageStatisticsCharts'
  201. ),
  202. meta: { title: '异常行李量统计' },
  203. },
  204. {
  205. path: 'complaintBaggage',
  206. name: 'PassengerComplaintBaggageStatisticsCharts',
  207. hidden: true,
  208. component: () =>
  209. import(
  210. '@/views/statisticsCharts/views/passengerClassification/complaintBaggageStatisticsCharts'
  211. ),
  212. meta: { title: '投诉行李量统计' },
  213. },
  214. {
  215. path: 'compensationBaggage',
  216. name: 'PassengerCompensationBaggageStatisticsCharts',
  217. hidden: true,
  218. component: () =>
  219. import(
  220. '@/views/statisticsCharts/views/passengerClassification/compensationBaggageStatisticsCharts'
  221. ),
  222. meta: { title: '赔偿行李量统计' },
  223. },
  224. {
  225. path: 'compensation',
  226. name: 'PassengerCompensationStatisticsCharts',
  227. hidden: true,
  228. component: () =>
  229. import(
  230. '@/views/statisticsCharts/views/passengerClassification/compensationStatisticsCharts'
  231. ),
  232. meta: { title: '赔偿金额统计' },
  233. },
  234. {
  235. path: 'checkInBaggage',
  236. name: 'CheckInBaggageCharts',
  237. hidden: true,
  238. component: () =>
  239. import(
  240. '@/views/statisticsCharts/views/passengerClassification/checkInBaggageCharts'
  241. ),
  242. meta: { title: '行李值机方式统计' },
  243. },
  244. {
  245. path: 'abnormalDtBaggage',
  246. name: 'AbnormalBaggageDtCharts',
  247. hidden: true,
  248. component: () =>
  249. import(
  250. '@/views/statisticsCharts/views/passengerClassification/abnormalBaggageCharts'
  251. ),
  252. meta: { title: '非正常行李统计' },
  253. },
  254. ],
  255. },
  256. {
  257. path: 'flightClassification',
  258. redirect: 'flightClassification/flight',
  259. name: 'FlightClassificationStatistics',
  260. hidden: true,
  261. component: {
  262. render (h) {
  263. return h('router-view')
  264. },
  265. },
  266. children: [
  267. {
  268. path: 'flight',
  269. name: 'FlightClassificationStatisticsCharts',
  270. hidden: true,
  271. component: () =>
  272. import(
  273. '@/views/statisticsCharts/views/flightClassification/flightClassificationStatisticsCharts'
  274. ),
  275. meta: { title: '航班量统计' },
  276. },
  277. {
  278. path: 'baggage',
  279. name: 'FlightBaggageClassificationStatisticsCharts',
  280. hidden: true,
  281. component: () =>
  282. import(
  283. '@/views/statisticsCharts/views/flightClassification/baggageClassificationStatisticsCharts'
  284. ),
  285. meta: { title: '行李量统计' },
  286. },
  287. {
  288. path: 'passenger',
  289. name: 'FlightPassengerClassificationStatisticsCharts',
  290. hidden: true,
  291. component: () =>
  292. import(
  293. '@/views/statisticsCharts/views/flightClassification/passengerClassificationStatisticsCharts'
  294. ),
  295. meta: { title: '行李旅客量统计' },
  296. },
  297. ],
  298. },
  299. {
  300. path: 'node',
  301. name: 'NodeStatisticsCharts',
  302. hidden: true,
  303. component: () =>
  304. import('@/views/statisticsCharts/views/nodeStatisticsCharts'),
  305. meta: {
  306. title: '扫描节点与位置分析',
  307. roles: ['scanning_node_and_location_analysis'],
  308. },
  309. },
  310. {
  311. path: 'report',
  312. redirect: 'report/reportStatistics',
  313. name: 'Report',
  314. hidden: true,
  315. component: {
  316. render (h) {
  317. return h('router-view')
  318. },
  319. },
  320. children: [
  321. {
  322. path: 'reportStatistics',
  323. name: 'ReportStatistics',
  324. hidden: true,
  325. component: () =>
  326. import(
  327. '@/views/statisticsCharts/views/report/reportStatistics'
  328. ),
  329. meta: {
  330. title: '运送效率报表统计',
  331. roles: ['scanning_node_and_location_analysis'],
  332. },
  333. },
  334. {
  335. path: 'transitTables',
  336. name: 'TransitTables',
  337. hidden: true,
  338. component: () =>
  339. import('@/views/statisticsCharts/views/report/transitTables'),
  340. meta: {
  341. title: '中转四个流向统计',
  342. roles: ['scanning_node_and_location_analysis'],
  343. },
  344. },
  345. {
  346. path: 'transferDirectionTable',
  347. name: 'TransferDirectionTable',
  348. hidden: true,
  349. component: () =>
  350. import(
  351. '@/views/statisticsCharts/views/report/transferDirectionTable'
  352. ),
  353. meta: {
  354. title: '中转流向明细统计',
  355. roles: ['scanning_node_and_location_analysis'],
  356. },
  357. },
  358. {
  359. path: 'transferBaggageTable',
  360. name: 'TransferBaggageTable',
  361. hidden: true,
  362. component: () =>
  363. import(
  364. '@/views/statisticsCharts/views/report/transferBaggageTable'
  365. ),
  366. meta: {
  367. title: '中转行李因素分析统计',
  368. roles: ['scanning_node_and_location_analysis'],
  369. },
  370. },
  371. {
  372. path: 'baggageProportionTable',
  373. name: 'BaggageProportionTable',
  374. hidden: true,
  375. component: () =>
  376. import(
  377. '@/views/statisticsCharts/views/report/baggageProportionTable'
  378. ),
  379. meta: {
  380. title: '中转行李比例明细统计',
  381. roles: ['scanning_node_and_location_analysis'],
  382. },
  383. },
  384. {
  385. path: 'scanningStatistics',
  386. name: 'ScanningStatistics',
  387. hidden: true,
  388. component: () =>
  389. import(
  390. '@/views/statisticsCharts/views/report/scanningStatistics'
  391. ),
  392. meta: {
  393. title: '航站BRS扫描统计',
  394. roles: ['scanning_node_and_location_analysis'],
  395. },
  396. },
  397. {
  398. path: 'scanDataTable',
  399. name: 'scanDataTable',
  400. hidden: true,
  401. component: () =>
  402. import('@/views/statisticsCharts/views/report/scanDataTable'),
  403. meta: {
  404. title: 'Manual Load扫描数据统计表',
  405. roles: ['scanning_node_and_location_analysis'],
  406. },
  407. },
  408. {
  409. path: 'rfldTable',
  410. name: 'rfldTable',
  411. hidden: true,
  412. component: () =>
  413. import('@/views/statisticsCharts/views/report/rfldTable'),
  414. meta: {
  415. title: '航易行RFID扫描数据统计表',
  416. roles: ['scanning_node_and_location_analysis'],
  417. },
  418. },
  419. {
  420. path: 'Percentageofbaggage',
  421. name: 'Percentageofbaggage',
  422. hidden: true,
  423. component: () =>
  424. import('@/views/statisticsCharts/views/report/Percentageofbaggage'),
  425. meta: {
  426. title: '行李全流程服务水平百分比',
  427. roles: ['scanning_node_and_location_analysis'],
  428. },
  429. },
  430. {
  431. path: 'WorkloadTable',
  432. name: 'WorkloadTable',
  433. hidden: true,
  434. component: () =>
  435. import('@/views/statisticsCharts/views/report/workloadTable'),
  436. meta: {
  437. title: '工作量统计',
  438. roles: ['scanning_node_and_location_analysis'],
  439. },
  440. },
  441. ],
  442. },
  443. {
  444. path: 'specialClassification',
  445. redirect: 'specialClassification/special',
  446. name: 'SpecialStatistics',
  447. hidden: true,
  448. component: {
  449. render (h) {
  450. return h('router-view')
  451. },
  452. },
  453. children: [
  454. {
  455. path: 'special',
  456. name: 'SpecialBaggageClassificationStatisticsCharts',
  457. hidden: true,
  458. component: () =>
  459. import(
  460. '@/views/statisticsCharts/views/special/specialBaggageClassificationStatisticsCharts'
  461. ),
  462. meta: { title: '特殊行李分类统计' },
  463. },
  464. {
  465. path: 'abnormal',
  466. name: 'AbnormalBaggageClassificationStatisticsCharts',
  467. hidden: true,
  468. component: () =>
  469. import(
  470. '@/views/statisticsCharts/views/special/abnormalBaggageClassificationStatisticsCharts'
  471. ),
  472. meta: { title: '异常行李分类统计' },
  473. },
  474. {
  475. path: 'compensationBaggage',
  476. name: 'CompensationBaggageClassificationStatisticsCharts',
  477. hidden: true,
  478. component: () =>
  479. import(
  480. '@/views/statisticsCharts/views/special/compensationBaggageClassificationStatisticsCharts'
  481. ),
  482. meta: { title: '赔偿行李分类统计' },
  483. },
  484. {
  485. path: 'compensation',
  486. name: 'CompensationClassificationStatisticsCharts',
  487. hidden: true,
  488. component: () =>
  489. import(
  490. '@/views/statisticsCharts/views/special/compensationClassificationStatisticsCharts'
  491. ),
  492. meta: { title: '赔偿金额分类统计' },
  493. },
  494. ],
  495. },
  496. {
  497. path: 'statisticalAnalysis',
  498. name: 'statisticalAnalysisContent',
  499. meta: { title: '统计分析' },
  500. component: () => import('@/views/statisticalAnalysis/components'),
  501. },
  502. ],
  503. },
  504. ],
  505. }
  506. const departureRoutes = {
  507. path: '/departure',
  508. name: 'Departure',
  509. component: Layout,
  510. children: [
  511. {
  512. path: '/departure',
  513. component: () => import('@/views/baggageManagementTemp'),
  514. meta: {
  515. title: '离港管理',
  516. imgstyle: 'ic_list_nav_leave_default.png',
  517. imgstyleup: 'ic_list_nav_leave_check.png',
  518. },
  519. children: [
  520. {
  521. path: '/departure',
  522. name: 'DepartureNav',
  523. component: () => import('@/views/baggageManagementTemp'),
  524. meta: {
  525. title: '离港视图',
  526. // title: "行李视图",
  527. roles: ['departure_page'],
  528. keepAlive: true,
  529. },
  530. children: [
  531. {
  532. path: '/departure',
  533. name: 'DepartureTerminalView',
  534. component: () =>
  535. import('@/views/baggageManagementTemp/components/departure'),
  536. meta: { keepAlive: true },
  537. },
  538. {
  539. path: '/departure/flightView',
  540. name: 'DepartureFlightNav',
  541. component: () => import('@/views/baggageManagementTemp'),
  542. meta: { title: '航班视图', keepAlive: true },
  543. children: [
  544. {
  545. path: '/departure/flightView',
  546. name: 'DepartureFlightView',
  547. component: () =>
  548. import(
  549. '@/views/baggageManagementTemp/components/departure/flight'
  550. ),
  551. meta: { keepAlive: true },
  552. },
  553. {
  554. path: '/departure/baggageView',
  555. name: 'DepartureBaggageView',
  556. component: () =>
  557. import(
  558. '@/views/baggageManagementTemp/components/departure/baggage'
  559. ),
  560. meta: { title: '行李视图', keepAlive: true },
  561. },
  562. {
  563. path: '/departure/containerView',
  564. name: 'DepartureContainerNav',
  565. component: () => import('@/views/baggageManagementTemp'),
  566. meta: { title: '容器视图', keepAlive: true },
  567. children: [
  568. {
  569. path: '/departure/containerView',
  570. name: 'DepartureContainerView',
  571. component: () =>
  572. import(
  573. '@/views/baggageManagementTemp/components/departure/container'
  574. ),
  575. meta: { keepAlive: true },
  576. },
  577. {
  578. path: '/departure/containerHistory',
  579. name: 'DepartureContainerHistory',
  580. component: () =>
  581. import(
  582. '@/views/baggageManagementTemp/components/departure/containerHistory'
  583. ),
  584. meta: { title: '历史记录', keepAlive: true },
  585. },
  586. ],
  587. },
  588. ],
  589. },
  590. ],
  591. },
  592. ],
  593. },
  594. ],
  595. }
  596. const arrivalRoutes = {
  597. path: '/arrival',
  598. name: 'Arrival',
  599. component: Layout,
  600. children: [
  601. {
  602. path: '/arrival',
  603. component: () => import('@/views/baggageManagementTemp'),
  604. meta: {
  605. title: '进港管理',
  606. imgstyle: 'ic_list_nav_arrive_default.png',
  607. imgstyleup: 'ic_list_nav_arrive_check.png',
  608. },
  609. children: [
  610. {
  611. path: '/arrival',
  612. name: 'ArrivalNav',
  613. component: () => import('@/views/baggageManagementTemp'),
  614. meta: {
  615. title: '进港视图',
  616. roles: ['inbound_search_page'],
  617. keepAlive: true,
  618. },
  619. children: [
  620. {
  621. path: '/arrival',
  622. name: 'ArrivalTerminalView',
  623. component: () =>
  624. import('@/views/baggageManagementTemp/components/arrival'),
  625. meta: { keepAlive: true },
  626. },
  627. {
  628. path: '/arrival/flightView',
  629. name: 'ArrivalFlightNav',
  630. component: () => import('@/views/baggageManagementTemp'),
  631. meta: { title: '航班视图', keepAlive: true },
  632. children: [
  633. {
  634. path: '/arrival/flightView',
  635. name: 'ArrivalFlightView',
  636. component: () =>
  637. import(
  638. '@/views/baggageManagementTemp/components/arrival/flight'
  639. ),
  640. meta: { keepAlive: true },
  641. },
  642. {
  643. path: '/arrival/baggageView',
  644. name: 'ArrivalBaggageView',
  645. component: () =>
  646. import(
  647. '@/views/baggageManagementTemp/components/arrival/baggage'
  648. ),
  649. meta: { title: '行李视图', keepAlive: true },
  650. },
  651. {
  652. path: '/arrival/containerView',
  653. name: 'ArrivalContainerNav',
  654. component: () => import('@/views/baggageManagementTemp'),
  655. meta: { title: '容器视图', keepAlive: true },
  656. children: [
  657. {
  658. path: '/arrival/containerView',
  659. name: 'ArrivalContainerView',
  660. component: () =>
  661. import(
  662. '@/views/baggageManagementTemp/components/arrival/container'
  663. ),
  664. meta: { keepAlive: true },
  665. },
  666. {
  667. path: '/arrival/containerHistory',
  668. name: 'ArrivalContainerHistory',
  669. component: () =>
  670. import(
  671. '@/views/baggageManagementTemp/components/arrival/containerHistory'
  672. ),
  673. meta: { title: '容器历史', keepAlive: true },
  674. },
  675. ],
  676. },
  677. ],
  678. },
  679. ],
  680. },
  681. ],
  682. },
  683. ],
  684. }
  685. const transferRoutes = {
  686. path: '/transfer',
  687. name: 'Transfer',
  688. component: Layout,
  689. children: [
  690. {
  691. path: '/transfer',
  692. component: () => import('@/views/baggageManagementTemp'),
  693. meta: {
  694. title: '中转管理',
  695. imgstyle: 'ic_list_nav_transit_default.png',
  696. imgstyleup: 'ic_list_nav_transit_check.png',
  697. },
  698. redirect: '/transfer/arrival',
  699. children: [
  700. {
  701. path: '/transfer/arrival',
  702. name: 'TransferArrivalNav',
  703. component: () => import('@/views/baggageManagementTemp'),
  704. meta: {
  705. title: '中转进港',
  706. roles: ['transit_inbound_page'],
  707. keepAlive: true,
  708. },
  709. children: [
  710. {
  711. path: '/transfer/arrival',
  712. name: 'TransferArrivalTerminalView',
  713. component: () =>
  714. import(
  715. '@/views/baggageManagementTemp/components/transferArrival'
  716. ),
  717. meta: { keepAlive: true },
  718. },
  719. {
  720. path: '/transfer/arrival/flightView',
  721. name: 'TransferArrivalFlightNav',
  722. component: () => import('@/views/baggageManagementTemp'),
  723. meta: { title: '航班视图', keepAlive: true },
  724. children: [
  725. {
  726. path: '/transfer/arrival/flightView',
  727. name: 'TransferArrivalFlightView',
  728. component: () =>
  729. import(
  730. '@/views/baggageManagementTemp/components/transferArrival/flight'
  731. ),
  732. meta: { keepAlive: true },
  733. },
  734. {
  735. path: '/transfer/arrival/baggageView',
  736. name: 'TransferArrivalBaggageView',
  737. component: () =>
  738. import(
  739. '@/views/baggageManagementTemp/components/transferArrival/baggage'
  740. ),
  741. meta: { title: '行李视图', keepAlive: true },
  742. },
  743. {
  744. path: '/transfer/arrival/containerView',
  745. name: 'TransferArrivalContainerNav',
  746. component: () => import('@/views/baggageManagementTemp'),
  747. meta: { title: '容器视图', keepAlive: true },
  748. children: [
  749. {
  750. path: '/transfer/arrival/containerView',
  751. name: 'TransferArrivalContainerView',
  752. component: () =>
  753. import(
  754. '@/views/baggageManagementTemp/components/arrival/container'
  755. ),
  756. meta: { keepAlive: true },
  757. },
  758. {
  759. path: '/transfer/arrival/containerHistory',
  760. name: 'TransferArrivalContainerHistory',
  761. component: () =>
  762. import(
  763. '@/views/baggageManagementTemp/components/transferArrival/containerHistory'
  764. ),
  765. meta: { title: '容器历史', keepAlive: true },
  766. },
  767. ],
  768. },
  769. ],
  770. },
  771. ],
  772. },
  773. {
  774. path: '/transfer/departure',
  775. name: 'TransferDepartureNav',
  776. component: () => import('@/views/baggageManagementTemp'),
  777. meta: {
  778. title: '中转离港',
  779. roles: ['transit_departure_page'],
  780. keepAlive: true,
  781. },
  782. children: [
  783. {
  784. path: '/transfer/departure',
  785. name: 'TransferDepartureTerminalView',
  786. component: () =>
  787. import(
  788. '@/views/baggageManagementTemp/components/transferDeparture'
  789. ),
  790. meta: { keepAlive: true },
  791. },
  792. {
  793. path: '/transfer/departure/flightView',
  794. name: 'TransferDepartureFlightNav',
  795. component: () => import('@/views/baggageManagementTemp'),
  796. meta: { title: '航班视图', keepAlive: true },
  797. children: [
  798. {
  799. path: '/transfer/departure/flightView',
  800. name: 'TransferDepartureFlightView',
  801. component: () =>
  802. import(
  803. '@/views/baggageManagementTemp/components/transferDeparture/flight'
  804. ),
  805. meta: { keepAlive: true },
  806. },
  807. {
  808. path: '/transfer/departure/baggageView',
  809. name: 'TransferDepartureBaggageView',
  810. component: () =>
  811. import(
  812. '@/views/baggageManagementTemp/components/transferDeparture/baggage'
  813. ),
  814. meta: { title: '行李视图', keepAlive: true },
  815. },
  816. {
  817. path: '/transfer/departure/containerView',
  818. name: 'TransferDepartureContainerNav',
  819. component: () => import('@/views/baggageManagementTemp'),
  820. meta: { title: '容器视图', keepAlive: true },
  821. children: [
  822. {
  823. path: '/transfer/departure/containerView',
  824. name: 'TransferDepartureContainerView',
  825. component: () =>
  826. import(
  827. '@/views/baggageManagementTemp/components/transferDeparture/container'
  828. ),
  829. meta: { keepAlive: true },
  830. },
  831. {
  832. path: '/transfer/departure/containerHistory',
  833. name: 'TransferDepartureContainerHistory',
  834. component: () =>
  835. import(
  836. '@/views/baggageManagementTemp/components/transferDeparture/containerHistory'
  837. ),
  838. meta: { title: '容器历史', keepAlive: true },
  839. },
  840. ],
  841. },
  842. ],
  843. },
  844. ],
  845. },
  846. ],
  847. },
  848. ],
  849. }
  850. // 高级查询
  851. const advanceRoutes = {
  852. path: '/advance',
  853. name: 'Advance',
  854. component: Layout,
  855. children: [
  856. {
  857. path: '/advance',
  858. component: () => import('@/views/advancedQuery'),
  859. meta: {
  860. title: '高级查询',
  861. imgstyle: 'ic_list_nav_search_default.png',
  862. imgstyleup: 'ic_list_nav_search_check.png',
  863. },
  864. children: [
  865. {
  866. path: '/advance',
  867. name: 'AdvancedQuery',
  868. component: () => import('@/views/advancedQuery'),
  869. meta: { keepAlive: true },
  870. children: [
  871. {
  872. path: '/advance',
  873. name: 'AdvancedHome',
  874. component: () =>
  875. import('@/views/advancedQuery/views/advancedHome.vue'),
  876. meta: { keepAlive: true },
  877. },
  878. {
  879. path: 'advanceNew',
  880. name: 'AdvancedNew',
  881. component: () =>
  882. import('@/views/advancedQuery/views/advancedNew.vue'),
  883. meta: { keepAlive: true },
  884. },
  885. {
  886. path: 'flightView',
  887. name: 'AdvancedFlight',
  888. component: () =>
  889. import('@/views/advancedQuery/views/advancedFlight.vue'),
  890. meta: { title: '航班视图', keepAlive: true },
  891. },
  892. {
  893. path: 'baggageView',
  894. name: 'AdvancedBag',
  895. component: () =>
  896. import('@/views/advancedQuery/views/advancedBag.vue'),
  897. meta: { title: '行李视图', keepAlive: true },
  898. },
  899. {
  900. path: 'containerView',
  901. name: 'AdvancedContainerNav',
  902. component: () => import('@/views/advancedQuery'),
  903. meta: { title: '容器视图', keepAlive: true },
  904. children: [
  905. {
  906. path: '/advance/containerView',
  907. name: 'AdvancedContainerView',
  908. component: () =>
  909. import('@/views/advancedQuery/views/advancedContainer.vue'),
  910. meta: { keepAlive: true },
  911. },
  912. {
  913. path: '/advance/containerHistory',
  914. name: 'AdvancedContainerHistory',
  915. component: () =>
  916. import(
  917. '@/views/advancedQuery/views/advancedContainerHistory.vue'
  918. ),
  919. meta: { title: '容器历史', keepAlive: true },
  920. },
  921. ],
  922. },
  923. ],
  924. },
  925. ],
  926. },
  927. ],
  928. }
  929. export default [
  930. uploadRoutes,
  931. statisticsChartsRoutes,
  932. transferRoutes,
  933. arrivalRoutes,
  934. departureRoutes,
  935. advanceRoutes
  936. ]