From 10611efc003491520b8a65f7d117cfbebbbb3d66 Mon Sep 17 00:00:00 2001 From: yang chen Date: Tue, 16 Dec 2025 12:21:16 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix(report):=20=E4=BF=AE=E5=A4=8D=E5=B7=A5?= =?UTF-8?q?=E5=8D=95=E7=BB=9F=E8=AE=A1=E6=8E=A5=E5=8F=A3=E5=88=86=E9=A1=B5?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将请求参数中的 `page` 和 `paseSize` 更正为 `pageNo` 和 `pageSize` - 确保分页查询能正确发送到后端接口 - 统一接口调用参数命名规范,避免因拼写错误导致的数据获取异常 --- src/views/screen/report/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/screen/report/index.ts b/src/views/screen/report/index.ts index 8a5584d..9319ee0 100644 --- a/src/views/screen/report/index.ts +++ b/src/views/screen/report/index.ts @@ -136,7 +136,7 @@ export const batchGetTableList = (reportCodes: string, data?) => { // 统计周期 cycle: day,month,year 对应月日年 export const getWorkOrderStatistics = (data: {workOrderType: string, taskType: string, campus_id?: string}) => { - return request.post({ url: '/jeelowcode/report-data/list/report_work_order_statistics', data: {...data, page: 1, paseSize: 1} }) + return request.post({ url: '/jeelowcode/report-data/list/report_work_order_statistics', data: {...data, pageNo: 1, pageSize: 1} }) } From 751794ad13ca4463d7247ea091f437b98bee7726 Mon Sep 17 00:00:00 2001 From: yang chen Date: Tue, 16 Dec 2025 12:22:28 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix(report):=20=E8=B0=83=E6=95=B4=E5=B7=A5?= =?UTF-8?q?=E5=8D=95=E7=BB=9F=E8=AE=A1=E6=8E=A5=E5=8F=A3=E5=88=86=E9=A1=B5?= =?UTF-8?q?=E5=A4=A7=E5=B0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将工单统计接口的分页大小从1调整为10 - 确保接口能返回完整的统计数据 - 避免因分页过小导致的数据截断问题 --- src/views/screen/report/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/screen/report/index.ts b/src/views/screen/report/index.ts index 9319ee0..6e5ec6d 100644 --- a/src/views/screen/report/index.ts +++ b/src/views/screen/report/index.ts @@ -136,7 +136,7 @@ export const batchGetTableList = (reportCodes: string, data?) => { // 统计周期 cycle: day,month,year 对应月日年 export const getWorkOrderStatistics = (data: {workOrderType: string, taskType: string, campus_id?: string}) => { - return request.post({ url: '/jeelowcode/report-data/list/report_work_order_statistics', data: {...data, pageNo: 1, pageSize: 1} }) + return request.post({ url: '/jeelowcode/report-data/list/report_work_order_statistics', data: {...data, pageNo: 1, pageSize: 10} }) }