From 956e580027acdcf6e51a66b0c066fc3cc1124f40 Mon Sep 17 00:00:00 2001 From: pengda <10266652509@qq.com> Date: Fri, 25 Apr 2025 13:36:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=85=E5=80=BC=E6=8E=92=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 1 - src/views/super/Ranking/RankBatchList.vue | 25 +------------------------ vue.config.js | 2 +- 3 files changed, 2 insertions(+), 26 deletions(-) delete mode 100644 .env.development 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, } }