From b36c2fdcf49fb7c8b528c35dd075a21f189cbd58 Mon Sep 17 00:00:00 2001 From: ronger Date: Tue, 28 Dec 2021 23:20:30 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=20=E6=88=91=E7=9A=84=E9=92=B1?= =?UTF-8?q?=E5=8C=85-=E4=BA=A4=E6=98=93=E8=AE=B0=E5=BD=95=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E6=97=B6=E9=97=B4=E6=AE=B5=E6=A3=80=E7=B4=A2=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/common/bank/account/records.vue | 186 +++++++++++++++++++++ components/widget/portfolios.vue | 1 - pages/wallet.vue | 172 +------------------ store/wallet.js | 5 +- 4 files changed, 197 insertions(+), 167 deletions(-) create mode 100644 components/common/bank/account/records.vue diff --git a/components/common/bank/account/records.vue b/components/common/bank/account/records.vue new file mode 100644 index 0000000..6772688 --- /dev/null +++ b/components/common/bank/account/records.vue @@ -0,0 +1,186 @@ + + + + + diff --git a/components/widget/portfolios.vue b/components/widget/portfolios.vue index 677f44b..f6fb7d8 100644 --- a/components/widget/portfolios.vue +++ b/components/widget/portfolios.vue @@ -1,6 +1,5 @@ diff --git a/store/wallet.js b/store/wallet.js index 030f444..10ecda9 100644 --- a/store/wallet.js +++ b/store/wallet.js @@ -58,7 +58,7 @@ export const actions = { return Promise.reject(error) }) }, - // 获取账户详情 + // 获取账户交易记录 fetchTransactionRecordList({commit}, params = {}) { commit('updateTransactionRecordListFetching', true) return this.$axios @@ -66,7 +66,8 @@ export const actions = { params: { idUser: params.idUser, startDate: params.startDate, - endDate: params.endDate + endDate: params.endDate, + page: params.page || 1 } }) .then(response => {