Browse Source

充值排行

pull/3/head
pengda 4 weeks ago
parent
commit
956e580027
  1. 1
      .env.development
  2. 23
      src/views/super/Ranking/RankBatchList.vue
  3. 2
      vue.config.js

1
.env.development

@ -1 +0,0 @@
VUE_APP_BASE_API=http://adm.pengda.checkcopy.com/api

23
src/views/super/Ranking/RankBatchList.vue

@ -366,12 +366,8 @@ export default {
this.setLabelText();
if (this.dataType == 'agent') {
if (this.dataRank == 4) {
this.getAgentRecharge()
} else {
this.getAgentRanking()
}
}
if (this.dataType == 'ver_type') {
this.getVerRanking()
}
@ -419,25 +415,6 @@ export default {
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() {
//
const that = this

2
vue.config.js

@ -4,7 +4,7 @@ module.exports = {
devServer: {
proxy: {
'/supernew': {
target: 'http://adm.pengda.checkcopy.com/api',
target: 'http://adminnew.pengda.checkcopy.com/',
changeOrigin: true,
}
}

Loading…
Cancel
Save