2025-02-10 05:54:41 +00:00

57 lines
1.7 KiB
JavaScript

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' },
redirect: '/planting-base',
children: [
{
path: '/planting-base',
component: () => import('@/views/trace/planting/base/index.vue'),
name: 'planting-base',
meta: { title: '基地档案', icon: 'Document' },
},
{
path: '/planting-seed',
component: () => import('@/views/trace/planting/seed/index.vue'),
name: 'planting-seed',
meta: { title: '种子档案', icon: 'Document' },
},
],
},
{
path: '/breeding',
name: 'breeding',
component: Views,
meta: { title: '农事管理', icon: 'Document' },
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' },
},
],
},
],
},
];