feat:投入品监管平台模块搭建
This commit is contained in:
parent
b3d7b2453f
commit
760fcdcf17
@ -12,7 +12,7 @@ import resourceRouter from './modules/resource';
|
||||
import traceRouter from './modules/trace';
|
||||
import landsRoutes from './modules/lands';
|
||||
import dictRoutes from './modules/dict';
|
||||
import annualplanRoutes from './modules/annualplan';
|
||||
import inputSuppliesRoutes from './modules/inputSupplies';
|
||||
|
||||
export const constantRoutes = [
|
||||
{
|
||||
@ -46,6 +46,7 @@ export const constantRoutes = [
|
||||
...traceRouter,
|
||||
...landsRoutes,
|
||||
...dictRoutes,
|
||||
...inputSuppliesRoutes,
|
||||
];
|
||||
|
||||
/**
|
||||
|
@ -0,0 +1,68 @@
|
||||
import Layout from '@/layouts/index.vue';
|
||||
|
||||
const inputSuppliesRoutes = [
|
||||
{
|
||||
path: '/sub-government-affairs-service/inputSuppliesManage',
|
||||
name: 'inputSuppliesManage',
|
||||
component: Layout,
|
||||
redirect: '/sub-government-affairs-service/inputDataView',
|
||||
meta: { title: '投入品监管平台', icon: 'Document' },
|
||||
children: [
|
||||
{
|
||||
path: '/sub-government-affairs-service/inputDataView',
|
||||
name: 'inputDataView',
|
||||
component: () => import('@/views/inputSuppliesManage/inputDataView/index.vue'),
|
||||
meta: { title: '投入品资源一张图', icon: 'Document' },
|
||||
},
|
||||
{
|
||||
path: '/sub-government-affairs-service/basicInfo',
|
||||
name: 'basicInfo',
|
||||
component: () => import('@/views/inputSuppliesManage/basicInfo/index.vue'),
|
||||
meta: { title: '基本信息管理', icon: 'Document' },
|
||||
},
|
||||
{
|
||||
path: '/sub-government-affairs-service/productionDealer',
|
||||
name: 'productionDealer',
|
||||
component: () => import('@/views/inputSuppliesManage/productionDealer/index.vue'),
|
||||
meta: { title: '生产经销商管理', icon: 'Document' },
|
||||
},
|
||||
{
|
||||
path: '/sub-government-affairs-service/enterpriseDealer',
|
||||
name: 'enterpriseDealer',
|
||||
component: () => import('@/views/inputSuppliesManage/enterpriseDealer/index.vue'),
|
||||
meta: { title: '企业经销商抽检', icon: 'Document' },
|
||||
},
|
||||
{
|
||||
path: '/sub-government-affairs-service/useSupervise',
|
||||
name: 'useSupervise',
|
||||
component: () => import('@/views/inputSuppliesManage/useSupervise/index.vue'),
|
||||
meta: { title: '使用监管', icon: 'Document' },
|
||||
},
|
||||
{
|
||||
path: '/sub-government-affairs-service/leaseSupervise',
|
||||
name: 'leaseSupervise',
|
||||
component: () => import('@/views/inputSuppliesManage/leaseSupervise/index.vue'),
|
||||
meta: { title: '农机租赁监管', icon: 'Document' },
|
||||
},
|
||||
{
|
||||
path: '/sub-government-affairs-service/redBlackRank',
|
||||
name: 'redBlackRank',
|
||||
component: () => import('@/views/inputSuppliesManage/redBlackRank/index.vue'),
|
||||
meta: { title: '企业红黑榜', icon: 'Document' },
|
||||
},
|
||||
{
|
||||
path: '/sub-government-affairs-service/knowledgeManage',
|
||||
name: 'knowledgeManage',
|
||||
component: () => import('@/views/inputSuppliesManage/knowledgeManage/index.vue'),
|
||||
meta: { title: '知识库', icon: 'Document' },
|
||||
},
|
||||
{
|
||||
path: '/sub-government-affairs-service/patrolCaseManage',
|
||||
name: 'patrolCaseManage',
|
||||
component: () => import('@/views/inputSuppliesManage/patrolCaseManage/index.vue'),
|
||||
meta: { title: '巡查与案件管理', icon: 'Document' },
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
export default inputSuppliesRoutes;
|
@ -6,22 +6,22 @@ export default function useSoilTypeHook() {
|
||||
|
||||
const crudRef = ref();
|
||||
const condition = ref({
|
||||
villageName: '',
|
||||
soilType: '',
|
||||
});
|
||||
const data = ref([
|
||||
{
|
||||
code: '1',
|
||||
soilType: '1111111111111',
|
||||
code: 'a123456',
|
||||
soilType: '黑土地',
|
||||
status: 0,
|
||||
},
|
||||
{
|
||||
code: '2',
|
||||
soilType: '2222222222222',
|
||||
code: 'b258369',
|
||||
soilType: '黄土地',
|
||||
status: 1,
|
||||
},
|
||||
{
|
||||
code: '3',
|
||||
soilType: '3333333333333',
|
||||
code: 'c987654',
|
||||
soilType: '盐碱土地',
|
||||
status: 0,
|
||||
},
|
||||
]);
|
||||
@ -38,15 +38,6 @@ export default function useSoilTypeHook() {
|
||||
refreshBtn: false,
|
||||
border: false,
|
||||
column: [
|
||||
{
|
||||
label: '村名',
|
||||
prop: 'villageName',
|
||||
search: true,
|
||||
hide: true,
|
||||
display: false,
|
||||
addDisplay: false,
|
||||
viewDisplay: false,
|
||||
},
|
||||
{
|
||||
label: '编号',
|
||||
prop: 'code',
|
||||
@ -54,10 +45,11 @@ export default function useSoilTypeHook() {
|
||||
addDisplay: false,
|
||||
},
|
||||
{
|
||||
label: '土壤类型',
|
||||
label: '土壤类别',
|
||||
prop: 'soilType',
|
||||
labelWidth: 100,
|
||||
span: 23,
|
||||
search: true,
|
||||
rules: [
|
||||
{
|
||||
required: true,
|
||||
|
@ -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>
|
@ -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>
|
@ -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>
|
@ -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>
|
@ -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>
|
@ -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>
|
@ -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>
|
@ -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>
|
@ -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>
|
Loading…
x
Reference in New Issue
Block a user