From a23f6b140ee6de19e74b4effbe8102f018293a3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=AE=BF=E6=98=95?= Date: Wed, 18 Nov 2020 19:28:45 +0800 Subject: [PATCH] add query --- src/pages/authority/user/money.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/authority/user/money.vue b/src/pages/authority/user/money.vue index 8e63863..e68572a 100644 --- a/src/pages/authority/user/money.vue +++ b/src/pages/authority/user/money.vue @@ -110,7 +110,6 @@ export default { watch: {}, computed: {}, created() { - this.refreshData() this.user_info() }, mounted() { @@ -194,7 +193,7 @@ export default { refreshData(){ this.$http .get( - `/apaas/backmgt/user/rechargeRecords?start=${this.search_date[0]||''}&end=${this.search_date[1]||''}&limit=${this.currentlimit}&page=${this.currentPage}` + `/apaas/backmgt/user/rechargeRecords?user_id=${this.user_info1.user_id}&start=${this.search_date[0]||''}&end=${this.search_date[1]||''}&limit=${this.currentlimit}&page=${this.currentPage}` ).then((res)=>{ if(res.data.success){ console.log(res.data.data); @@ -210,7 +209,8 @@ export default { ).then((res)=>{ if(res.data.success){ console.log(res.data.data); - this.user_info1 = res.data.data + this.user_info1 = res.data.data; + this.refreshData() } }) }, -- 2.26.0