|
@ -366,11 +366,7 @@ export default { |
|
|
this.setLabelText(); |
|
|
this.setLabelText(); |
|
|
|
|
|
|
|
|
if (this.dataType == 'agent') { |
|
|
if (this.dataType == 'agent') { |
|
|
if (this.dataRank == 4) { |
|
|
this.getAgentRanking() |
|
|
this.getAgentRecharge() |
|
|
|
|
|
} else { |
|
|
|
|
|
this.getAgentRanking() |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
} |
|
|
if (this.dataType == 'ver_type') { |
|
|
if (this.dataType == 'ver_type') { |
|
|
this.getVerRanking() |
|
|
this.getVerRanking() |
|
@ -419,25 +415,6 @@ export default { |
|
|
console.error(error, 'error') |
|
|
console.error(error, 'error') |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
getAgentRecharge() { |
|
|
|
|
|
//充值排行 |
|
|
|
|
|
const that = this |
|
|
|
|
|
this.$http('POST', '/supernew/ajax_get_rank_recharge', { |
|
|
|
|
|
date: that.text, |
|
|
|
|
|
sort_by: that.sort_by, |
|
|
|
|
|
sort_order: that.sort_order, |
|
|
|
|
|
cur_page: that.currentPage, |
|
|
|
|
|
page_size: that.pageSize, |
|
|
|
|
|
}).then(response => { |
|
|
|
|
|
this.$nextTick(() => { |
|
|
|
|
|
that.tableData = response.data.list |
|
|
|
|
|
that.growth_list = response.data.growth_list |
|
|
|
|
|
that.total = response.data.total |
|
|
|
|
|
}) |
|
|
|
|
|
}).catch(error => { |
|
|
|
|
|
console.error(error, 'error') |
|
|
|
|
|
}) |
|
|
|
|
|
}, |
|
|
|
|
|
getVerRanking() { |
|
|
getVerRanking() { |
|
|
//品牌排行 |
|
|
//品牌排行 |
|
|
const that = this |
|
|
const that = this |
|
|