订单新增分页

This commit is contained in:
gyq
2024-02-20 13:47:46 +08:00
parent 64c0ec97c9
commit 0f51176cee
2 changed files with 7 additions and 4 deletions

View File

@@ -290,9 +290,10 @@ export function queryOrgan() {
* @param {*} data
* @returns
*/
export function queryOrder() {
export function queryOrder(data) {
return request({
method: 'post',
url: '/open/queryOrder'
url: '/open/queryOrder',
data
})
}

View File

@@ -118,10 +118,12 @@ function paginationChange() {
getUserMarkAjax()
}
// 获取创客审核列表
async function getUserMarkAjax() {
try {
const res = await queryOrder()
const res = await queryOrder({
page: tableOptions.pageNum,
pageSize: tableOptions.pageSize
})
tableOptions.loading = false
tableOptions.list = res.list
tableOptions.total = res.total