diff --git a/src/api/biStatistics/index.js b/src/api/biStatistics/index.js index 1666d0e..e724c13 100644 --- a/src/api/biStatistics/index.js +++ b/src/api/biStatistics/index.js @@ -57,6 +57,6 @@ export const getCorpInfoCorpUserStatisticPage = declareRequest( "Post > @/basicInfo/corpInfo/corpUserStatisticPage", ); export const getFirePointDeviceList = declareRequest( - "xiaoFangFirePointDeviceListLoading", + "portXiaoFangFirePointDeviceListLoading", "Post > @/fireCheck/firePoint/deviceList", ); diff --git a/src/pages/Container/Map/components/BottomUtils/index.js b/src/pages/Container/Map/components/BottomUtils/index.js index fac5d2b..e71d4f7 100644 --- a/src/pages/Container/Map/components/BottomUtils/index.js +++ b/src/pages/Container/Map/components/BottomUtils/index.js @@ -107,7 +107,7 @@ function BottomUtils(props) { const check = !list[index].list[index1].check; if (check) { if (item1.request) { - const { data } = await props[item1.request]({ portArea, corpinfoId: currentBranchOffice }); + const { data } = await props[item1.request]({ portArea, corpinfoId: currentBranchOffice, pageIndex: 1, pageSize: 9999 }); mapMethods.current.addMarkPoint(data, { markType: item1.type, markIcon: item1.markIcon, diff --git a/src/pages/Container/Map/components/Content/port/XiaoFang/FireDeviceListPanel/index.js b/src/pages/Container/Map/components/Content/port/XiaoFang/FireDeviceListPanel/index.js index 311defa..33b109a 100644 --- a/src/pages/Container/Map/components/Content/port/XiaoFang/FireDeviceListPanel/index.js +++ b/src/pages/Container/Map/components/Content/port/XiaoFang/FireDeviceListPanel/index.js @@ -20,6 +20,8 @@ function FireDeviceListPanel(props) { const { data } = await props.getFirePointDeviceList({ portArea, ...queryParams, + pageIndex: 1, + pageSize: 9999, }); setDeviceList(data); setIsVisible(true); @@ -38,7 +40,7 @@ function FireDeviceListPanel(props) {