This commit is contained in:
沈鸿 2025-06-24 11:36:13 +08:00
parent 40169c27fe
commit 6d7acfeaf2
6 changed files with 53 additions and 53 deletions

View File

@ -84,7 +84,7 @@ export function delAnimalMedicine(ids) {
// #region // #region
/* 查询种源 */ /* 查询种源 */
export function getSeedList(params) { export function getSeedList(params) {
return request('/inputGoods/provenance/page', { return request('/inputGoods/supervise/provenance/page', {
params, params,
}); });
} }

View File

@ -9,12 +9,12 @@ const inputSuppliesRoutes = [
redirect: '/sub-government-affairs-service/material/pesticide', redirect: '/sub-government-affairs-service/material/pesticide',
meta: { title: '农产品种植管理', icon: 'FullScreen' }, meta: { title: '农产品种植管理', icon: 'FullScreen' },
children: [ children: [
{ // {
path: '/sub-government-affairs-service/statistics', // path: '/sub-government-affairs-service/statistics',
name: 'Statistics', // name: 'Statistics',
component: () => import('@/views/planting-management/statistics/index.vue'), // component: () => import('@/views/planting-management/statistics/index.vue'),
meta: { title: '使用监管概况统计', icon: 'PieChart' }, // meta: { title: '使用监管概况统计', icon: 'PieChart' },
}, // },
{ {
path: '/sub-government-affairs-service/variety-record', path: '/sub-government-affairs-service/variety-record',
name: 'PlantVarietyRecord', name: 'PlantVarietyRecord',
@ -27,42 +27,42 @@ const inputSuppliesRoutes = [
component: () => import('@/views/inputSuppliesManage/material/annualPlan/index.vue'), component: () => import('@/views/inputSuppliesManage/material/annualPlan/index.vue'),
meta: { title: '农产品种植计划管理', icon: 'Timer' }, meta: { title: '农产品种植计划管理', icon: 'Timer' },
}, },
{ // {
path: '/sub-government-affairs-service/material/seed', // path: '/sub-government-affairs-service/material/seed',
name: 'input-supplies-seed', // name: 'input-supplies-seed',
component: () => import('@/views/inputSuppliesManage/material/seed/index.vue'), // component: () => import('@/views/inputSuppliesManage/material/seed/index.vue'),
meta: { title: '种子种苗管理', icon: 'Watermelon' }, // meta: { title: '种子种苗管理', icon: 'Watermelon' },
}, // },
{ // {
path: '/sub-government-affairs-service/material/fertilizer', // path: '/sub-government-affairs-service/material/fertilizer',
name: 'input-supplies-fertilizer', // name: 'input-supplies-fertilizer',
component: () => import('@/views/inputSuppliesManage/material/fertilizer/index.vue'), // component: () => import('@/views/inputSuppliesManage/material/fertilizer/index.vue'),
meta: { title: '肥料管理', icon: 'Grid' }, // meta: { title: '肥料管理', icon: 'Grid' },
}, // },
{ // {
path: '/sub-government-affairs-service/material/pesticide', // path: '/sub-government-affairs-service/material/pesticide',
name: 'input-supplies-pesticide', // name: 'input-supplies-pesticide',
component: () => import('@/views/inputSuppliesManage/material/pesticide/index.vue'), // component: () => import('@/views/inputSuppliesManage/material/pesticide/index.vue'),
meta: { title: '农药管理', icon: 'Orange' }, // meta: { title: '农药管理', icon: 'Orange' },
}, // },
{ // {
path: '/sub-government-affairs-service/material/others', // path: '/sub-government-affairs-service/material/others',
name: 'input-supplies-others', // name: 'input-supplies-others',
component: () => import('@/views/inputSuppliesManage/material/others/index.vue'), // component: () => import('@/views/inputSuppliesManage/material/others/index.vue'),
meta: { title: '其他投入品管理', icon: 'TakeawayBox' }, // meta: { title: '其他投入品管理', icon: 'TakeawayBox' },
}, // },
{ {
path: '/sub-government-affairs-service/supervisionOfInputs ', path: '/sub-government-affairs-service/supervisionOfInputs ',
name: 'supervisionOfInputs', name: 'supervisionOfInputs',
redirect: '/sub-government-affairs-service/supervisionOfInputs/seedRegulation', redirect: '/sub-government-affairs-service/supervisionOfInputs/seedRegulation',
meta: { title: '投入品使用监管', icon: 'Connection' }, meta: { title: '投入品使用监管', icon: 'Connection' },
children: [ children: [
// { {
// path: '/sub-government-affairs-service/supervisionOfInputs/regulatoryOverview', path: '/sub-government-affairs-service/statistics',
// name: 'regulatoryOverview', name: 'Statistics',
// component: () => import('@/views/inputSuppliesManage/supervisionOfInputs/regulatoryOverview.vue'), component: () => import('@/views/planting-management/statistics/index.vue'),
// meta: { title: '使用监管概览', icon: '' }, meta: { title: '使用监管概况统计', icon: '' },
// }, },
{ {
path: '/sub-government-affairs-service/supervisionOfInputs/seedRegulation', path: '/sub-government-affairs-service/supervisionOfInputs/seedRegulation',
name: 'seedRegulation', name: 'seedRegulation',

View File

@ -156,9 +156,9 @@ const columns = ref([
// 使 // 使
{ prop: 'useTime', label: '使用时间' }, { prop: 'useTime', label: '使用时间' },
// //
{ prop: 'generateBusinessSubjectCode', label: '生成经营主体编码' }, { prop: 'businessEntityCode', label: '生成经营主体编码' },
// //
{ prop: 'generateBusinessSubjectName', label: '生产经营主体名称' }, { prop: 'businessEntityName', label: '生产经营主体名称' },
// { prop: 'action', label: '', slotName: 'action', width: 230, fixed: 'right' }, // { prop: 'action', label: '', slotName: 'action', width: 230, fixed: 'right' },
]); ]);
const handlePaginationChange = ({ page, pageSize }) => { const handlePaginationChange = ({ page, pageSize }) => {

View File

@ -178,14 +178,14 @@ const crudOptions = reactive({
{ label: '企业负责人', prop: 'contactPerson' }, { label: '企业负责人', prop: 'contactPerson' },
{ label: '联系方式', prop: 'phone' }, { label: '联系方式', prop: 'phone' },
{ label: '企业地址', prop: 'address' }, { label: '企业地址', prop: 'address' },
{ label: '地块数量', prop: 'villageCount' }, { label: '地块数量', prop: 'landCount' },
{ label: '地块编号', prop: 'villageCode' }, { label: '地块编号', prop: 'landCount' },
{ label: '地块名称', prop: 'villageName' }, { label: '地块名称', prop: 'landName' },
{ label: '面积', prop: 'area', formatter: (row, column, cellValue) => `${Number(cellValue).toFixed(2)}` }, { label: '面积', prop: 'area', formatter: (row, column, cellValue) => `${Number(cellValue).toFixed(2)}` },
{ label: '所属行政区划', prop: 'address' }, { label: '所属行政区划', prop: 'address' },
{ label: '所属网格', prop: 'gridCode' }, { label: '所属网格', prop: 'gridCode' },
{ label: '种植作物', prop: 'primaryProduct' }, { label: '种植作物', prop: 'planCrop' },
{ label: '账号(手机号)', prop: 'account' }, { label: '账号(手机号)', prop: 'phone' },
{ label: '信息录入时间', prop: 'createTime' }, { label: '信息录入时间', prop: 'createTime' },
{ label: '信息更新时间', prop: 'updateTime' }, { label: '信息更新时间', prop: 'updateTime' },
], ],

View File

@ -208,14 +208,14 @@ const crudOptions = reactive({
{ label: '联系方式', prop: 'phone' }, { label: '联系方式', prop: 'phone' },
// //
{ label: '地址', prop: 'address', width: '300px' }, { label: '地址', prop: 'address', width: '300px' },
{ label: '地块数量', prop: 'villageCount' }, { label: '地块数量', prop: 'landCount' },
{ label: '地块编号', prop: 'villageCode' }, { label: '地块编号', prop: 'landNumber' },
{ label: '地块名称', prop: 'villageName' }, { label: '地块名称', prop: 'landName' },
{ label: '面积', prop: 'area', formatter: (row, column, cellValue) => `${Number(cellValue).toFixed(2)}` }, { label: '面积', prop: 'area', formatter: (row, column, cellValue) => `${Number(cellValue).toFixed(2)}` },
{ label: '所属行政区划', prop: 'address' }, { label: '所属行政区划', prop: 'address' },
{ label: '所属网格', prop: 'gridCode' }, { label: '所属网格', prop: 'gridCode' },
{ label: '种植作物', prop: 'planCropName' }, { label: '种植作物', prop: 'planCropName' },
{ label: '账号(手机号)', prop: 'account' }, { label: '账号(手机号)', prop: 'phone' },
{ label: '创建时间', prop: 'createTime' }, { label: '创建时间', prop: 'createTime' },
{ label: '更新时间', prop: 'updateTime' }, { label: '更新时间', prop: 'updateTime' },
], ],

View File

@ -1,7 +1,6 @@
<template> <template>
<!-- <div class="custom-page" :style="`background-image: url(${getAssetsFile('images/landBase/land2.png')})`"> --> <div class="custom-page" :style="`background-image: url(${getAssetsFile('images/landBase/land2.png')})`">
<div class="custom-page"> <!-- <div class="custom-page">
<!-- <h1>统计数据</h1> -->
<div class="content"> <div class="content">
<div style="display: flex"> <div style="display: flex">
<pieChart v-for="(item, index) in data" :key="index" class="m-left" :refs="item.refs" :title="item.title" :data="item.data" /> <pieChart v-for="(item, index) in data" :key="index" class="m-left" :refs="item.refs" :title="item.title" :data="item.data" />
@ -9,12 +8,13 @@
<div style="display: flex; margin-top: 20px"> <div style="display: flex; margin-top: 20px">
<pieChart v-for="(item, index) in data1" :key="index" class="m-left" :refs="item.refs" :title="item.title" :data="item.data" /> <pieChart v-for="(item, index) in data1" :key="index" class="m-left" :refs="item.refs" :title="item.title" :data="item.data" />
</div> </div>
</div> </div> -->
</div> </div>
</template> </template>
<script setup> <script setup>
import { getOverview, getSubArea } from '../../../apis/resource/statisticAnalysis'; import { getOverview, getSubArea } from '../../../apis/resource/statisticAnalysis';
import { getAssetsFile } from '@/utils';
import { ref, onBeforeMount, reactive } from 'vue'; import { ref, onBeforeMount, reactive } from 'vue';
import 'echarts-gl'; import 'echarts-gl';
import pieChart from './components/pie-chart.vue'; import pieChart from './components/pie-chart.vue';
@ -57,7 +57,7 @@ let data1 = ref([
]); ]);
onBeforeMount(() => { onBeforeMount(() => {
getData(); // getData();
}); });
const getData = async () => { const getData = async () => {