diff --git a/src/pages/DataAnalysisPrediction/ParkingBusinessAly/ParkingAlyReport/loadable.jsx b/src/pages/DataAnalysisPrediction/ParkingBusinessAly/ParkingAlyReport/loadable.jsx index 553e1a5..fff96cc 100644 --- a/src/pages/DataAnalysisPrediction/ParkingBusinessAly/ParkingAlyReport/loadable.jsx +++ b/src/pages/DataAnalysisPrediction/ParkingBusinessAly/ParkingAlyReport/loadable.jsx @@ -201,12 +201,12 @@ function ParkingAlyReport() { }; // 获取排行榜列表数据 - const getListData = (v) => { + const getListData = (v, pn = {}) => { let postData = { ...formData }; if (!loading) { postData = { ...holdData }; } - setDefaultParams({ ...postData, ...pageInfo }); + setDefaultParams({ ...postData, ...pageInfo, ...pn }); if (moment(formData.end_time) - moment(formData.start_time) > 1000 * 31 * 24 * 3600) { message.error("时间范围限制为31天!") setLoading(false); @@ -214,7 +214,7 @@ function ParkingAlyReport() { return } setTabLoading(true); - ajax.getParkingAlyReportList({ ...postData, ...v, ...pageInfo }).then( + ajax.getParkingAlyReportList({ ...postData, ...v, ...pageInfo, ...pn }).then( (res) => { if (parseInt(res?.status) === 20000) { setResultData(res?.data || {});