Commit a23f6b14 authored by 刘殿昕's avatar 刘殿昕

add query

parent e3922f0a
...@@ -110,7 +110,6 @@ export default { ...@@ -110,7 +110,6 @@ export default {
watch: {}, watch: {},
computed: {}, computed: {},
created() { created() {
this.refreshData()
this.user_info() this.user_info()
}, },
mounted() { mounted() {
...@@ -194,7 +193,7 @@ export default { ...@@ -194,7 +193,7 @@ export default {
refreshData(){ refreshData(){
this.$http this.$http
.get( .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)=>{ ).then((res)=>{
if(res.data.success){ if(res.data.success){
console.log(res.data.data); console.log(res.data.data);
...@@ -210,7 +209,8 @@ export default { ...@@ -210,7 +209,8 @@ export default {
).then((res)=>{ ).then((res)=>{
if(res.data.success){ if(res.data.success){
console.log(res.data.data); console.log(res.data.data);
this.user_info1 = res.data.data this.user_info1 = res.data.data;
this.refreshData()
} }
}) })
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment