-
+
![]()
+
-
{{ '遇合堂新款禽泰克家禽通用药250遇合堂新款禽泰克家禽通用药250' }}
+
{{ data.title }}
-
25.00
+
{{ data.goodPrice }}
@@ -13,13 +14,25 @@
diff --git a/sub-operation-service/src/views/ecommerce/index.vue b/sub-operation-service/src/views/ecommerce/index.vue
index 6efe892..93d1110 100644
--- a/sub-operation-service/src/views/ecommerce/index.vue
+++ b/sub-operation-service/src/views/ecommerce/index.vue
@@ -3,15 +3,25 @@
-
+
@@ -81,15 +91,49 @@ let params = reactive({
parentId: null,
childrenId: null,
});
+let pagination = reactive({
+ current: 1,
+ size: 10,
+ total: 0,
+});
+const handleSizeChange = (val) => {
+ pagination.size = val;
+ getList();
+};
+const handleCurrentChange = (val) => {
+ pagination.current = val;
+ getList();
+};
const getList = () => {
+ params.current = pagination.current;
+ params.size = pagination.size;
agriculturalList(params).then((res) => {
if (res.code === 200) {
- console.log('res', res);
+ list.splice(0, list.length, ...res.data.records);
+ pagination.total = res.data.total;
}
});
};
let bannerList = reactive(['images/ecommerce/' + 'banner.png', 'images/ecommerce/' + 'banner1.png']);
+
+const selected = (data) => {
+ // 获取所有值并转为数组
+ const val = Object.values(data);
+ console.log(data);
+ if (val.length === 1) {
+ params.parentId = val[0].id;
+ } else {
+ if (val[0].id === '') {
+ params.childrenId = '';
+ params.parentId = null;
+ } else {
+ params.childrenId = val[val.length - 1].id;
+ params.parentId = val[val.length - 1].parentId;
+ }
+ }
+ getList();
+};
diff --git a/sub-government-affairs-service/src/layouts/component/Sider/index.vue b/sub-government-affairs-service/src/layouts/component/Sider/index.vue
index 6704ba0..5eb5134 100644
--- a/sub-government-affairs-service/src/layouts/component/Sider/index.vue
+++ b/sub-government-affairs-service/src/layouts/component/Sider/index.vue
@@ -1,10 +1,3 @@
-
@@ -19,7 +12,7 @@
:collapse-transition="false"
:collapse="isCollapse"
>
-
+
diff --git a/sub-government-affairs-service/src/layouts/index.vue b/sub-government-affairs-service/src/layouts/index.vue
index 05eea89..5311e8a 100644
--- a/sub-government-affairs-service/src/layouts/index.vue
+++ b/sub-government-affairs-service/src/layouts/index.vue
@@ -1,10 +1,3 @@
-
Date: Fri, 23 May 2025 14:33:04 +0800
Subject: [PATCH 3/7] =?UTF-8?q?=E5=A4=8F=E6=BB=A8=E4=BF=AE=E6=94=B9?=
=?UTF-8?q?=E6=95=B0=E6=8D=AE=E4=B8=BA=E7=9C=9F=E5=AE=9E=E6=95=B0=E6=8D=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
main/.env.development | 1 +
main/src/views/login/index.vue | 8 +-
.../.env.development | 2 +
.../.env.production | 3 +-
.../src/assets/images/logo.png | Bin 0 -> 12663 bytes
.../src/layouts/component/Logo/index.vue | 8 +-
.../src/router/index.js | 6 +-
.../src/router/modules/inputSupplies/index.js | 50 ++++++------
.../src/router/modules/productOperateMain.js | 40 +++++-----
.../src/router/modules/resource.js | 14 ++--
.../src/router/modules/statisticAnalysis.js | 12 +--
.../src/router/modules/trace.js | 4 +-
.../src/views/home/index.vue | 56 +++++++-------
.../enterpriseDealerCheck/index.vue | 72 +++++++++++++++---
.../material/seed/index.vue | 8 +-
.../src/views/trace/record/seed/index.vue | 24 +++++-
.../src/views/trace/search/index.vue | 2 +-
.../src/views/trace/statistic/index.vue | 22 +++---
.../src/views/trace/search/index.vue | 2 +-
19 files changed, 205 insertions(+), 129 deletions(-)
create mode 100644 sub-government-affairs-service/src/assets/images/logo.png
diff --git a/main/.env.development b/main/.env.development
index a332768..328aab0 100644
--- a/main/.env.development
+++ b/main/.env.development
@@ -12,5 +12,6 @@ VITE_APP_SUB_GSR = '//localhost:9530/new-digital-agriculture-screen/'
# 接口
VITE_APP_BASE_API = '/apis'
VITE_APP_BASE_URL = 'http://192.168.18.99:8080'
+# VITE_APP_BASE_URL = 'http://192.168.18.14:8080'//线下测试
VITE_APP_UPLOAD_API = '/uploadApis'
VITE_APP_UPLOAD_URL = 'http://192.168.18.99:8080'
\ No newline at end of file
diff --git a/main/src/views/login/index.vue b/main/src/views/login/index.vue
index a11cc1a..78e67eb 100644
--- a/main/src/views/login/index.vue
+++ b/main/src/views/login/index.vue
@@ -16,7 +16,7 @@
-
+
记住密码
@@ -61,13 +61,13 @@ export default {
username: 'admin',
password: 'admin123',
rememberMe: false,
- code: '',
+ code: '1',
uuid: '',
},
loginRules: {
username: [{ required: true, trigger: 'blur', message: '请输入您的账号' }],
password: [{ required: true, trigger: 'blur', message: '请输入您的密码' }],
- code: [{ required: true, trigger: 'change', message: '请输入验证码' }],
+ // code: [{ required: true, trigger: 'change', message: '请输入验证码' }],
},
loading: false,
// 验证码开关
diff --git a/sub-government-affairs-service/.env.development b/sub-government-affairs-service/.env.development
index 187aabc..ec64d21 100644
--- a/sub-government-affairs-service/.env.development
+++ b/sub-government-affairs-service/.env.development
@@ -6,5 +6,7 @@ VITE_APP_MIAN_URL = 'http://localhost:9000'
VITE_APP_NAME = 'sub-government-affairs-service'
VITE_APP_BASE_API = '/apis'
VITE_APP_BASE_URL = 'http://192.168.18.99:8080'
+# VITE_APP_BASE_URL = 'http://192.168.18.14:8080'
VITE_APP_UPLOAD_API = '/uploadApis'
VITE_APP_UPLOAD_URL = 'http://192.168.18.99:9300'
+# VITE_APP_UPLOAD_URL = 'http://192.168.18.14:8080'
\ No newline at end of file
diff --git a/sub-government-affairs-service/.env.production b/sub-government-affairs-service/.env.production
index fa327e9..63cf3cc 100644
--- a/sub-government-affairs-service/.env.production
+++ b/sub-government-affairs-service/.env.production
@@ -1,7 +1,8 @@
# 生产环境
VITE_MODE = 'PRO'
VITE_APP_MIAN = 'daimp-front-main'
-VITE_APP_MIAN_URL = 'http://47.109.205.240:88'
+# VITE_APP_MIAN_URL = 'http://47.109.205.240:88'
+VITE_APP_MIAN_URL = 'http://192.168.18.14:8080'
VITE_APP_NAME = 'sub-government-affairs-service'
# 接口
VITE_APP_BASE_API = '/apis'
diff --git a/sub-government-affairs-service/src/assets/images/logo.png b/sub-government-affairs-service/src/assets/images/logo.png
new file mode 100644
index 0000000000000000000000000000000000000000..3d7da947304e8d9a5b15bb7b8c295a865cdf5b0a
GIT binary patch
literal 12663
zcmcgzV{;`;us*SE+xEt`wMjO%d1Bi(HnwfsPByk}>%RB?i2GrtpXr*a?wP8osqUvc
zLPwqlH9pTey<4LM}w
z*s;a?;4tpOWuj$}k)4By3GtnXz<}Kz5AQC^Grb+wB_3VvVf0b8zOjRk7d6*48b9wn
zH$Mc!)Ef`F#zk8wY8+i{}vz)qQb1oPO
zi`^|cCL)16IfGvIEA`v>osAl@UI5Bdib24P|gf7uXM_WfYQb79Z?G*fv
zf`aS1cl&=n;r@Ie<$5mN(BQtOnnbGUo@H0|ipM~8#
zu<2COmEob5VgB~U=J1GLSd74QRc)NOh3D-g8sEGg#*gSi&a(Ke-1ckZnfI&SrgwCC
z+3ve>rpGTx42xqhi`+
zwihI-RdKJ4DVxKTemR?g>WO_v9_f*+?*Gpk6oI2agb1v$__4M~?J=YB^>aO$qw+BD
za5TC(mvDyP=TOxJr9+7#J9l#B`%d-3T2ujR%2!0ID;%zc<@o+at*hz2Ip~s(Xl>xZ
zTUgBNbGDYa05AO1gYl`l1kv!n4_Rp2HPlN>u3W0){A4vf%DXzR2*k^Ao73qP7XP%+y4{8w6}RHthqEF`n0tOw9?El64L+=e~}$R44HiDOE0UB^M-2
zHrZ%ouyXleA94^`G=G@M&QrZbb8YF-K{P(5{;v}T=S#T%u;S$pUcxn+gxoq>zLyHz
zWSrgAX3*h-AP3+;hUgbyZ1MY?_iuO=WIXorI6hY;^AeBLOe&?FZ0%}Pc*`r*p_x+s
zcO}S>;N=kZ-rIDe?&_@`nYWN}fpA7!m;00;3gge$`1uq#wdbR6AEfuZ_b)U&LcBrj2nG8webymHsW4kw5AohqJWAw
z$L#LNQFL-qk;;6h$j$JLf$8)Huc@i&=e0O6M~&}}DT3>t;V#lMB*!5=>A8ehXT+&3
zDNnmFe*k(P>?bejyIm0Ng9holRS+!@9>w-~xx)h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*cV3nfFJpCg7-dZxif0Q`ohW4FPOGV`B!{lj`SjnjmOTmset
zn+PR7&Q@=%lrfbWsC2YW`z2o_T2gR59aCC=mPxmsE1M
zAvk{C4R<>DtO0g)N^iHvb08To0ibQ8@N6b)<;wXX2AX&?G1N<^A8JBC0*iKo(~
z{pK03SDKXA)OV(8to*^y*G@_nUI$2l?YY7s5H?>kwz&ErcIQTFfu++4#@Fy}$WY|g
zYQL`qJfF5cO>&&z7X96Uc;&u}I2wlPI7MtCO4K4_zZykCnbA-yFy+&Ec6*6xBWxb>esa9Uv;#Z-b65#H-sbx6-q%;bvxlzAS8O^)FawvT4iK$qP%!>=n9Sm4+Afc9+91Rr
zUXaFkl{GX~h(i4?{t$p?EoRoW#{hQ@xt2%Ih2xAEAH#3N2H)y#4Q5rw
z?F+%L2On}5O!g~+p4e>rfn^k=khZcJ_EmgplkE&h=|G|~Zs-J%m}qru0P_?cXDsM)
zbis)dgCTETzgb{Mj5_uLt>&4a#RIzp1lL2}$h@_{{~6I{#?7k+V$VYMDoWy#7UF4j
zw`|vuaZTtY5d?@jfj8uFllT6+lqDGZuSeimDAum!=Ko#$jb)0Ntdvlcd-7i=1wdL{
LL99l^An<
-
-
{{ VITE_APP_TITLE }}
+
@@ -43,5 +43,9 @@ const { VITE_APP_TITLE } = import.meta.env;
line-height: 35px;
color: $color-primary;
}
+ .logo-picture {
+ width: 100%;
+ height: 50px;
+ }
}
diff --git a/sub-government-affairs-service/src/router/index.js b/sub-government-affairs-service/src/router/index.js
index 9ac3c03..5e19252 100644
--- a/sub-government-affairs-service/src/router/index.js
+++ b/sub-government-affairs-service/src/router/index.js
@@ -47,10 +47,10 @@ export const constantRoutes = [
...resourceRouter,
...productOperateMainRoutes,
...inputSuppliesRoutes,
- produceGoods,
- ...plantingAndBreedingRouter,
+ // produceGoods,
+ // ...plantingAndBreedingRouter,
...traceRouter,
- ...systemRouter,
+ // ...systemRouter,
];
/**
diff --git a/sub-government-affairs-service/src/router/modules/inputSupplies/index.js b/sub-government-affairs-service/src/router/modules/inputSupplies/index.js
index b4a21d2..7274aca 100644
--- a/sub-government-affairs-service/src/router/modules/inputSupplies/index.js
+++ b/sub-government-affairs-service/src/router/modules/inputSupplies/index.js
@@ -34,30 +34,30 @@ const inputSuppliesRoutes = [
component: () => import('@/views/inputSuppliesManage/material/fertilizer/index.vue'),
meta: { title: '肥料管理', icon: '' },
},
- {
- path: '/sub-government-affairs-service/material/pesticide',
- name: 'input-supplies-pesticide',
- component: () => import('@/views/inputSuppliesManage/material/pesticide/index.vue'),
- meta: { title: '农药管理', icon: '' },
- },
- {
- path: '/sub-government-affairs-service/material/ratPoison',
- name: 'input-supplies-ratPoison',
- component: () => import('@/views/inputSuppliesManage/material/ratPoison/index.vue'),
- meta: { title: '兽药管理', icon: '' },
- },
+ // {
+ // path: '/sub-government-affairs-service/material/pesticide',
+ // name: 'input-supplies-pesticide',
+ // component: () => import('@/views/inputSuppliesManage/material/pesticide/index.vue'),
+ // meta: { title: '农药管理', icon: '' },
+ // },
+ // {
+ // path: '/sub-government-affairs-service/material/ratPoison',
+ // name: 'input-supplies-ratPoison',
+ // component: () => import('@/views/inputSuppliesManage/material/ratPoison/index.vue'),
+ // meta: { title: '兽药管理', icon: '' },
+ // },
{
path: '/sub-government-affairs-service/material/seed',
name: 'input-supplies-seed',
component: () => import('@/views/inputSuppliesManage/material/seed/index.vue'),
- meta: { title: '种源管理', icon: '' },
- },
- {
- path: '/sub-government-affairs-service/material/farmMachinery',
- name: 'input-supplies-farmMachinery',
- component: () => import('@/views/inputSuppliesManage/material/farmMachinery/index.vue'),
- meta: { title: '农机管理', icon: '' },
+ meta: { title: '种子管理', icon: '' },
},
+ // {
+ // path: '/sub-government-affairs-service/material/farmMachinery',
+ // name: 'input-supplies-farmMachinery',
+ // component: () => import('@/views/inputSuppliesManage/material/farmMachinery/index.vue'),
+ // meta: { title: '农机管理', icon: '' },
+ // },
],
},
{
@@ -72,12 +72,12 @@ const inputSuppliesRoutes = [
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/useSupervise',
+ // name: 'useSupervise',
+ // component: () => import('@/views/inputSuppliesManage/useSupervise/index.vue'),
+ // meta: { title: '使用监管', icon: '' },
+ // },
{
path: '/sub-government-affairs-service/leaseSupervise',
name: 'leaseSupervise',
diff --git a/sub-government-affairs-service/src/router/modules/productOperateMain.js b/sub-government-affairs-service/src/router/modules/productOperateMain.js
index 8ec8eb7..eecb357 100644
--- a/sub-government-affairs-service/src/router/modules/productOperateMain.js
+++ b/sub-government-affairs-service/src/router/modules/productOperateMain.js
@@ -8,37 +8,37 @@ export default [
redirect: '/sub-government-affairs-service/mainHome',
meta: { title: '生产经营主体', icon: 'icon-shop' },
children: [
- {
- path: '/sub-government-affairs-service/mainHome',
- component: () => import('@/views/productOperateMain/home/index.vue'),
- name: 'mainHome',
- meta: { title: '数据可视化管理', icon: '' },
- },
+ // {
+ // path: '/sub-government-affairs-service/mainHome',
+ // component: () => import('@/views/productOperateMain/home/index.vue'),
+ // name: 'mainHome',
+ // meta: { title: '数据可视化管理', icon: '' },
+ // },
{
path: '/sub-government-affairs-service/individual',
component: () => import('@/views/productOperateMain/individual/index.vue'),
name: 'individual',
- meta: { title: '个体户', icon: '' },
- },
- {
- path: '/sub-government-affairs-service/collective',
- component: () => import('@/views/productOperateMain/collective/index.vue'),
- name: 'collective',
- meta: { title: '村集体', icon: '' },
+ meta: { title: '农户', icon: '' },
},
+ // {
+ // path: '/sub-government-affairs-service/collective',
+ // component: () => import('@/views/productOperateMain/collective/index.vue'),
+ // name: 'collective',
+ // meta: { title: '村集体', icon: '' },
+ // },
{
path: '/sub-government-affairs-service/coop',
component: () => import('@/views/productOperateMain/coOp/index.vue'),
name: 'coop',
- meta: { title: '合作社', icon: '' },
- },
- {
- path: '/sub-government-affairs-service/enterprise',
- component: () => import('@/views/productOperateMain/enterprise/index.vue'),
- name: 'enterprise',
- meta: { title: '经营企业', icon: '' },
+ meta: { title: '农企合作社', icon: '' },
},
// {
+ // path: '/sub-government-affairs-service/enterprise',
+ // component: () => import('@/views/productOperateMain/enterprise/index.vue'),
+ // name: 'enterprise',
+ // meta: { title: '经营企业', icon: '' },
+ // },
+ // {
// path: '/sub-government-affairs-service/individual',
// component: () => import('@/views/productOperateMain/individual/index.vue'),
// name: 'individual',
diff --git a/sub-government-affairs-service/src/router/modules/resource.js b/sub-government-affairs-service/src/router/modules/resource.js
index cc07d30..570c443 100644
--- a/sub-government-affairs-service/src/router/modules/resource.js
+++ b/sub-government-affairs-service/src/router/modules/resource.js
@@ -31,17 +31,17 @@ export default [
name: 'member',
meta: { title: '新增网格员', icon: '' },
},
- {
- path: '/sub-government-affairs-service/grid--management',
- component: () => import('@/views/resource/grid/GridManagement.vue'),
- name: 'management',
- meta: { title: '网格化管理', icon: '' },
- },
+ // {
+ // path: '/sub-government-affairs-service/grid--management',
+ // component: () => import('@/views/resource/grid/GridManagement.vue'),
+ // name: 'management',
+ // meta: { title: '网格化管理', icon: '' },
+ // },
],
},
...annualplanRouters,
...landsRoutes,
- ...statisticsRoutes,
+ // ...statisticsRoutes,
...dictRoutes,
],
},
diff --git a/sub-government-affairs-service/src/router/modules/statisticAnalysis.js b/sub-government-affairs-service/src/router/modules/statisticAnalysis.js
index 870447c..cfe4464 100644
--- a/sub-government-affairs-service/src/router/modules/statisticAnalysis.js
+++ b/sub-government-affairs-service/src/router/modules/statisticAnalysis.js
@@ -8,12 +8,12 @@ export default [
redirect: '/sub-government-affairs-service/analysis-land',
meta: { title: '统计分析', icon: 'icon-test' },
children: [
- {
- path: '/sub-government-affairs-service/analysis-land',
- component: () => import('@/views/resource/statisticAnalysis/land/index.vue'),
- name: 'analysis-land',
- meta: { title: '土地利用与规划分析', icon: '' },
- },
+ // {
+ // path: '/sub-government-affairs-service/analysis-land',
+ // component: () => import('@/views/resource/statisticAnalysis/land/index.vue'),
+ // name: 'analysis-land',
+ // meta: { title: '土地利用与规划分析', icon: '' },
+ // },
{
path: '/sub-government-affairs-service/analysis-agriculture',
name: 'analysis-agriculture',
diff --git a/sub-government-affairs-service/src/router/modules/trace.js b/sub-government-affairs-service/src/router/modules/trace.js
index c223a69..ee74665 100644
--- a/sub-government-affairs-service/src/router/modules/trace.js
+++ b/sub-government-affairs-service/src/router/modules/trace.js
@@ -13,7 +13,7 @@ export default [
path: '/sub-government-affairs-service/record',
name: 'record',
component: Views,
- meta: { title: '种养植档案', icon: 'Tickets' },
+ meta: { title: '种植档案', icon: 'Tickets' },
redirect: '/sub-government-affairs-service/record-base',
children: [
{
@@ -26,7 +26,7 @@ export default [
path: '/sub-government-affairs-service/record-seed',
component: () => import('@/views/trace/record/seed/index.vue'),
name: 'record-seed',
- meta: { title: '种源档案', icon: '' },
+ meta: { title: '种子档案', icon: '' },
},
],
},
diff --git a/sub-government-affairs-service/src/views/home/index.vue b/sub-government-affairs-service/src/views/home/index.vue
index 78ebb27..b3888ca 100644
--- a/sub-government-affairs-service/src/views/home/index.vue
+++ b/sub-government-affairs-service/src/views/home/index.vue
@@ -6,13 +6,13 @@
综合数据统计
- 农村人口
+ 人口
万人
耕地面积
-
+
万亩
@@ -38,7 +38,8 @@
-
+
+
@@ -51,14 +52,15 @@
-
-
-
-
-
+
+
@@ -85,11 +87,11 @@ const state = reactive({
},
yAxis: {
type: 'value',
- name: '亩',
+ name: '万亩',
},
tooltip: {
formatter: function (params) {
- return `${params.name}:${params.value}亩`;
+ return `${params.name}:${params.value}万亩`;
},
},
barStyle: {
@@ -101,16 +103,16 @@ const state = reactive({
},
},
areaData: [
- { value: 230, name: '耿马镇' },
- { value: 165, name: '勐永镇' },
- { value: 217, name: '勐撒镇' },
- { value: 200, name: '孟定镇' },
- { value: 305, name: '大兴乡' },
+ { value: 2, name: '耿马镇' },
+ { value: 6, name: '勐永镇' },
+ { value: 4, name: '勐撒镇' },
+ { value: 2, name: '孟定镇' },
+ { value: 3, name: '大兴乡' },
],
breedingOption: {
color: ['#41b879', '#fed500'],
title: {
- text: '种养殖综合数据统计',
+ text: '种殖综合数据统计',
textStyle: {
color: '#333',
},
@@ -131,9 +133,9 @@ const state = reactive({
},
breedingData: [
{ value: 230, name: '种植面积', unit: '亩' },
- { value: 165, name: '养殖面积', unit: '亩' },
+ // { value: 165, name: '养殖面积', unit: '亩' },
{ value: 217, name: '种植基地', unit: '个' },
- { value: 200, name: '养殖基地', unit: '个' },
+ // { value: 200, name: '养殖基地', unit: '个' },
],
inputsOption: {
color: ['#ffd500'],
@@ -192,9 +194,9 @@ 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: 55, name: '兽药使用', type: '投入品', max: 100, unit: '千克' },
+ // { value: 38, name: '农机使用', type: '投入品', max: 100, unit: '台' },
+ { value: 74, name: '种子使用', type: '投入品', max: 100, unit: '吨' },
+ // { value: 55, name: '兽药使用', type: '投入品', max: 100, unit: '千克' },
{ value: 65, name: '肥料使用', type: '投入品', max: 100, unit: '吨' },
],
businessOption: {
@@ -233,12 +235,12 @@ const state = reactive({
],
},
businessData: [
- { value: 28, name: '个体户' },
- { value: 358, name: '村集体' },
- { value: 217, name: '合作社' },
- { value: 128, name: '农资企业' },
- { value: 22, name: '种源企业' },
- { value: 41, name: '生产加工企业' },
+ { value: 217, name: '农户' },
+ // { value: 358, name: '村集体' },
+ { value: 28, name: '农企/合作社' },
+ // { value: 128, name: '农资企业' },
+ // { value: 22, name: '种源企业' },
+ // { value: 41, name: '生产加工企业' },
],
codingOption: {
color: ['#41b879', '#ffd500'],
diff --git a/sub-government-affairs-service/src/views/inputSuppliesManage/enterpriseDealerCheck/index.vue b/sub-government-affairs-service/src/views/inputSuppliesManage/enterpriseDealerCheck/index.vue
index fc4c94f..2ab2ba9 100644
--- a/sub-government-affairs-service/src/views/inputSuppliesManage/enterpriseDealerCheck/index.vue
+++ b/sub-government-affairs-service/src/views/inputSuppliesManage/enterpriseDealerCheck/index.vue
@@ -21,7 +21,8 @@
@row-update="handleRowUpdate"
>
- 详情
+
+ 暂无
@@ -154,16 +155,65 @@ async function getData(resetPage) {
searchCondition.value
);
console.log('params', params);
- for (let i = 0; i < 14; i++) {
- data.value.push({
- taskNum: '20220101' + `${i}${i}${i}${i}${i}`,
- taskType: i % 2 == 0 ? '0' : '1',
- enterpriseName: '上海XX有限公司',
- enterpriseOwner: '张三',
- phone: '123456789',
- status: i % 2 == 0 ? '0' : '1',
- });
- }
+ data.value = [
+ {
+ taskNum: '202451211',
+ taskType: '0',
+ enterpriseName: '合肥丰乐种业股份有限公司',
+ enterpriseOwner: '戴登安',
+ phone: '18785733748',
+ status: '0',
+ },
+ {
+ taskNum: '202471241',
+ taskType: '0',
+ enterpriseName: '山东登海种业股份有限公司',
+ enterpriseOwner: '唐世伟',
+ phone: '18785733748',
+ status: '0',
+ },
+ {
+ taskNum: '2024111241',
+ taskType: '0',
+ enterpriseName: '甘肃省敦煌种业股份有限公司',
+ enterpriseOwner: '李世晓',
+ phone: '15685474526',
+ status: '0',
+ },
+ {
+ taskNum: '2024112244',
+ taskType: '1',
+ enterpriseName: '河南秋乐种业科技股份有限公司',
+ enterpriseOwner: '侯传伟',
+ phone: '17485693256',
+ status: '1',
+ },
+ {
+ taskNum: '2024122242',
+ taskType: '0',
+ enterpriseName: '安徽荃银高科种业股份有限公司',
+ enterpriseOwner: '应敏杰',
+ phone: '18423568745',
+ status: '0',
+ },
+ {
+ taskNum: '2024122242',
+ taskType: '0',
+ enterpriseName: '辽宁东亚种业有限公司',
+ enterpriseOwner: '杨永华',
+ phone: '15236989568',
+ status: '0',
+ },
+ {
+ taskNum: '202472255',
+ taskType: '0',
+ enterpriseName: '云南广大种业有限公司',
+ enterpriseOwner: '王云贵',
+ phone: '13888965335',
+ status: '0',
+ },
+ ];
+
pageData.value.total = data.value.length;
_loading.value = false;
}
diff --git a/sub-government-affairs-service/src/views/inputSuppliesManage/material/seed/index.vue b/sub-government-affairs-service/src/views/inputSuppliesManage/material/seed/index.vue
index b17c05f..b5cae96 100644
--- a/sub-government-affairs-service/src/views/inputSuppliesManage/material/seed/index.vue
+++ b/sub-government-affairs-service/src/views/inputSuppliesManage/material/seed/index.vue
@@ -1,6 +1,6 @@
- 种源基本信息
+ 种子基本信息
{
await sleep(500);
state.data = res.data;
state.page = {
- total: 20,
+ total: 6,
currentPage: 1,
pageSize: 10,
};
diff --git a/sub-government-affairs-service/src/views/trace/search/index.vue b/sub-government-affairs-service/src/views/trace/search/index.vue
index 6e85d38..cb794cc 100644
--- a/sub-government-affairs-service/src/views/trace/search/index.vue
+++ b/sub-government-affairs-service/src/views/trace/search/index.vue
@@ -9,7 +9,7 @@
![]()
-
种养植档案管理
+
种植档案管理
diff --git a/sub-government-affairs-service/src/views/trace/statistic/index.vue b/sub-government-affairs-service/src/views/trace/statistic/index.vue
index a80e603..7310fe2 100644
--- a/sub-government-affairs-service/src/views/trace/statistic/index.vue
+++ b/sub-government-affairs-service/src/views/trace/statistic/index.vue
@@ -235,7 +235,7 @@ const loadData = async () => {
await sleep(500);
state.rankList = [
{
- name: '个人',
+ name: '农户',
num: 1000,
icon: '1',
},
@@ -244,16 +244,16 @@ const loadData = async () => {
num: 1000,
icon: '2',
},
- {
- name: '农业企业',
- num: 1000,
- icon: '3',
- },
- {
- name: '种植企业',
- num: 1000,
- icon: '4',
- },
+ // {
+ // name: '农业企业',
+ // num: 1000,
+ // icon: '3',
+ // },
+ // {
+ // name: '种植企业',
+ // num: 1000,
+ // icon: '4',
+ // },
];
state.data = mockData(
{
diff --git a/sub-operation-admin/src/views/trace/search/index.vue b/sub-operation-admin/src/views/trace/search/index.vue
index 6e85d38..cb794cc 100644
--- a/sub-operation-admin/src/views/trace/search/index.vue
+++ b/sub-operation-admin/src/views/trace/search/index.vue
@@ -9,7 +9,7 @@
![]()
-
种养植档案管理
+
种植档案管理
From 1c56ca1d0f0da0e83060cfd39598dcfdfc28dff5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=B2=88=E9=B8=BF?=
Date: Fri, 23 May 2025 16:40:36 +0800
Subject: [PATCH 4/7] =?UTF-8?q?=E5=9C=9F=E5=9C=B0=E8=B5=84=E6=BA=90?=
=?UTF-8?q?=E7=AE=A1=E7=90=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
main/vite.config.js | 16 +-
.../src/apis/resource/member.js | 54 ++++
.../src/router/modules/resource.js | 4 +-
.../src/views/resource/grid/AddGrid.vue | 68 ++---
.../{AddGridMember.vue => GridMember.vue} | 248 ++++++------------
5 files changed, 180 insertions(+), 210 deletions(-)
create mode 100644 sub-government-affairs-service/src/apis/resource/member.js
rename sub-government-affairs-service/src/views/resource/grid/{AddGridMember.vue => GridMember.vue} (52%)
diff --git a/main/vite.config.js b/main/vite.config.js
index 39d8c37..e836ec8 100644
--- a/main/vite.config.js
+++ b/main/vite.config.js
@@ -31,14 +31,14 @@ export default defineConfig(({ command, mode }) => {
'Access-Control-Allow-Origin': '*',
},
proxy: {
- // 仅 Brand 模块走子应用 DevServer
- '/api/brand': {
- target: 'http://localhost:9526',
- changeOrigin: true,
- // 如果想去掉 /api/brand 前缀(比如子应用实际监听的是 /brand/...),
- // 可以加一个 rewrite:
- // rewrite: path => path.replace(/^\/api\/brand/, '/brand'),
- },
+ // // 仅 Brand 模块走子应用 DevServer
+ // '/api/brand': {
+ // target: 'http://localhost:9526',
+ // changeOrigin: true,
+ // // 如果想去掉 /api/brand 前缀(比如子应用实际监听的是 /brand/...),
+ // // 可以加一个 rewrite:
+ // // rewrite: path => path.replace(/^\/api\/brand/, '/brand'),
+ // },
[VITE_APP_BASE_API]: {
target: VITE_APP_BASE_URL,
changeOrigin: true,
diff --git a/sub-government-affairs-service/src/apis/resource/member.js b/sub-government-affairs-service/src/apis/resource/member.js
new file mode 100644
index 0000000..0203631
--- /dev/null
+++ b/sub-government-affairs-service/src/apis/resource/member.js
@@ -0,0 +1,54 @@
+import request from '@/utils/axios';
+
+// 获取网格列表
+export const GetGridList = (params = {}) => {
+ return request('/land-resource/gridManage/page', {
+ method: 'get',
+ params,
+ });
+};
+
+// 网格员管理 - 列表
+export function GetMemberList(params = {}) {
+ return request('/land-resource/grid-member/page', {
+ method: 'GET',
+ params,
+ });
+}
+
+// 网格员管理 - 新增
+export function AddMember(data = {}) {
+ return request('/land-resource/grid-member', {
+ method: 'POST',
+ data,
+ });
+}
+
+// 网格员管理 - 修改
+export function UpdateMember(data = {}) {
+ return request('/land-resource/grid-member', {
+ method: 'PUT',
+ data,
+ });
+}
+
+// 网格员管理 - 删除
+export function DeleteMember(id) {
+ return request(`/land-resource/grid-member/${id}`, {
+ method: 'DELETE',
+ });
+}
+
+// // 网格员管理 - 导出
+// export function ExportMember() {
+// return request('/land-resource/grid-member/export', {
+// method: 'POST',
+// });
+// }
+export function ExportMember(data = {}) {
+ return request('/land-resource/grid-member/export', {
+ method: 'POST',
+ data,
+ responseType: 'blob', // 明确告诉 axios 返回 blob
+ });
+}
diff --git a/sub-government-affairs-service/src/router/modules/resource.js b/sub-government-affairs-service/src/router/modules/resource.js
index cc07d30..f34aea6 100644
--- a/sub-government-affairs-service/src/router/modules/resource.js
+++ b/sub-government-affairs-service/src/router/modules/resource.js
@@ -21,13 +21,13 @@ export default [
children: [
{
path: '/sub-government-affairs-service/add-grid',
- component: () => import('@/views/resource/grid/index.vue'),
+ component: () => import('@/views/resource/grid/AddGrid.vue'),
name: 'add',
meta: { title: '新增网格', icon: '' },
},
{
path: '/sub-government-affairs-service/add--grid-member',
- component: () => import('@/views/resource/grid/AddGridMember.vue'),
+ component: () => import('@/views/resource/grid/GridMember.vue'),
name: 'member',
meta: { title: '新增网格员', icon: '' },
},
diff --git a/sub-government-affairs-service/src/views/resource/grid/AddGrid.vue b/sub-government-affairs-service/src/views/resource/grid/AddGrid.vue
index 52dd42d..128b2d7 100644
--- a/sub-government-affairs-service/src/views/resource/grid/AddGrid.vue
+++ b/sub-government-affairs-service/src/views/resource/grid/AddGrid.vue
@@ -53,20 +53,20 @@ const state = reactive({
...CRUD_OPTIONS,
// addBtnText: '添加网格',
column: [
- {
- label: '网格区',
- prop: 'gridArea',
- search: true,
- width: 200,
- addDisplay: false,
- editDisplay: false,
- viewDisplay: true,
- rules: {
- required: true,
- message: '请输入',
- trigger: 'blur',
- },
- },
+ // {
+ // label: '网格区',
+ // prop: 'gridArea',
+ // search: true,
+ // width: 200,
+ // addDisplay: false,
+ // editDisplay: false,
+ // viewDisplay: true,
+ // rules: {
+ // required: true,
+ // message: '请输入',
+ // trigger: 'blur',
+ // },
+ // },
{
label: '网格名称',
prop: 'gridName',
@@ -80,7 +80,7 @@ const state = reactive({
{
label: '网格区域',
prop: 'gridAreaName',
- width: 300,
+ // width: 300,
display: false,
rules: {
required: true,
@@ -117,24 +117,24 @@ const state = reactive({
trigger: 'blur',
},
},
- {
- label: '网格管理员',
- prop: 'gridManager',
- rules: {
- required: true,
- message: '请输入',
- trigger: 'blur',
- },
- },
- {
- label: '联系方式',
- prop: 'contactInfo',
- rules: {
- required: true,
- message: '请输入',
- trigger: 'blur',
- },
- },
+ // {
+ // label: '网格管理员',
+ // prop: 'gridManager',
+ // rules: {
+ // required: true,
+ // message: '请输入',
+ // trigger: 'blur',
+ // },
+ // },
+ // {
+ // label: '联系方式',
+ // prop: 'contactInfo',
+ // rules: {
+ // required: true,
+ // message: '请输入',
+ // trigger: 'blur',
+ // },
+ // },
{
label: '省',
prop: 'provinceCode',
@@ -172,7 +172,7 @@ const state = reactive({
span: 24,
rows: 4,
overHidden: true,
- width: 200,
+ // width: 200,
},
{
label: '创建时间',
diff --git a/sub-government-affairs-service/src/views/resource/grid/AddGridMember.vue b/sub-government-affairs-service/src/views/resource/grid/GridMember.vue
similarity index 52%
rename from sub-government-affairs-service/src/views/resource/grid/AddGridMember.vue
rename to sub-government-affairs-service/src/views/resource/grid/GridMember.vue
index 52dd42d..6f776be 100644
--- a/sub-government-affairs-service/src/views/resource/grid/AddGridMember.vue
+++ b/sub-government-affairs-service/src/views/resource/grid/GridMember.vue
@@ -28,159 +28,99 @@