From 24db32396383d9929fd615024c00d1b4c9aa7ab5 Mon Sep 17 00:00:00 2001 From: pengda <1111@qq.com> Date: Wed, 24 Sep 2025 17:21:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=99=E9=A2=9D=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/agent/recharge.vue | 74 ++++++++++++++++++++++++++++++++++---------- 1 file changed, 58 insertions(+), 16 deletions(-) diff --git a/src/views/agent/recharge.vue b/src/views/agent/recharge.vue index 7e77b97..3519bed 100644 --- a/src/views/agent/recharge.vue +++ b/src/views/agent/recharge.vue @@ -88,17 +88,57 @@ @@ -167,6 +207,7 @@ export default { pageSize: 20, //每页的容量 total: 0, //列表总数 total_money: 0, //列表总数 + tid2refunds: [], //列表总数 confirmBtnStyle: { 'background':'#FF4D4F', @@ -213,10 +254,10 @@ export default { }, handleClick(){ this.tableList = [] - this.tableKey = Math.random(); + this.total_money = 0 if(this.totalType == 1) this.getRechargeData() if(this.totalType == 2) this.getRechargeList() - if(this.totalType == 3) this.getChktypeStats() + if(this.totalType == 3) this.getRefundList() }, getRechargeData() { try { @@ -245,7 +286,7 @@ export default { this.tableList = response.data.list this.total = response.data.total this.total_money = response.data.total_money - console.log(this.total_money) + this.tableKey = Math.random(); }) }).catch(error => { console.error(error, 'error') @@ -256,13 +297,14 @@ export default { this.tableLoading = false } }, - getChktypeStats() { + getRefundList() { this.tableLoading = true try { - this.$http('POST', '/agentnew/ajax_get_chktype_stats', {date: this.date}).then(response => { + this.$http('POST', '/agentnew/ajax_get_cancel_check_list', {date: this.date}).then(response => { this.tableLoading = false this.$nextTick(() => { this.tableList = response.data.list + this.tid2refunds = response.data.tid2refunds }) }).catch(error => { console.error(error, 'error')