123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202 |
- import Layout from '@/layout'
- const BasicsDataRoutes = {
- path: '/BasicsData',
- component: Layout,
- meta: { roles: ['basicData'], keepAlive: false },
- children: [
- {
- path: '/BasicsData',
- name: 'BasicsData',
- component: () => import('@/views/BasicsData/index'),
- meta: { title: '基础数据', icon: 'BasicsData', imgstyle: 'ic_setting_nav_default.png', imgstyleup: 'ic_setting_nav_check.png', keepAlive: false },
- children: [
- {
- path: '/BasicsData',
- name: 'airportCompanyInfo',
- component: () => import('@/views/BasicsData/views/airportCompany'),
- meta: { title: '机场所属公司', keepAlive: false },
- hidden: true,
- src: require('@/assets/nav/ic_data_top_default @2x.png'),
- srcer: require('@/assets/nav/ic_data_top_check@2x.png')
- },
- // 权限airline_information_page导致航司信息维护不显示
- {
- path: '/BasicsData/airlineCompanyInfo',
- name: 'airlineCompanyInfo',
- component: () => import('@/views/BasicsData/views/airlineCompany/airlineCompanyInfo'),
- meta: { title: '航司信息维护', keepAlive: false, roles: ['airline_information_page'] },
- hidden: true,
- src: require('@/assets/nav/ic_data_top_default @2x.png'),
- srcer: require('@/assets/nav/ic_data_top_check@2x.png')
- },
- {
- path: '/BasicsData/airportInfo',
- name: 'airportInfo',
- component: { render (c) { return c('router-view') } },
- redirect: '/BasicsData/airportInfo',
- meta: { title: '机场信息维护', keepAlive: false },
- hidden: true,
- src: require('@/assets/nav/ic_data_top_default @2x.png'),
- srcer: require('@/assets/nav/ic_data_top_check@2x.png'),
- children: [
- {
- path: '/BasicsData/airportInfo',
- component: () => import('@/views/BasicsData/views/airport/airportInfo'),
- meta: { title: '机场信息维护', keepAlive: false },
- },
- {
- path: '/BasicsData/airportInfoDetails',
- name: 'airportInfoDetails',
- component: () => import('@/views/BasicsData/views/airport/airportInfoDetails'),
- meta: { title: '基本信息', keepAlive: false },
- hidden: false,
- isAlone: true,
- src: require('@/assets/nav/ic_setting_top@2x.png')
- },
- {
- path: '/BasicsData/airportInfoChild',
- name: 'airportInfoChild',
- component: () => import('@/views/BasicsData/views/airport/airportInfoChild'),
- meta: { title: '航站设置', keepAlive: false },
- hidden: false,
- isAlone: true,
- src: require('@/assets/nav/ic_setting_top@2x.png')
- }
- ]
- },
- {
- path: '/BasicsData/deployNode',
- name: 'deployNode',
- component: { render (c) { return c('router-view') } },
- meta: { title: '节点信息维护', keepAlive: false },
- hidden: true,
- src: require('@/assets/nav/ic_data_top_default @2x.png'),
- srcer: require('@/assets/nav/ic_data_top_check@2x.png'),
- children: [
- {
- path: '/BasicsData/deployNode',
- component: () => import('@/views/BasicsData/views/deployNode/deployNodeHome'),
- meta: { title: '节点信息维护', keepAlive: false },
- },
- {
- path: '/BasicsData/deployNodeChild',
- name: 'deployNodeChild',
- component: () => import('@/views/BasicsData/views/deployNode/deployNodeChild'),
- meta: { title: '节点设置', keepAlive: false },
- hidden: false,
- isAlone: true,
- src: require('@/assets/nav/ic_setting_top@2x.png')
- }
- ]
- },
- // {
- // path: '/BasicsData/warningSet',
- // name: 'warningSet',
- // component: { render(c) { return c('router-view') } },
- // redirect: '/BasicsData/warningSet',
- // meta: { title: '报警预警设置' },
- // hidden: true,
- // src: require('@/assets/nav/ic_setting_top_default.png'),
- // srcer: require('@/assets/nav/ic_setting_top_check.png'),
- // children: [{
- // path: '/BasicsData/warningSet',
- // component: () => import('@/views/BasicsData/views/warningSet/warningSet'),
- // },
- // {
- // path: '/BasicsData/warningEdit',
- // name: 'warningEdit',
- // component: () => import('@/views/BasicsData/views/warningSet/warningEdit'),
- // meta: { title: '报警预警设置' },
- // hidden: false,
- // isAlone: true,
- // src: require('@/assets/nav/ic_setting_top@2x.png')
- // },
- // ]
- // },
- {
- path: '/BasicsData/BaggageType',
- name: 'BaggageType',
- component: () => import('@/views/BasicsData/views/BaggageType/BaggageType'),
- meta: { title: '特殊行李维护', keepAlive: false },
- hidden: true,
- src: require('@/assets/nav/ic_data_top_default @2x.png'),
- srcer: require('@/assets/nav/ic_data_top_check@2x.png')
- },
- // {
- // path: '/BasicsData/airportChild',
- // name: 'airportChild',
- // component: () => import('@/views/systemSettings/views/airport/airportChild'),
- // meta: { title: '航站设置' },
- // hidden: false,
- // isAlone: true,
- // src: require('@/assets/nav/ic_setting_top@2x.png')
- // }
- ]
- }
- ]
- }
- const departureRoutesC = {
- path: '/departureC',
- name: 'departureCParent',
- component: Layout,
- meta: { roles: ['departure_menu_tmp'] },
- children: [
- {
- path: '/departureC',
- component: () => import('@/views/baggageManagement'),
- meta: {
- title: '离港管理',
- imgstyle: 'ic_list_nav_leave_default.png',
- imgstyleup: 'ic_list_nav_leave_check.png'
- },
- children: [
- {
- path: '/departureC',
- name: 'DepartureParent',
- component: () => import('@/views/baggageManagement'),
- meta: {
- title: '离港视图',
- // title: "行李视图",
- roles: ['departure_page'],
- keepAlive: true
- },
- children: [
- {
- path: '/departureC',
- name: 'departureC',
- component: () => import('@/views/baggageManagement/components/departureC'),
- meta: { keepAlive: true }
- },
- {
- path: '/departureC/flightView',
- name: 'DepartureTwo',
- component: () => import('@/views/baggageManagement'),
- meta: { title: '航班视图', keepAlive: true },
- children: [
- {
- path: '/departureC/flightView',
- name: 'departureCFlightView',
- component: () => import('@/views/baggageManagement/components/departureC/flight'),
- meta: { keepAlive: true }
- },
- {
- path: '/departureC/baggageView',
- name: 'departureCBaggageView',
- component: () => import('@/views/baggageManagement/components/departureC/baggage'),
- meta: { title: '行李视图', keepAlive: true }
- }
- ]
- }
- ]
- }
- ]
- }
- ]
- }
- export default [
- departureRoutesC,
- BasicsDataRoutes
- ]
|