112 lines
3.3 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,
2025-02-17 06:43:55 +00:00
redirect: '/breeding',
2025-02-14 01:48:22 +00:00
meta: { title: '种养殖管理', icon: 'Document' },
2025-01-23 09:27:53 +00:00
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-14 01:48:22 +00:00
redirect: '/breeding-coding',
2025-02-10 05:54:41 +00:00
children: [
{
2025-02-14 01:48:22 +00:00
path: '/breeding-coding',
2025-02-10 05:54:41 +00:00
component: () => import('@/views/trace/breeding/coding/index.vue'),
2025-02-14 01:48:22 +00:00
name: 'breeding-coding',
2025-02-10 05:54:41 +00:00
meta: { title: '采收与赋码管理', icon: 'Document' },
},
{
2025-02-14 01:48:22 +00:00
path: '/breeding-quality',
2025-02-10 05:54:41 +00:00
component: () => import('@/views/trace/breeding/quality/index.vue'),
2025-02-14 01:48:22 +00:00
name: 'breeding-quality',
2025-02-10 05:54:41 +00:00
meta: { title: '产品质检管理', icon: 'Document' },
},
],
2025-01-23 09:27:53 +00:00
},
],
},
2025-02-14 01:48:22 +00:00
{
path: '/trace',
name: 'trace',
component: Layout,
redirect: '/trace-search',
meta: { title: '溯源查询', icon: 'Document' },
children: [
{
path: '/trace-search',
name: 'trace-search',
component: () => import('@/views/trace/search/index.vue'),
meta: { title: '溯源查询', icon: 'Document' },
},
{
path: '/trace-info',
name: 'trace-info',
component: () => import('@/views/trace/search/info.vue'),
meta: { title: '溯源详情', icon: 'Document' },
hidden: true,
},
],
},
2025-02-25 17:30:50 +08:00
{
path: '/landManage',
name: 'landManage',
component: Layout,
redirect: '/plantPlan',
meta: { title: '土地管理', icon: 'Document' },
children: [
{
path: '/plantPlan',
name: 'plantPlan',
component: () => import('@/views/landManage/component/plantPlan/index.vue'),
meta: { title: '种植规划', icon: 'Document' },
},
{
path: '/landPartol',
name: 'landPartol',
component: () => import('@/views/landManage/component/landPartol/index.vue'),
meta: { title: '土地巡查', icon: 'Document' },
},
{
path: '/illegalHandle',
name: 'illegalHandle',
component: () => import('@/views/landManage/component/illegalHandle/index.vue'),
meta: { title: '土地违法处理', icon: 'Document' },
},
{
path: '/operationRecord',
name: 'operationRecord',
component: () => import('@/views/landManage/component/operationRecord/index.vue'),
meta: { title: '作业记录', icon: 'Document' },
},
],
},
2025-01-23 09:27:53 +00:00
];