From 0f51176cee16ffb453ffd3e1f39313cd94abf95e Mon Sep 17 00:00:00 2001 From: gyq <875626088@qq.com> Date: Tue, 20 Feb 2024 13:47:46 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A2=E5=8D=95=E6=96=B0=E5=A2=9E=E5=88=86?= =?UTF-8?q?=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/shop.js | 5 +++-- src/views/order/order_list.vue | 6 ++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/api/shop.js b/src/api/shop.js index 4cdfd44..581396d 100644 --- a/src/api/shop.js +++ b/src/api/shop.js @@ -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 }) } diff --git a/src/views/order/order_list.vue b/src/views/order/order_list.vue index ae9f119..10b7f46 100644 --- a/src/views/order/order_list.vue +++ b/src/views/order/order_list.vue @@ -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