51 lines
1.4 KiB
JavaScript
51 lines
1.4 KiB
JavaScript
import { RouterView } from 'vue-router';
|
|
|
|
export default {
|
|
path: '/invoiceOut',
|
|
name: 'InvoiceOut',
|
|
meta: {
|
|
title: 'invoiceOuts',
|
|
icon: 'vn:invoice-out'
|
|
},
|
|
component: RouterView,
|
|
redirect: { name: 'InvoiceOutMain' },
|
|
menus: {
|
|
main: ['InvoiceOutList']
|
|
},
|
|
children: [
|
|
{
|
|
path: '',
|
|
name: 'InvoiceOutMain',
|
|
component: () => import('src/pages/InvoiceOut/InvoiceOutMain.vue'),
|
|
redirect: { name: 'InvoiceOutList' },
|
|
children: [
|
|
{
|
|
path: 'list',
|
|
name: 'InvoiceOutList',
|
|
meta: {
|
|
title: 'list',
|
|
icon: 'view_list',
|
|
},
|
|
component: () => import('src/pages/InvoiceOut/InvoiceOutList.vue'),
|
|
}
|
|
]
|
|
},
|
|
{
|
|
name: 'InvoiceOutCard',
|
|
path: ':id',
|
|
component: () => import('src/pages/InvoiceOut/Card/InvoiceOutCard.vue'),
|
|
redirect: { name: 'InvoiceOutSummary' },
|
|
children: [
|
|
{
|
|
name: 'InvoiceOutSummary',
|
|
path: 'summary',
|
|
meta: {
|
|
title: 'summary'
|
|
},
|
|
component: () => import('src/pages/InvoiceOut/Card/InvoiceOutSummary.vue'),
|
|
}
|
|
]
|
|
},
|
|
]
|
|
};
|