123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375 |
- import Layout from '@/layout'
- import { h, resolveComponent } from 'vue'
- const ActualTimeRoutes = {
- path: '/realTime',
- component: Layout,
- name: 'realTime',
- redirect: '/realTime/departure',
- //using el svg icon, the elSvgIcon first when at the same time using elSvgIcon and icon
- meta: { title: '综合可视化', elSvgIcon: 'Fold', breadcrumb: false },
- children: [
- {
- path: '/realTime/departure',
- name: 'Departure',
- redirect: '/realTime/departure/station',
- meta: {
- title: '国内出港',
- elSvgIcon: 'Fold',
- icon: 'table',
- },
- component: {
- render: () => h(resolveComponent('router-view')),
- },
- children: [
- {
- path: '/realTime/departure/station',
- name: 'DepartureStation',
- meta: {
- title: '国内出港航站视图',
- elSvgIcon: 'Fold',
- icon: 'table',
- breadcrumb: false,
- },
- component: {
- render: () => h(resolveComponent('router-view')),
- },
- children: [
- {
- path: '/realTime/departure/station',
- name: 'DepartureStationView',
- component: () =>
- import('@/views/realTime/departure/station/index.vue'),
- },
- {
- path: '/realTime/departure/flight',
- name: 'DepartureFlight',
- meta: {
- title: '国内出港航班视图',
- elSvgIcon: 'Fold',
- icon: 'table',
- },
- component: {
- render: () => h(resolveComponent('router-view')),
- },
- children: [
- {
- path: '/realTime/departure/flight',
- name: 'DepartureFlightView',
- component: () =>
- import('@/views/realTime/departure/flight/index.vue'),
- },
- {
- path: '/realTime/departure/waybill',
- name: 'DepartureWaybill',
- meta: {
- title: '国内出港运单视图',
- elSvgIcon: 'Fold',
- icon: 'table',
- },
- component: {
- render: () => h(resolveComponent('router-view')),
- },
- children: [
- {
- path: '/realTime/departure/waybill',
- name: 'DepartureWaybillView',
- component: () =>
- import(
- '@/views/realTime/departure/waybill/index.vue'
- ),
- },
- {
- path: '/realTime/departure/goods',
- name: 'DepartureGoods',
- meta: {
- title: '国内出港货物视图',
- elSvgIcon: 'Fold',
- icon: 'table',
- },
- component: () =>
- import('@/views/realTime/departure/goods/index.vue'),
- },
- ],
- },
- ],
- },
- ],
- },
- ],
- },
- {
- path: '/realTime/internationalDeparture',
- name: 'InternationalDeparture',
- redirect: '/realTime/internationalDeparture/station',
- meta: {
- title: '国际出港',
- elSvgIcon: 'Fold',
- icon: 'table',
- breadcrumb: false,
- },
- component: {
- render: () => h(resolveComponent('router-view')),
- },
- children: [
- {
- path: '/realTime/internationalDeparture/station',
- name: 'InternationalDepartureStation',
- meta: { title: '国际出港航站视图', elSvgIcon: 'Fold', icon: 'table' },
- component: {
- render: () => h(resolveComponent('router-view')),
- },
- children: [
- {
- path: '/realTime/internationalDeparture/station',
- name: 'InternationalDepartureStationView',
- component: () =>
- import(
- '@/views/realTime/internationalDeparture/station/index.vue'
- ),
- },
- {
- path: '/realTime/internationalDeparture/flight',
- name: 'InternationalDepartureFlight',
- meta: {
- title: '国际出港航班视图',
- elSvgIcon: 'Fold',
- icon: 'table',
- },
- component: {
- render: () => h(resolveComponent('router-view')),
- },
- children: [
- {
- path: '/realTime/internationalDeparture/flight',
- name: 'InternationalDepartureFlightView',
- component: () =>
- import(
- '@/views/realTime/internationalDeparture/flight/index.vue'
- ),
- },
- {
- path: '/realTime/internationalDeparture/waybill',
- name: 'InternationalDepartureWaybill',
- meta: {
- title: '国际出港运单视图',
- elSvgIcon: 'Fold',
- icon: 'table',
- },
- component: {
- render: () => h(resolveComponent('router-view')),
- },
- children: [
- {
- path: '/realTime/internationalDeparture/waybill',
- name: 'InternationalDepartureWaybillView',
- component: () =>
- import(
- '@/views/realTime/internationalDeparture/waybill/index.vue'
- ),
- },
- {
- path: '/realTime/internationalDeparture/goods',
- name: 'InternationalDepartureGoods',
- meta: {
- title: '国际出港货物视图',
- elSvgIcon: 'Fold',
- icon: 'table',
- },
- component: () =>
- import(
- '@/views/realTime/internationalDeparture/goods/index.vue'
- ),
- },
- ],
- },
- ],
- },
- ],
- },
- ],
- },
- {
- path: '/realTime/arrival',
- name: 'Arrival',
- redirect: '/realTime/arrival/station',
- meta: {
- title: '国内进港',
- elSvgIcon: 'Fold',
- icon: 'table',
- breadcrumb: false,
- },
- component: {
- render: () => h(resolveComponent('router-view')),
- },
- children: [
- {
- path: '/realTime/arrival/station',
- name: 'ArrivalStation',
- meta: { title: '国内进港航站视图', elSvgIcon: 'Fold', icon: 'table' },
- component: {
- render: () => h(resolveComponent('router-view')),
- },
- children: [
- {
- path: '/realTime/arrival/station',
- name: 'ArrivalStationView',
- component: () =>
- import('@/views/realTime/arrival/station/index.vue'),
- },
- {
- path: '/realTime/arrival/flight',
- name: 'ArrivalFlight',
- meta: {
- title: '国内进港航班视图',
- elSvgIcon: 'Fold',
- icon: 'table',
- },
- component: {
- render: () => h(resolveComponent('router-view')),
- },
- children: [
- {
- path: '/realTime/arrival/flight',
- name: 'ArrivalFlightView',
- component: () =>
- import('@/views/realTime/arrival/flight/index.vue'),
- },
- {
- path: '/realTime/arrival/waybill',
- name: 'ArrivalWaybill',
- meta: {
- title: '国内进港运单视图',
- elSvgIcon: 'Fold',
- icon: 'table',
- },
- component: {
- render: () => h(resolveComponent('router-view')),
- },
- children: [
- {
- path: '/realTime/arrival/waybill',
- name: 'ArrivalWaybillView',
- component: () =>
- import('@/views/realTime/arrival/waybill/index.vue'),
- },
- {
- path: '/realTime/arrival/goods',
- name: 'ArrivalGoods',
- meta: {
- title: '国内进港货物视图',
- elSvgIcon: 'Fold',
- icon: 'table',
- },
- component: () =>
- import('@/views/realTime/arrival/goods/index.vue'),
- },
- ],
- },
- ],
- },
- ],
- },
- ],
- },
- {
- path: '/realTime/internationalArrival',
- name: 'InternationalArrival',
- redirect: '/realTime/internationalArrival/station',
- meta: {
- title: '国内进港',
- elSvgIcon: 'Fold',
- icon: 'table',
- breadcrumb: false,
- },
- component: {
- render: () => h(resolveComponent('router-view')),
- },
- children: [
- {
- path: '/realTime/internationalArrival/station',
- name: 'InternationalArrivalStation',
- meta: { title: '国内进港航站视图', elSvgIcon: 'Fold', icon: 'table' },
- component: {
- render: () => h(resolveComponent('router-view')),
- },
- children: [
- {
- path: '/realTime/internationalArrival/station',
- name: 'InternationalArrivalStationView',
- component: () =>
- import(
- '@/views/realTime/internationalArrival/station/index.vue'
- ),
- },
- {
- path: '/realTime/internationalArrival/flight',
- name: 'InternationalArrivalFlight',
- meta: {
- title: '国内进港航班视图',
- elSvgIcon: 'Fold',
- icon: 'table',
- },
- component: {
- render: () => h(resolveComponent('router-view')),
- },
- children: [
- {
- path: '/realTime/internationalArrival/flight',
- name: 'InternationalArrivalFlightView',
- component: () =>
- import(
- '@/views/realTime/internationalArrival/flight/index.vue'
- ),
- },
- {
- path: '/realTime/internationalArrival/waybill',
- name: 'InternationalArrivalWaybill',
- meta: {
- title: '国内进港运单视图',
- elSvgIcon: 'Fold',
- icon: 'table',
- },
- component: {
- render: () => h(resolveComponent('router-view')),
- },
- children: [
- {
- path: '/realTime/internationalArrival/waybill',
- name: 'InternationalArrivalWaybillView',
- component: () =>
- import(
- '@/views/realTime/internationalArrival/waybill/index.vue'
- ),
- },
- {
- path: '/realTime/internationalArrival/goods',
- name: 'InternationalArrivalGoods',
- meta: {
- title: '国内进港货物视图',
- elSvgIcon: 'Fold',
- icon: 'table',
- },
- component: () =>
- import(
- '@/views/realTime/internationalArrival/goods/index.vue'
- ),
- },
- ],
- },
- ],
- },
- ],
- },
- ],
- },
- {
- path: '/realTime/trackMap',
- name: 'TrackMap',
- meta: { title: '轨迹地图', elSvgIcon: 'Fold', icon: 'table' },
- component: () => import('@/views/realTime/trackMap/index.vue'),
- },
- ],
- }
- export default [ActualTimeRoutes]
|