From 66d5d27fb8e41b51d913d3393bf7280f9a3e12f7 Mon Sep 17 00:00:00 2001 From: LiuJiaNan <15703339975@163.com> Date: Thu, 23 Jul 2026 14:03:42 +0800 Subject: [PATCH] =?UTF-8?q?refactor(map):=20branchOffice=20XiaoFang?= =?UTF-8?q?=E5=AF=B9=E6=8E=A5=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/biStatistics/index.js | 6 +++--- .../XiaoFang/VolunteerFireTeamPanel/index.js | 16 +++++++++------- .../XiaoFang/VolunteerFireTeamPanel/index.less | 2 +- 3 files changed, 13 insertions(+), 11 deletions(-) diff --git a/src/api/biStatistics/index.js b/src/api/biStatistics/index.js index 5c53cd8..58a32b9 100644 --- a/src/api/biStatistics/index.js +++ b/src/api/biStatistics/index.js @@ -112,7 +112,7 @@ export const getSensorDeviceFireSituation = declareRequest( "getSensorDeviceFireSituationLoading", "Post > @/iotalarm/sensorDevice/fireSituation", ); -export const getFireBrigadeList = declareRequest( - "getFireBrigadeListLoading", - "Post > @/fireAlarm/fireBrigade/list", +export const getFireBrigadeMemberScreenList = declareRequest( + "getFireBrigadeMemberScreenListLoading", + "Post > @/fireAlarm/fireBrigade/member/screen/list", ); diff --git a/src/pages/Container/Map/components/Content/branchOffice/XiaoFang/VolunteerFireTeamPanel/index.js b/src/pages/Container/Map/components/Content/branchOffice/XiaoFang/VolunteerFireTeamPanel/index.js index 19d9dd8..e82d7ed 100644 --- a/src/pages/Container/Map/components/Content/branchOffice/XiaoFang/VolunteerFireTeamPanel/index.js +++ b/src/pages/Container/Map/components/Content/branchOffice/XiaoFang/VolunteerFireTeamPanel/index.js @@ -14,9 +14,9 @@ function VolunteerFireTeamPanel(props) { useEffect(() => { const loadRecords = async () => { - const { data = [] } = await props.getFireBrigadeList({ + const { data = [] } = await props.getFireBrigadeMemberScreenList({ portArea, - corpId: currentBranchOffice, + corpinfoId: currentBranchOffice, pageIndex: 1, pageSize: 9999, }); @@ -33,21 +33,23 @@ function VolunteerFireTeamPanel(props) {