112 lines
3.3 KiB
JavaScript
112 lines
3.3 KiB
JavaScript
import Layout from '@/layouts/index.vue';
|
|
import Views from '@/layouts/Views.vue';
|
|
|
|
export default [
|
|
{
|
|
path: '/plantingAndBreeding',
|
|
name: 'plantingAndBreeding',
|
|
component: Layout,
|
|
redirect: '/breeding',
|
|
meta: { title: '种养殖管理', icon: 'Document' },
|
|
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: '/breeding-coding',
|
|
children: [
|
|
{
|
|
path: '/breeding-coding',
|
|
component: () => import('@/views/trace/breeding/coding/index.vue'),
|
|
name: 'breeding-coding',
|
|
meta: { title: '采收与赋码管理', icon: 'Document' },
|
|
},
|
|
{
|
|
path: '/breeding-quality',
|
|
component: () => import('@/views/trace/breeding/quality/index.vue'),
|
|
name: 'breeding-quality',
|
|
meta: { title: '产品质检管理', icon: 'Document' },
|
|
},
|
|
],
|
|
},
|
|
],
|
|
},
|
|
{
|
|
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,
|
|
},
|
|
],
|
|
},
|
|
{
|
|
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' },
|
|
},
|
|
],
|
|
},
|
|
];
|