Commit 139ea625 authored by 张子雨's avatar 张子雨

feat: 修改分页传参字段

parent f9a4fdd5
......@@ -333,12 +333,12 @@ const AfterSale = props => {
rowKey: r => r.serviceNo,
request: async params => {
const [start, end] = params.afterTime || afterTime;
const { current: page, pageSize: size } = params;
const { current: pageNo, pageSize } = params;
const startDate = start ? moment(start).format('YYYY-MM-DD') : '';
const endDate = end ? moment(end).format('YYYY-MM-DD') : '';
const requestParams = {
page,
size,
pageNo,
pageSize,
...params,
startDate,
endDate,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment