Browse Source

余额管理

zq-0828-newMenu
pengda 3 weeks ago
parent
commit
6b15ba303f
  1. 16
      src/views/agent/recharge.vue

16
src/views/agent/recharge.vue

@ -275,7 +275,10 @@ export default {
}, },
handleClick(){ handleClick(){
this.tableList = [] this.tableList = []
this.total = 0
this.total_money = 0 this.total_money = 0
this.currentPage = 1
this.pageSize = 20
if(this.totalType == 1) this.getRechargeData() if(this.totalType == 1) this.getRechargeData()
if(this.totalType == 2) this.getRechargeList() if(this.totalType == 2) this.getRechargeList()
if(this.totalType == 3) this.getRefundList() if(this.totalType == 3) this.getRefundList()
@ -321,10 +324,15 @@ export default {
getRefundList() { getRefundList() {
this.tableLoading = true this.tableLoading = true
try { try {
this.$http('POST', '/agentnew/ajax_get_cancel_check_list', {date: this.date}).then(response => { this.$http('POST', '/agentnew/ajax_get_cancel_check_list', {
date: this.date,
cur_page: this.currentPage,
page_size: this.pageSize
}).then(response => {
this.tableLoading = false this.tableLoading = false
this.$nextTick(() => { this.$nextTick(() => {
this.tableList = response.data.list this.tableList = response.data.list
this.total = response.data.total
this.tid2refunds = response.data.tid2refunds this.tid2refunds = response.data.tid2refunds
}) })
}).catch(error => { }).catch(error => {
@ -368,11 +376,13 @@ export default {
}, },
handleSizeChange(val) { handleSizeChange(val) {
this.pageSize = val this.pageSize = val
this.getRechargeList() if(this.totalType == 2) this.getRechargeList()
if(this.totalType == 3) this.getRefundList()
}, },
handleCurrentChange(val) { handleCurrentChange(val) {
this.currentPage = val this.currentPage = val
this.getRechargeList() if(this.totalType == 2) this.getRechargeList()
if(this.totalType == 3) this.getRefundList()
}, },
handleShowInfo(id, tid){ handleShowInfo(id, tid){
this.dialogVisible = true this.dialogVisible = true

Loading…
Cancel
Save