fix: pageNo error

This commit is contained in:
xingyu4j
2025-06-24 21:28:14 +08:00
parent 34730ab1a0
commit d258af35d7
18 changed files with 21 additions and 21 deletions

View File

@@ -127,7 +127,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
ajax: {
query: async ({ page }, formValues) => {
return await getContractPage({
page: page.currentPage,
pageNo: page.currentPage,
pageSize: page.pageSize,
sceneType: sceneType.value,
...formValues,

View File

@@ -63,14 +63,14 @@ const [Grid, gridApi] = useVbenVxeGrid({
query: async ({ page }, formValues) => {
if (props.bizType === BizTypeEnum.CRM_CUSTOMER) {
return await getContractPageByCustomer({
page: page.currentPage,
pageNo: page.currentPage,
pageSize: page.pageSize,
customerId: props.bizId,
...formValues,
});
} else if (props.bizType === BizTypeEnum.CRM_CONTACT) {
return await getContractPageByBusiness({
page: page.currentPage,
pageNo: page.currentPage,
pageSize: page.pageSize,
businessId: props.bizId,
...formValues,