From 18f947caa16c33c9cc0514590c81c217d9f21c97 Mon Sep 17 00:00:00 2001 From: dzc <2388224167@qq.com> Date: Fri, 1 Aug 2025 20:48:53 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E7=BB=9F=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/admin/user.ts | 10 +- .../components/dept-total-table.vue | 0 src/views/hard/canteen-dept-total/index.vue | 105 ++++++++++++++++++ .../hard/canteen-product-total/index.vue | 29 +++-- .../wallet/wallet-recharge-invoice/index.vue | 2 +- .../wallet-recharge-invoice/print-dialog.vue | 6 +- 6 files changed, 130 insertions(+), 22 deletions(-) rename src/views/hard/{canteen-product-total => canteen-dept-total}/components/dept-total-table.vue (100%) create mode 100644 src/views/hard/canteen-dept-total/index.vue diff --git a/src/api/admin/user.ts b/src/api/admin/user.ts index 46e748a..b3240dc 100644 --- a/src/api/admin/user.ts +++ b/src/api/admin/user.ts @@ -17,11 +17,15 @@ export const list = () => { }) } -export const pageList = (params?: Object) => { +export const pageList = (query: any) => { return request({ url: "/admin/user/page", - method: "get", - params, + method: "post", + params: { + current: query.current, + size: query.size, + }, + data: query, }) } diff --git a/src/views/hard/canteen-product-total/components/dept-total-table.vue b/src/views/hard/canteen-dept-total/components/dept-total-table.vue similarity index 100% rename from src/views/hard/canteen-product-total/components/dept-total-table.vue rename to src/views/hard/canteen-dept-total/components/dept-total-table.vue diff --git a/src/views/hard/canteen-dept-total/index.vue b/src/views/hard/canteen-dept-total/index.vue new file mode 100644 index 0000000..da15848 --- /dev/null +++ b/src/views/hard/canteen-dept-total/index.vue @@ -0,0 +1,105 @@ + + + + + + \ No newline at end of file diff --git a/src/views/hard/canteen-product-total/index.vue b/src/views/hard/canteen-product-total/index.vue index 4597565..ae65468 100644 --- a/src/views/hard/canteen-product-total/index.vue +++ b/src/views/hard/canteen-product-total/index.vue @@ -40,34 +40,33 @@ - + - + - + - + - + diff --git a/src/views/wallet/wallet-recharge-invoice/index.vue b/src/views/wallet/wallet-recharge-invoice/index.vue index 7645947..bfccbc0 100644 --- a/src/views/wallet/wallet-recharge-invoice/index.vue +++ b/src/views/wallet/wallet-recharge-invoice/index.vue @@ -71,7 +71,7 @@ - + diff --git a/src/views/wallet/wallet-recharge-invoice/print-dialog.vue b/src/views/wallet/wallet-recharge-invoice/print-dialog.vue index 6481bbf..c722b64 100644 --- a/src/views/wallet/wallet-recharge-invoice/print-dialog.vue +++ b/src/views/wallet/wallet-recharge-invoice/print-dialog.vue @@ -89,9 +89,9 @@