农产品溯源路由框架

This commit is contained in:
沈鸿 2025-06-30 11:22:50 +08:00
parent d60a94d3d4
commit 8ec3db15c5
21 changed files with 285 additions and 0 deletions

View File

@ -9,6 +9,138 @@ export default [
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',

View File

@ -0,0 +1,9 @@
<template>
<div></div>
</template>
<script setup>
import { ref, watch, onMounted, computed } from 'vue';
</script>
<style scoped lang="scss"></style>

View File

@ -0,0 +1,9 @@
<template>
<div></div>
</template>
<script setup>
import { ref, watch, onMounted, computed } from 'vue';
</script>
<style scoped lang="scss"></style>

View File

@ -0,0 +1,9 @@
<template>
<div></div>
</template>
<script setup>
import { ref, watch, onMounted, computed } from 'vue';
</script>
<style scoped lang="scss"></style>

View File

@ -0,0 +1,9 @@
<template>
<div></div>
</template>
<script setup>
import { ref, watch, onMounted, computed } from 'vue';
</script>
<style scoped lang="scss"></style>

View File

@ -0,0 +1,9 @@
<template>
<div></div>
</template>
<script setup>
import { ref, watch, onMounted, computed } from 'vue';
</script>
<style scoped lang="scss"></style>

View File

@ -0,0 +1,9 @@
<template>
<div></div>
</template>
<script setup>
import { ref, watch, onMounted, computed } from 'vue';
</script>
<style scoped lang="scss"></style>

View File

@ -0,0 +1,9 @@
<template>
<div></div>
</template>
<script setup>
import { ref, watch, onMounted, computed } from 'vue';
</script>
<style scoped lang="scss"></style>

View File

@ -0,0 +1,9 @@
<template>
<div></div>
</template>
<script setup>
import { ref, watch, onMounted, computed } from 'vue';
</script>
<style scoped lang="scss"></style>

View File

@ -0,0 +1,9 @@
<template>
<div></div>
</template>
<script setup>
import { ref, watch, onMounted, computed } from 'vue';
</script>
<style scoped lang="scss"></style>

View File

@ -0,0 +1,9 @@
<template>
<div></div>
</template>
<script setup>
import { ref, watch, onMounted, computed } from 'vue';
</script>
<style scoped lang="scss"></style>

View File

@ -0,0 +1,9 @@
<template>
<div></div>
</template>
<script setup>
import { ref, watch, onMounted, computed } from 'vue';
</script>
<style scoped lang="scss"></style>

View File

@ -0,0 +1,9 @@
<template>
<div></div>
</template>
<script setup>
import { ref, watch, onMounted, computed } from 'vue';
</script>
<style scoped lang="scss"></style>

View File

@ -0,0 +1,9 @@
<template>
<div></div>
</template>
<script setup>
import { ref, watch, onMounted, computed } from 'vue';
</script>
<style scoped lang="scss"></style>

View File

@ -0,0 +1,9 @@
<template>
<div></div>
</template>
<script setup>
import { ref, watch, onMounted, computed } from 'vue';
</script>
<style scoped lang="scss"></style>

View File

@ -0,0 +1,9 @@
<template>
<div></div>
</template>
<script setup>
import { ref, watch, onMounted, computed } from 'vue';
</script>
<style scoped lang="scss"></style>

View File

@ -0,0 +1,9 @@
<template>
<div></div>
</template>
<script setup>
import { ref, watch, onMounted, computed } from 'vue';
</script>
<style scoped lang="scss"></style>

View File

@ -0,0 +1,9 @@
<template>
<div></div>
</template>
<script setup>
import { ref, watch, onMounted, computed } from 'vue';
</script>
<style scoped lang="scss"></style>