This commit is contained in:
13713575202 2025-05-23 16:58:57 +08:00
parent 185a09f152
commit 761ae3eb6f
6 changed files with 110 additions and 57 deletions

View File

@ -60,36 +60,36 @@ const inputSuppliesRoutes = [
// },
],
},
{
path: '/sub-government-affairs-service/productionDealer',
name: 'productionDealer',
component: () => import('@/views/inputSuppliesManage/productionDealer/index.vue'),
meta: { title: '企业经销商管理', icon: '' },
},
{
path: '/sub-government-affairs-service/enterpriseDealerCheck',
name: 'enterpriseDealerCheck',
component: () => import('@/views/inputSuppliesManage/enterpriseDealerCheck/index.vue'),
meta: { title: '企业经销商抽检', icon: '' },
},
// {
// path: '/sub-government-affairs-service/productionDealer',
// name: 'productionDealer',
// component: () => import('@/views/inputSuppliesManage/productionDealer/index.vue'),
// meta: { title: '企业经销商管理', icon: '' },
// },
// {
// path: '/sub-government-affairs-service/enterpriseDealerCheck',
// name: 'enterpriseDealerCheck',
// component: () => import('@/views/inputSuppliesManage/enterpriseDealerCheck/index.vue'),
// meta: { title: '企业经销商抽检', icon: '' },
// },
// {
// path: '/sub-government-affairs-service/useSupervise',
// name: 'useSupervise',
// component: () => import('@/views/inputSuppliesManage/useSupervise/index.vue'),
// meta: { title: '使用监管', icon: '' },
// },
{
path: '/sub-government-affairs-service/leaseSupervise',
name: 'leaseSupervise',
component: () => import('@/views/inputSuppliesManage/leaseSupervise/index.vue'),
meta: { title: '农机租赁监管', icon: '' },
},
{
path: '/sub-government-affairs-service/redBlackRank',
name: 'redBlackRank',
component: () => import('@/views/inputSuppliesManage/redBlackRank/index.vue'),
meta: { title: '企业红黑榜', icon: '' },
},
// {
// path: '/sub-government-affairs-service/leaseSupervise',
// name: 'leaseSupervise',
// component: () => import('@/views/inputSuppliesManage/leaseSupervise/index.vue'),
// meta: { title: '农机租赁监管', icon: '' },
// },
// {
// path: '/sub-government-affairs-service/redBlackRank',
// name: 'redBlackRank',
// component: () => import('@/views/inputSuppliesManage/redBlackRank/index.vue'),
// meta: { title: '企业红黑榜', icon: '' },
// },
{
path: '/sub-government-affairs-service/knowledgeManage',
name: 'knowledgeManage',

View File

@ -68,12 +68,12 @@ export default [
name: 'examineList',
meta: { title: '主体审核管理', icon: '' },
},
{
path: '/sub-government-affairs-service/examineRecord',
component: () => import('@/views/productOperateMain/examine/record.vue'),
name: 'examineRecord',
meta: { title: '主体审核历史', icon: '' },
},
// {
// path: '/sub-government-affairs-service/examineRecord',
// component: () => import('@/views/productOperateMain/examine/record.vue'),
// name: 'examineRecord',
// meta: { title: '主体审核历史', icon: '' },
// },
],
},
];

View File

@ -195,7 +195,7 @@ const state = reactive({
inputsData: [
{ value: 75, name: '农药使用', type: '投入品', max: 100, unit: '吨' },
// { value: 38, name: '使', type: '', max: 100, unit: '' },
{ value: 74, name: '种子使用', type: '投入品', max: 100, unit: '吨' },
{ value: 18, name: '种子使用', type: '投入品', max: 100, unit: '吨' },
// { value: 55, name: '使', type: '', max: 100, unit: '' },
{ value: 65, name: '肥料使用', type: '投入品', max: 100, unit: '吨' },
],

View File

@ -6,7 +6,7 @@
v-model:search="state.query"
v-model:page="state.page"
:table-loading="state.loading"
:data="state.data"
:data="res"
:option="state.options"
@refresh-change="refreshChange"
@search-reset="searchChange"
@ -32,25 +32,78 @@ import { sleep } from '@/utils';
import { CRUD_OPTIONS } from '@/config';
import Mock from 'mockjs';
const res = Mock.mock({
'data|20': [
const res = [
{
id: '@increment(100000)',
// name: '@ctitle(5,10)',
name: '一号基地',
'area|100-1000': 100,
'status|1-2': 1,
location: '东经 98°53至 99°15北纬 23°27至 23°40F',
'type|1-2': 1,
'p1|1-2': 1,
'p2|100-1000': 100,
p3: '@cname(2,3)',
id: '1000012',
name: `1号基地`,
area: 100,
status: 1,
location: '东经 92°54至 99°23北纬 20°27至 18°41F',
type: 1,
p1: 1,
p2: 100,
p3: '农户',
tag: '龙津河周边',
address: '耿马镇白塔社区',
createTime: '@datetime("yyyy-MM-dd HH:mm:ss")',
createTime: '2024-10-12 22:30',
},
],
});
{
id: '1000013',
name: `2号基地`,
area: 211,
status: 1,
location: '东经 92°54至 99°21北纬 20°25至 18°31F',
type: 1,
p1: 1,
p2: 120,
p3: '农户',
tag: '龙津河周边',
address: '耿马镇白马社区',
createTime: '2024-02-26 20:30',
},
{
id: '1000014',
name: `3号基地`,
area: 121,
status: 1,
location: '东经 92°53至 99°22北纬 20°21至 18°32F',
type: 1,
p1: 1,
p2: 56,
p3: '合作社',
tag: '龙津河周边',
address: '耿马镇石灰窑村',
createTime: '2024-11-02 23:30',
},
{
id: '1000015',
name: `4号基地`,
area: 231,
status: 2,
location: '东经 92°53至 99°22北纬 20°21至 18°32F',
type: 2,
p1: 2,
p2: 145,
p3: '农户',
tag: '龙津河周边',
address: '耿马镇芒蚌村',
createTime: '2024-02-02 12:30',
},
{
id: '1000016',
name: `5号基地`,
area: 231,
status: 2,
location: '东经 92°43至 99°26北纬 21°21至 18°22F',
type: 2,
p1: 2,
p2: 145,
p3: '农户',
tag: '龙津河周边',
address: '耿马镇菜籽地村',
createTime: '2024-04-12 16:21',
},
];
const app = useApp();
const crudRef = ref(null);
@ -190,7 +243,7 @@ const state = reactive({
trigger: 'blur',
},
formatter: (row) => {
return row.area + 'm';
return row.p2 + 'm';
},
},
{
@ -251,7 +304,7 @@ const loadData = async () => {
await sleep(500);
state.data = res.data;
state.page = {
total: 20,
total: 5,
currentPage: 1,
pageSize: 10,
};

View File

@ -90,7 +90,7 @@ const state = reactive({
},
},
{
label: '供应商',
label: '生产厂家',
prop: 'shop',
search: true,
with: 300,

View File

@ -236,12 +236,12 @@ const loadData = async () => {
state.rankList = [
{
name: '农户',
num: 1000,
num: 1389,
icon: '1',
},
{
name: '合作社',
num: 1000,
name: '农企/合作社',
num: 54,
icon: '2',
},
// {