2025-07-01 13:46:03 +08:00

216 lines
9.0 KiB
JavaScript

import Layout from '@/layouts/index.vue';
import Views from '@/layouts/Views.vue';
export default [
{
path: '/sub-government-affairs-service/trace',
name: 'trace',
component: Layout,
redirect: '/sub-government-affairs-service/trace-home',
meta: { title: '农产品流通溯源管理', icon: 'Connection' },
children: [
{
path: '/sub-government-affairs-service/trace/production-subjects',
name: 'production-subjects',
component: Views,
redirect: '/sub-government-affairs-service/trace/production-subjects/enterprise',
meta: { title: '生产经营主体档案', icon: 'User' },
children: [
{
path: '/sub-government-affairs-service/trace/production-subjects/enterprise',
component: () => import('@/views/trace/production-subjects/enterprise/index.vue'),
name: 'trace-enterprise',
meta: { title: '企业档案', icon: 'Finished' },
},
{
path: '/sub-government-affairs-service/trace/production-subjects/farmer',
component: () => import('@/views/trace/production-subjects/farmer/index.vue'),
name: 'trace-farmer',
meta: { title: '农户档案', icon: 'Place' },
},
],
},
{
path: '/sub-government-affairs-service/trace/input-products',
name: 'input-products',
component: Views,
redirect: '/sub-government-affairs-service/trace/input-products/fertilizer-basic',
meta: { title: '投入品档案', icon: 'Tickets' },
children: [
{
path: '/sub-government-affairs-service/trace/input-products/fertilizer-basic',
component: () => import('@/views/trace/input-products/fertilizer/basic/index.vue'),
name: 'fertilizer-basic',
meta: { title: '化肥基本信息档案', icon: '' },
},
{
path: '/sub-government-affairs-service/trace/input-products/fertilizer-use',
component: () => import('@/views/trace/input-products/fertilizer/use/index.vue'),
name: 'fertilizer-use',
meta: { title: '化肥使用档案', icon: '' },
},
{
path: '/sub-government-affairs-service/trace/input-products/pesticide-basic',
component: () => import('@/views/trace/input-products/pesticide/basic/index.vue'),
name: 'pesticide-basic',
meta: { title: '农药基本信息档案', icon: '' },
},
{
path: '/sub-government-affairs-service/trace/input-products/pesticide-use',
component: () => import('@/views/trace/input-products/pesticide/use/index.vue'),
name: 'pesticide-use',
meta: { title: '农药使用档案', icon: '' },
},
],
},
{
path: '/sub-government-affairs-service/trace/planting',
name: 'planting',
component: Views,
redirect: '/sub-government-affairs-service/trace/planting/base',
meta: { title: '农产品种植档案', icon: 'SetUp' },
children: [
{
path: '/sub-government-affairs-service/trace/planting/base',
component: () => import('@/views/trace/planting/base/index.vue'),
name: 'planting-base',
meta: { title: '种植基地档案', icon: '' },
},
{
path: '/sub-government-affairs-service/trace/planting/batch',
component: () => import('@/views/trace/planting/batch/index.vue'),
name: 'planting-batch',
meta: { title: '种植批次档案', icon: '' },
},
{
path: '/sub-government-affairs-service/trace/planting/seedling-basic',
component: () => import('@/views/trace/planting/seedling/basic/index.vue'),
name: 'seedling-basic',
meta: { title: '种子种苗基本信息档案', icon: '' },
},
{
path: '/sub-government-affairs-service/trace/planting/seedling-use',
component: () => import('@/views/trace/planting/seedling/use/index.vue'),
name: 'seedling-use',
meta: { title: '种子种苗使用档案', icon: '' },
},
{
path: '/sub-government-affairs-service/trace/planting/farming-ops',
component: () => import('@/views/trace/planting/farming-ops/index.vue'),
name: 'farming-ops',
meta: { title: '农事作业管理', icon: '' },
},
],
},
{
path: '/sub-government-affairs-service/trace/products',
name: 'products',
component: Views,
redirect: '/sub-government-affairs-service/trace/products/harvest-batch',
meta: { title: '农产品档案', icon: 'Document' },
children: [
{
path: '/sub-government-affairs-service/trace/products/harvest-batch',
component: () => import('@/views/trace/products/harvest-batch/index.vue'),
name: 'harvest-batch',
meta: { title: '采收批次管理', icon: '' },
},
{
path: '/sub-government-affairs-service/trace/products/material-inspection',
component: () => import('@/views/trace/products/inspection/index.vue'),
name: 'material-inspection',
meta: { title: '原材料质检管理', icon: '' },
},
{
path: '/sub-government-affairs-service/trace/products/packaging',
component: () => import('@/views/trace/products/packaging/index.vue'),
name: 'packaging',
meta: { title: '包装赋码管理', icon: '' },
},
{
path: '/sub-government-affairs-service/trace/products/trace-enterprise',
component: () => import('@/views/trace/products/enterprise/index.vue'),
name: 'trace-enterprise-info',
meta: { title: '溯源企业管理', icon: '' },
},
{
path: '/sub-government-affairs-service/trace/products/trace-product',
component: () => import('@/views/trace/products/product/index.vue'),
name: 'trace-product-info',
meta: { title: '溯源产品管理', icon: '' },
},
],
},
// {
// path: '/sub-government-affairs-service/record',
// name: 'record',
// component: Views,
// meta: { title: '种植档案', icon: 'Tickets' },
// redirect: '/sub-government-affairs-service/record-base',
// children: [
// {
// path: '/sub-government-affairs-service/record-base',
// component: () => import('@/views/trace/record/base/index.vue'),
// name: 'record-base',
// meta: { title: '基地档案', icon: '' },
// },
// {
// path: '/sub-government-affairs-service/record-seed',
// component: () => import('@/views/trace/record/seed/index.vue'),
// name: 'record-seed',
// meta: { title: '种子档案', icon: '' },
// },
// ],
// },
// {
// path: '/sub-government-affairs-service/agricultural',
// name: 'agricultural',
// component: Views,
// meta: { title: '农事管理', icon: 'SetUp' },
// redirect: '/sub-government-affairs-service/agricultural-coding',
// children: [
// {
// path: '/sub-government-affairs-service/agricultural-coding',
// component: () => import('@/views/trace/agricultural/coding/index.vue'),
// name: 'agricultural-coding',
// meta: { title: '采收与赋码管理', icon: '' },
// },
// {
// path: '/sub-government-affairs-service/agricultural-quality',
// component: () => import('@/views/trace/agricultural/quality/index.vue'),
// name: 'agricultural-quality',
// meta: { title: '产品质检管理', icon: '' },
// },
// ],
// },
{
path: '/sub-government-affairs-service/trace',
name: 'trace-management',
meta: { title: '溯源管理', icon: 'Connection' },
redirect: '/sub-government-affairs-service/trace-search',
children: [
{
path: '/sub-government-affairs-service/trace-search',
name: 'trace-search',
component: () => import('@/views/trace/search/index.vue'),
meta: { title: '溯源查询', icon: 'Files' },
},
{
path: '/sub-government-affairs-service/trace-statistic',
name: 'trace-statistic',
component: () => import('@/views/trace/statistic/index.vue'),
meta: { title: '溯源统计', icon: 'Filter' },
},
],
},
{
path: '/sub-government-affairs-service/trace-info',
name: 'trace-info',
component: () => import('@/views/trace/search/info.vue'),
meta: { title: '溯源详情', icon: 'DocumentCopy' },
hidden: true,
},
],
},
];