2023-11-10 14:05:15 +08:00
|
|
|
const shipmentRoutes = [
|
|
|
|
{
|
|
|
|
path: '',
|
|
|
|
name: 'shipment-listing',
|
2024-06-29 21:19:21 +08:00
|
|
|
component: () => import('@/views/shipment/ShipmentListing.vue'),
|
2023-11-10 14:05:15 +08:00
|
|
|
meta: {
|
|
|
|
requiresAuth: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: ':shipmentUid',
|
|
|
|
name: 'shipment-single',
|
2024-06-29 21:19:21 +08:00
|
|
|
component: () => import('@/views/shipment/_id/Shipment.vue'),
|
2023-11-10 14:05:15 +08:00
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: '',
|
|
|
|
name: 'shipment-detail',
|
2024-06-29 21:19:21 +08:00
|
|
|
component: () => import('@/views/shipment/_id/ShipmentDetail.vue'),
|
2023-11-10 14:05:15 +08:00
|
|
|
meta: {
|
|
|
|
requiresAuth: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
meta: {
|
|
|
|
requiresAuth: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
];
|
|
|
|
|
|
|
|
export default shipmentRoutes;
|