From 95efc5506c2af4ebb166d30d96281b00fcbd2edb Mon Sep 17 00:00:00 2001 From: "wangmingyong@163.com" Date: Mon, 2 Nov 2026 09:31:28 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/efcode/trend/scan-field/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zdxt-web-client/zdxt-admin-plus-ui/src/views/efcode/trend/scan-field/index.vue b/zdxt-web-client/zdxt-admin-plus-ui/src/views/efcode/trend/scan-field/index.vue index 378671f0..3dcc2cf0 100644 --- a/zdxt-web-client/zdxt-admin-plus-ui/src/views/efcode/trend/scan-field/index.vue +++ b/zdxt-web-client/zdxt-admin-plus-ui/src/views/efcode/trend/scan-field/index.vue @@ -123,10 +123,10 @@ const currentField = () => { return { domainId: queryParams.field, domainName: item?.domainName }; }; -/** 当前选中的所属区(dictValue→districtCode,dictLabel→districtName) */ +/** 当前选中的所属区(dictLabel→districtName,不再传 districtCode) */ const currentArea = () => { const item = areaOptions.value.find((i: any) => i.dictValue === queryParams.area); - return { districtCode: queryParams.area, districtName: item?.dictLabel }; + return { districtName: item?.dictLabel }; }; const getList = async () => { From f22228d99a5193554c2417aac7cf27663519cb13 Mon Sep 17 00:00:00 2001 From: "wangmingyong@163.com" Date: Mon, 2 Nov 2026 09:40:48 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=AF=B9=E5=BA=94=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/efcode/trend/scan-district/index.vue | 5 ++--- .../src/views/efcode/trend/scan-enforcer/index.vue | 9 ++++++++- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/zdxt-web-client/zdxt-admin-plus-ui/src/views/efcode/trend/scan-district/index.vue b/zdxt-web-client/zdxt-admin-plus-ui/src/views/efcode/trend/scan-district/index.vue index 09256938..7af7c201 100644 --- a/zdxt-web-client/zdxt-admin-plus-ui/src/views/efcode/trend/scan-district/index.vue +++ b/zdxt-web-client/zdxt-admin-plus-ui/src/views/efcode/trend/scan-district/index.vue @@ -158,10 +158,10 @@ const buildTimeParams = (): ScanTimeParams => { return { startTime: queryParams.beginTime, endTime: queryParams.endTime }; }; -/** 当前选中的所属区(字典 dictValue→districtCode,dictLabel→districtName) */ +/** 当前选中的所属区(dictLabel→districtName,不再传 districtCode) */ const currentDistrict = () => { const item = areaOptions.value.find((i: any) => i.dictValue === queryParams.area); - return { districtCode: queryParams.area, districtName: item?.dictLabel }; + return { districtName: item?.dictLabel }; }; const getList = async () => { @@ -263,7 +263,6 @@ const getDetailList = async () => { if (!detailArea.value) return; const res = await listScanAreaDetails({ ...buildTimeParams(), - districtCode: detailArea.value.districtCode || queryParams.area, districtName: detailArea.value.districtName || detailArea.value.areaName || currentDistrict().districtName }); detailTableData.value = (res as any)?.rows || (Array.isArray(res) ? res : []); diff --git a/zdxt-web-client/zdxt-admin-plus-ui/src/views/efcode/trend/scan-enforcer/index.vue b/zdxt-web-client/zdxt-admin-plus-ui/src/views/efcode/trend/scan-enforcer/index.vue index 568e94d0..cee92ef4 100644 --- a/zdxt-web-client/zdxt-admin-plus-ui/src/views/efcode/trend/scan-enforcer/index.vue +++ b/zdxt-web-client/zdxt-admin-plus-ui/src/views/efcode/trend/scan-enforcer/index.vue @@ -110,7 +110,14 @@ const calcTableHeight = () => { const getList = async () => { loading.value = true; try { - const res = await listLawEnforcer(queryParams); + // 接口字段:区 → districtName(下拉绑定的是 dictLabel),领域 → bureauDeptName(传 domainName) + const { area, field, ...rest } = queryParams; + const domain = fieldOptions.value.find((i) => i.domainId === field); + const res = await listLawEnforcer({ + ...rest, + districtName: area, + bureauDeptName: domain?.domainName + }); tableData.value = (res as any)?.rows || []; total.value = (res as any)?.total || 0; } catch (e) {