|
@ -225,8 +225,8 @@ export default { |
|
|
currentPage: 1, //当前页 |
|
|
currentPage: 1, //当前页 |
|
|
pageSize: 20, //每页的容量 |
|
|
pageSize: 20, //每页的容量 |
|
|
total: 0, //列表总数 |
|
|
total: 0, //列表总数 |
|
|
sortBy: 4, |
|
|
sort_by: 4, |
|
|
sortOrder: 2, |
|
|
sort_order: 2, |
|
|
text: '',//下拉框显示具体文案 |
|
|
text: '',//下拉框显示具体文案 |
|
|
selectedDate: new Date(),//默认当天日期 |
|
|
selectedDate: new Date(),//默认当天日期 |
|
|
dataType: '', |
|
|
dataType: '', |
|
@ -340,15 +340,15 @@ export default { |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
handleSortChange({prop, order}) { |
|
|
handleSortChange({prop, order}) { |
|
|
this.sortBy = 4; |
|
|
this.sort_by = 4; |
|
|
this.sortOrder = 2; |
|
|
this.sort_order = 2; |
|
|
if (order == 'ascending') { |
|
|
if (order == 'ascending') { |
|
|
this.sortBy = prop; |
|
|
this.sort_by = prop; |
|
|
this.sortOrder = 1; |
|
|
this.sort_order = 1; |
|
|
} |
|
|
} |
|
|
if (order == 'descending') { |
|
|
if (order == 'descending') { |
|
|
this.sortBy = prop; |
|
|
this.sort_by = prop; |
|
|
this.sortOrder = 2; |
|
|
this.sort_order = 2; |
|
|
} |
|
|
} |
|
|
this.currentPage = 1; |
|
|
this.currentPage = 1; |
|
|
this.getRankingData() |
|
|
this.getRankingData() |
|
@ -403,8 +403,8 @@ export default { |
|
|
this.$http('POST', '/supernew/ajax_get_agent_batch_list', { |
|
|
this.$http('POST', '/supernew/ajax_get_agent_batch_list', { |
|
|
date: that.text, |
|
|
date: that.text, |
|
|
rank_type: that.dataRank, |
|
|
rank_type: that.dataRank, |
|
|
sortBy: that.sortBy, |
|
|
sort_by: that.sort_by, |
|
|
sortOrder: that.sortOrder, |
|
|
sort_order: that.sort_order, |
|
|
cur_page: that.currentPage, |
|
|
cur_page: that.currentPage, |
|
|
page_size: that.pageSize, |
|
|
page_size: that.pageSize, |
|
|
}).then(response => { |
|
|
}).then(response => { |
|
@ -422,8 +422,8 @@ export default { |
|
|
const that = this |
|
|
const that = this |
|
|
this.$http('POST', '/supernew/ajax_get_rank_recharge', { |
|
|
this.$http('POST', '/supernew/ajax_get_rank_recharge', { |
|
|
date: that.text, |
|
|
date: that.text, |
|
|
sortBy: that.sortBy, |
|
|
sort_by: that.sort_by, |
|
|
sortOrder: that.sortOrder, |
|
|
sort_order: that.sort_order, |
|
|
cur_page: that.currentPage, |
|
|
cur_page: that.currentPage, |
|
|
page_size: that.pageSize, |
|
|
page_size: that.pageSize, |
|
|
}).then(response => { |
|
|
}).then(response => { |
|
@ -442,8 +442,8 @@ export default { |
|
|
this.$http('POST', '/supernew/ajax_get_ver_batch_list', { |
|
|
this.$http('POST', '/supernew/ajax_get_ver_batch_list', { |
|
|
date: that.text, |
|
|
date: that.text, |
|
|
rank_type: that.dataRank, |
|
|
rank_type: that.dataRank, |
|
|
sortBy: that.sortBy, |
|
|
sort_by: that.sort_by, |
|
|
sortOrder: that.sortOrder, |
|
|
sort_order: that.sort_order, |
|
|
cur_page: that.currentPage, |
|
|
cur_page: that.currentPage, |
|
|
page_size: that.pageSize, |
|
|
page_size: that.pageSize, |
|
|
}).then(response => { |
|
|
}).then(response => { |
|
@ -463,8 +463,8 @@ export default { |
|
|
this.$http('POST', '/supernew/ajax_get_type_batch_list', { |
|
|
this.$http('POST', '/supernew/ajax_get_type_batch_list', { |
|
|
date: that.text, |
|
|
date: that.text, |
|
|
rank_type: that.dataRank, |
|
|
rank_type: that.dataRank, |
|
|
sortBy: that.sortBy, |
|
|
sort_by: that.sort_by, |
|
|
sortOrder: that.sortOrder, |
|
|
sort_order: that.sort_order, |
|
|
cur_page: that.currentPage, |
|
|
cur_page: that.currentPage, |
|
|
page_size: that.pageSize, |
|
|
page_size: that.pageSize, |
|
|
}).then(response => { |
|
|
}).then(response => { |
|
@ -485,8 +485,8 @@ export default { |
|
|
this.$http('POST', '/supernew/ajax_get_rank_detail', { |
|
|
this.$http('POST', '/supernew/ajax_get_rank_detail', { |
|
|
date: that.text, |
|
|
date: that.text, |
|
|
rank_type: that.dataRank, |
|
|
rank_type: that.dataRank, |
|
|
sortBy: 2, |
|
|
sort_by: 2, |
|
|
sortOrder: 2, |
|
|
sort_order: 2, |
|
|
...obj |
|
|
...obj |
|
|
}).then(response => { |
|
|
}).then(response => { |
|
|
this.$nextTick(() => { |
|
|
this.$nextTick(() => { |
|
|