diff --git a/.env.development b/.env.development deleted file mode 100644 index 71001b6..0000000 --- a/.env.development +++ /dev/null @@ -1 +0,0 @@ -VUE_APP_BASE_API=http://adm.pengda.checkcopy.com/api \ No newline at end of file diff --git a/src/views/super/Ranking/RankBatchList.vue b/src/views/super/Ranking/RankBatchList.vue index ebbdade..d2e6b20 100644 --- a/src/views/super/Ranking/RankBatchList.vue +++ b/src/views/super/Ranking/RankBatchList.vue @@ -366,11 +366,7 @@ export default { this.setLabelText(); if (this.dataType == 'agent') { - if (this.dataRank == 4) { - this.getAgentRecharge() - } else { - this.getAgentRanking() - } + 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 diff --git a/vue.config.js b/vue.config.js index 9bcc9ff..f53de62 100755 --- a/vue.config.js +++ b/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, } }