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) {