fix(report): 修复工单统计接口分页参数错误
- 将请求参数中的 `page` 和 `paseSize` 更正为 `pageNo` 和 `pageSize` - 确保分页查询能正确发送到后端接口 - 统一接口调用参数命名规范,避免因拼写错误导致的数据获取异常
This commit is contained in:
@@ -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} })
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user