57 lines
1.7 KiB
JavaScript
Raw Normal View History

2025-01-23 09:27:53 +00:00
import Layout from '@/layouts/index.vue';
import Views from '@/layouts/Views.vue';
export default [
{
path: '/plantingAndBreeding',
name: 'plantingAndBreeding',
component: Layout,
redirect: '/planting',
meta: { title: '种养殖管理', icon: 'icon-test' },
children: [
{
path: '/planting',
name: 'planting',
component: Views,
meta: { title: '种植档案', icon: 'Document' },
2025-02-10 05:54:41 +00:00
redirect: '/planting-base',
2025-01-23 09:27:53 +00:00
children: [
{
2025-02-10 05:54:41 +00:00
path: '/planting-base',
component: () => import('@/views/trace/planting/base/index.vue'),
name: 'planting-base',
2025-01-23 09:27:53 +00:00
meta: { title: '基地档案', icon: 'Document' },
},
{
2025-01-25 02:44:29 +00:00
path: '/planting-seed',
2025-02-10 05:54:41 +00:00
component: () => import('@/views/trace/planting/seed/index.vue'),
2025-01-25 02:44:29 +00:00
name: 'planting-seed',
2025-01-23 09:27:53 +00:00
meta: { title: '种子档案', icon: 'Document' },
},
],
},
{
path: '/breeding',
name: 'breeding',
component: Views,
meta: { title: '农事管理', icon: 'Document' },
2025-02-10 05:54:41 +00:00
redirect: '/coding',
children: [
{
path: '/coding',
component: () => import('@/views/trace/breeding/coding/index.vue'),
name: 'coding',
meta: { title: '采收与赋码管理', icon: 'Document' },
},
{
path: '/quality',
component: () => import('@/views/trace/breeding/quality/index.vue'),
name: 'quality',
meta: { title: '产品质检管理', icon: 'Document' },
},
],
2025-01-23 09:27:53 +00:00
},
],
},
];