|
@@ -9,6 +9,7 @@ import Layout from '@/layout'
|
|
|
|
|
|
const departureRoutes = {
|
|
|
path: '/departure',
|
|
|
+ name:'departure',
|
|
|
component: Layout,
|
|
|
meta: { roles: ['departure_menu'] },
|
|
|
children: [
|
|
@@ -35,20 +36,11 @@ const departureRoutes = {
|
|
|
redirect: '/departure',
|
|
|
// redirect: "/departure/baggageView",
|
|
|
children: [
|
|
|
- // {
|
|
|
- // path: "/departure/baggageView",
|
|
|
- // name: "DepartureBaggageView",
|
|
|
- // component: () =>
|
|
|
- // import(
|
|
|
- // "@/views/baggageManagement/components/departure/baggage"
|
|
|
- // ),
|
|
|
- // meta: { keepAlive: true, deepth: 2 },
|
|
|
- // },
|
|
|
{
|
|
|
path: '/departure',
|
|
|
name: 'DepartureTerminalView',
|
|
|
component: () => import('@/views/baggageManagement/components/departure'),
|
|
|
- meta: { keepAlive: true, deepth: 2 }
|
|
|
+ meta: { title: '航站视图',keepAlive: true }
|
|
|
},
|
|
|
{
|
|
|
path: '/departure/flightView',
|
|
@@ -120,7 +112,7 @@ const arrivalRoutes = {
|
|
|
path: '/arrival/baggageView',
|
|
|
name: 'ArrivalBaggageView',
|
|
|
component: () => import('@/views/baggageManagement/components/arrival/baggage'),
|
|
|
- meta: { title: '行李视图', deepth: 4 }
|
|
|
+ meta: { title: '行李视图', deepth: 4,keepAlive: true }
|
|
|
}
|
|
|
]
|
|
|
}
|
|
@@ -221,4 +213,58 @@ const transferRoutes = {
|
|
|
]
|
|
|
}
|
|
|
|
|
|
-export default [departureRoutes, arrivalRoutes, transferRoutes]
|
|
|
+// 高级查询
|
|
|
+const advanceRoutes = {
|
|
|
+ path: '/',
|
|
|
+ redirect: '/advance',
|
|
|
+ component: Layout,
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: '/advance',
|
|
|
+ component: () => import('@/views/advancedQuery/index.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '高级查询',
|
|
|
+ icon: 'dataParser',
|
|
|
+ imgstyle: 'ic_list_nav_search_default.png',
|
|
|
+ imgstyleup: 'ic_list_nav_search_check.png',
|
|
|
+ },
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: '/',
|
|
|
+ name: 'advanceHome',
|
|
|
+ component: {
|
|
|
+ render (c) {
|
|
|
+ return c('router-view')
|
|
|
+ }
|
|
|
+ },
|
|
|
+ redirect: '/',
|
|
|
+ meta: { title: '高级查询', isPage: 'advance_page',keepAlive:true },
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: '/',
|
|
|
+ component: () => import('@/views/advancedQuery/views/advancedHome.vue'),
|
|
|
+ meta:{
|
|
|
+ title: '高级查询',
|
|
|
+ keepAlive:true
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'flightView',
|
|
|
+ name: 'advancedFlight',
|
|
|
+ component: () => import('@/views/advancedQuery/views/advancedFlight.vue'),
|
|
|
+ meta: { title: '航班视图',keepAlive:true}
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'baggageView',
|
|
|
+ name: 'advancedBag',
|
|
|
+ component: () => import('@/views/advancedQuery/views/advancedBag.vue'),
|
|
|
+ meta: { title: '行李视图',keepAlive:true}
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ]
|
|
|
+}
|
|
|
+
|
|
|
+export default [departureRoutes, arrivalRoutes, transferRoutes,advanceRoutes]
|