2023-11-10 14:05:15 +08:00
|
|
|
const sampleRoutes = [
|
|
|
|
{
|
|
|
|
path: '',
|
|
|
|
name: 'samples-listing',
|
2024-06-29 21:19:21 +08:00
|
|
|
component: () => import('@/views/sample/SamplesListing.vue'),
|
2023-11-10 14:05:15 +08:00
|
|
|
meta: {
|
|
|
|
requiresAuth: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: 'rejections',
|
|
|
|
name: 'reject-samples',
|
2024-06-29 21:19:21 +08:00
|
|
|
component: () => import('@/views/sample/RejectSamples.vue'),
|
2023-11-10 14:05:15 +08:00
|
|
|
props: true,
|
|
|
|
meta: {
|
|
|
|
requiresAuth: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: 'add-to-storage',
|
|
|
|
name: 'store-samples',
|
2024-06-29 21:19:21 +08:00
|
|
|
component: () => import('@/views/sample/StoreSamples.vue'),
|
2023-11-10 14:05:15 +08:00
|
|
|
props: true,
|
|
|
|
meta: {
|
|
|
|
requiresAuth: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
];
|
|
|
|
|
|
|
|
export default sampleRoutes;
|