74 lines
2.3 KiB
JavaScript
74 lines
2.3 KiB
JavaScript
import { RouterView } from 'vue-router';
|
|
|
|
export default {
|
|
path: '/parking',
|
|
name: 'Parking',
|
|
meta: {
|
|
title: 'parking',
|
|
icon: 'garage_home',
|
|
},
|
|
component: RouterView,
|
|
redirect: { name: 'ParkingMain' },
|
|
menus: {
|
|
main: ['ParkingList'],
|
|
card: ['ParkingBasicData', 'ParkingLog'],
|
|
},
|
|
children: [
|
|
{
|
|
path: '',
|
|
name: 'ParkingMain',
|
|
component: () => import('src/pages/Shelving/Parking/ParkingMain.vue'),
|
|
redirect: { name: 'ParkingList' },
|
|
children: [
|
|
{
|
|
path: 'list',
|
|
name: 'ParkingList',
|
|
meta: {
|
|
title: 'parkingList',
|
|
icon: 'view_list',
|
|
},
|
|
component: () => import('src/pages/Shelving/Parking/ParkingList.vue'),
|
|
},
|
|
],
|
|
},
|
|
{
|
|
path: ':id',
|
|
name: 'ParkingCard',
|
|
component: () => import('src/pages/Shelving/Parking/Card/ParkingCard.vue'),
|
|
redirect: { name: 'ParkingSummary' },
|
|
children: [
|
|
{
|
|
name: 'ParkingSummary',
|
|
path: 'summary',
|
|
meta: {
|
|
title: 'summary',
|
|
icon: 'view_list',
|
|
},
|
|
component: () =>
|
|
import('src/pages/Shelving/Parking/Card/ParkingSummary.vue'),
|
|
},
|
|
{
|
|
name: 'ParkingBasicData',
|
|
path: 'basic-data',
|
|
meta: {
|
|
title: 'basicData',
|
|
icon: 'vn:settings',
|
|
},
|
|
component: () =>
|
|
import('pages/Shelving/Parking/Card/ParkingBasicData.vue'),
|
|
},
|
|
{
|
|
name: 'ParkingLog',
|
|
path: 'log',
|
|
meta: {
|
|
title: 'log',
|
|
icon: 'history',
|
|
},
|
|
component: () =>
|
|
import('src/pages/Shelving/Parking/Card/ParkingLog.vue'),
|
|
},
|
|
],
|
|
},
|
|
],
|
|
};
|