From 8626bccc4c7258a3676ef6174de3262a8f88397a Mon Sep 17 00:00:00 2001 From: jason <2667446@qq.com> Date: Mon, 16 Oct 2023 22:32:10 +0800 Subject: [PATCH] =?UTF-8?q?=E9=92=B1=E5=8C=85=20-=20=E9=92=B1=E5=8C=85?= =?UTF-8?q?=E4=BD=99=E9=A2=9D=E6=B5=81=E6=B0=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/pay/wallet/transaction/index.ts | 14 +++ src/views/pay/wallet/balance/WalletForm.vue | 91 ++----------------- src/views/pay/wallet/balance/index.vue | 20 +--- .../transaction/WalletTransactionList.vue | 68 ++++++++++++++ 4 files changed, 94 insertions(+), 99 deletions(-) create mode 100644 src/api/pay/wallet/transaction/index.ts create mode 100644 src/views/pay/wallet/transaction/WalletTransactionList.vue diff --git a/src/api/pay/wallet/transaction/index.ts b/src/api/pay/wallet/transaction/index.ts new file mode 100644 index 00000000..3377ffaa --- /dev/null +++ b/src/api/pay/wallet/transaction/index.ts @@ -0,0 +1,14 @@ +import request from '@/config/axios' + +export interface WalletTransactionVO { + id: number + walletId: number + title: string + price: number + balance: number +} + +// 查询会员钱包流水列表 +export const getWalletTransactionPage = async (params) => { + return await request.get({ url: `/pay/wallet-transaction/page`, params }) +} diff --git a/src/views/pay/wallet/balance/WalletForm.vue b/src/views/pay/wallet/balance/WalletForm.vue index a633a1be..8173e123 100644 --- a/src/views/pay/wallet/balance/WalletForm.vue +++ b/src/views/pay/wallet/balance/WalletForm.vue @@ -1,99 +1,22 @@ diff --git a/src/views/pay/wallet/balance/index.vue b/src/views/pay/wallet/balance/index.vue index 58754fea..e4c19c6e 100644 --- a/src/views/pay/wallet/balance/index.vue +++ b/src/views/pay/wallet/balance/index.vue @@ -46,9 +46,6 @@ 搜索 重置 - - 新增 - @@ -84,14 +81,7 @@ /> @@ -104,8 +94,8 @@ /> - - + + +