fix(report): 修复工单统计接口分页参数错误

- 将请求参数中的 `page` 和 `paseSize` 更正为 `pageNo` 和 `pageSize`
- 确保分页查询能正确发送到后端接口
- 统一接口调用参数命名规范,避免因拼写错误导致的数据获取异常
This commit is contained in:
2025-12-16 12:21:16 +08:00
parent 84aa28af3a
commit 10611efc00

View File

@@ -136,7 +136,7 @@ export const batchGetTableList = (reportCodes: string, data?) => {
// 统计周期 cycle: daymonthyear 对应月日年 // 统计周期 cycle: daymonthyear 对应月日年
export const getWorkOrderStatistics = (data: {workOrderType: string, taskType: string, campus_id?: string}) => { 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} })
} }