feat:投入品管理-生产经销商管理模块子模块页面路由搭建

This commit is contained in:
李想 2025-03-12 13:36:21 +08:00
parent b3558d0997
commit 151f1e0221
7 changed files with 140 additions and 7 deletions

View File

@ -54,12 +54,45 @@ const inputSuppliesRoutes = [
},
],
},
// {
// path: '/sub-government-affairs-service/productionDealer',
// name: 'productionDealer',
// component: () => import('@/views/inputSuppliesManage/productionDealer/index.vue'),
// meta: { title: '生产经销商管理', icon: 'Document' },
// },
{
path: '/sub-government-affairs-service/productionDealer',
name: 'productionDealer',
component: Views,
meta: { title: '生产经销商管理', icon: 'Document' },
redirect: '/sub-government-affairs-service/productionDealer/pesticideDealer',
children: [
{
path: '/sub-government-affairs-service/productionDealer/pesticideDealer',
name: 'input-supplies-pesticide-dealer',
component: () => import('@/views/inputSuppliesManage/productionDealer/pesticideDealer/index.vue'),
meta: { title: '农药经销商管理', icon: 'Document' },
},
{
path: '/sub-government-affairs-service/productionDealer/fertilizerDealer',
name: 'input-supplies-fertilizer-dealer',
component: () => import('@/views/inputSuppliesManage/productionDealer/fertilizerDealer/index.vue'),
meta: { title: '肥料经销商管理', icon: 'Document' },
},
{
path: '/sub-government-affairs-service/productionDealer/ratPoisonDealer',
name: 'input-supplies-ratPoison-dealer',
component: () => import('@/views/inputSuppliesManage/productionDealer/ratPoisonDealer/index.vue'),
meta: { title: '兽药经销商管理', icon: 'Document' },
},
{
path: '/sub-government-affairs-service/productionDealer/farmMachineryDealer',
name: 'input-supplies-farmMachinery-dealer',
component: () => import('@/views/inputSuppliesManage/productionDealer/farmMachineryDealer/index.vue'),
meta: { title: '农机经销商管理', icon: 'Document' },
},
{
path: '/sub-government-affairs-service/productionDealer/seedDealer',
name: 'input-supplies-seed-dealer',
component: () => import('@/views/inputSuppliesManage/productionDealer/seedDealer/index.vue'),
meta: { title: '种源经销商管理', icon: 'Document' },
},
],
},
// {
// path: '/sub-government-affairs-service/enterpriseDealer',
// name: 'enterpriseDealer',

View File

@ -1,5 +1,5 @@
<template>
<CustomCard> 基础信息 </CustomCard>
<CustomCard> 物资信息 </CustomCard>
</template>
<script setup>

View File

@ -0,0 +1,20 @@
<template>
<CustomCard> 农机生产经销商 </CustomCard>
</template>
<script setup>
import { ref } from 'vue';
import CustomCard from '@/components/CustomCard.vue';
/* --------------- data --------------- */
// #region
// #endregion
/* --------------- methods --------------- */
// #region
// #endregion
</script>
<style lang="scss" scoped></style>

View File

@ -0,0 +1,20 @@
<template>
<CustomCard> 肥料生产经销商 </CustomCard>
</template>
<script setup>
import { ref } from 'vue';
import CustomCard from '@/components/CustomCard.vue';
/* --------------- data --------------- */
// #region
// #endregion
/* --------------- methods --------------- */
// #region
// #endregion
</script>
<style lang="scss" scoped></style>

View File

@ -0,0 +1,20 @@
<template>
<CustomCard> 农药生产经销商 </CustomCard>
</template>
<script setup>
import { ref } from 'vue';
import CustomCard from '@/components/CustomCard.vue';
/* --------------- data --------------- */
// #region
// #endregion
/* --------------- methods --------------- */
// #region
// #endregion
</script>
<style lang="scss" scoped></style>

View File

@ -0,0 +1,20 @@
<template>
<CustomCard> 兽药生产经销商 </CustomCard>
</template>
<script setup>
import { ref } from 'vue';
import CustomCard from '@/components/CustomCard.vue';
/* --------------- data --------------- */
// #region
// #endregion
/* --------------- methods --------------- */
// #region
// #endregion
</script>
<style lang="scss" scoped></style>

View File

@ -0,0 +1,20 @@
<template>
<CustomCard> 种子生产经销商 </CustomCard>
</template>
<script setup>
import { ref } from 'vue';
import CustomCard from '@/components/CustomCard.vue';
/* --------------- data --------------- */
// #region
// #endregion
/* --------------- methods --------------- */
// #region
// #endregion
</script>
<style lang="scss" scoped></style>