|
|
@ -275,7 +275,10 @@ export default { |
|
|
|
}, |
|
|
|
handleClick(){ |
|
|
|
this.tableList = [] |
|
|
|
this.total = 0 |
|
|
|
this.total_money = 0 |
|
|
|
this.currentPage = 1 |
|
|
|
this.pageSize = 20 |
|
|
|
if(this.totalType == 1) this.getRechargeData() |
|
|
|
if(this.totalType == 2) this.getRechargeList() |
|
|
|
if(this.totalType == 3) this.getRefundList() |
|
|
@ -321,10 +324,15 @@ export default { |
|
|
|
getRefundList() { |
|
|
|
this.tableLoading = true |
|
|
|
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.$nextTick(() => { |
|
|
|
this.tableList = response.data.list |
|
|
|
this.total = response.data.total |
|
|
|
this.tid2refunds = response.data.tid2refunds |
|
|
|
}) |
|
|
|
}).catch(error => { |
|
|
@ -368,11 +376,13 @@ export default { |
|
|
|
}, |
|
|
|
handleSizeChange(val) { |
|
|
|
this.pageSize = val |
|
|
|
this.getRechargeList() |
|
|
|
if(this.totalType == 2) this.getRechargeList() |
|
|
|
if(this.totalType == 3) this.getRefundList() |
|
|
|
}, |
|
|
|
handleCurrentChange(val) { |
|
|
|
this.currentPage = val |
|
|
|
this.getRechargeList() |
|
|
|
if(this.totalType == 2) this.getRechargeList() |
|
|
|
if(this.totalType == 3) this.getRefundList() |
|
|
|
}, |
|
|
|
handleShowInfo(id, tid){ |
|
|
|
this.dialogVisible = true |
|
|
|