From 8aaf24605761be24b32f33194a13e5b2174db8e9 Mon Sep 17 00:00:00 2001 From: xingjx Date: Fri, 1 Dec 2023 13:09:05 +0800 Subject: [PATCH] =?UTF-8?q?fix():=E6=8E=A5=E5=8F=A3=E5=AF=B9=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ParkingBusinessAly/ParkingAlyReport/loadable.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 || {});