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

add query

parent e3922f0a
......@@ -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()
}
})
},
......
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