From b29210567f3262cbc2c9e28d7d0fa527c094b3fb Mon Sep 17 00:00:00 2001 From: pengda <10266652509@qq.com> Date: Fri, 25 Apr 2025 15:45:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=80=BB=E6=95=B0=E6=98=BE?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/super/Ranking/RankBatchList.vue | 2 +- src/views/super/Ranking/RankDetail.vue | 2 +- src/views/super/Ranking/RankList.vue | 13 +++++++++++-- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/src/views/super/Ranking/RankBatchList.vue b/src/views/super/Ranking/RankBatchList.vue index d2e6b20..277a353 100644 --- a/src/views/super/Ranking/RankBatchList.vue +++ b/src/views/super/Ranking/RankBatchList.vue @@ -204,7 +204,7 @@ export default { 'year': '年份', }, rank_type_desc: { - 1: '毛利润/元', + 1: '毛利润', 2: '订单数', 3: '退单数', 4: '充值金额', diff --git a/src/views/super/Ranking/RankDetail.vue b/src/views/super/Ranking/RankDetail.vue index e0f1745..53f5d6e 100644 --- a/src/views/super/Ranking/RankDetail.vue +++ b/src/views/super/Ranking/RankDetail.vue @@ -273,7 +273,7 @@ export default { 'year': '年份', }, rank_type_desc: { - 1: '毛利润/元', + 1: '毛利润', 2: '订单数', 3: '退单数', }, diff --git a/src/views/super/Ranking/RankList.vue b/src/views/super/Ranking/RankList.vue index a0c8f3e..fd84347 100644 --- a/src/views/super/Ranking/RankList.vue +++ b/src/views/super/Ranking/RankList.vue @@ -12,7 +12,12 @@ @change="handleDateChange"/> </CustomDropdown> </div> - <div class=" flex-common" id=""> + <div class=" flex-common"> + <div v-if="total_value>0" style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px;"> + <h3 style="margin: 0;"></h3> + <span style="font-size: 14px; color: #999;">总{{ rank_type_desc[dataRank] }}:{{ total_value }}</span> + </div> + <el-form> <el-table :data="tableData" :key="dataRank" @@ -238,7 +243,7 @@ export default { data() { return { rank_type_desc: { - 1: '毛利润/元', + 1: '毛利润', 2: '订单数', 3: '退单数', }, @@ -270,6 +275,7 @@ export default { dataType: '', dataRank: '', tableData: [], + total_value: 0, tableData1: [], growth_list: [], top_list: [], @@ -476,6 +482,7 @@ export default { }).then(response => { this.$nextTick(() => { that.tableData = response.data.list + that.total_value = response.data.total_value that.growth_list = response.data.growth_list that.total = response.data.total if (that.showfilterTitle) that.filterTitle = response.data.title @@ -498,6 +505,7 @@ export default { }).then(response => { this.$nextTick(() => { that.tableData = response.data.list + that.total_value = response.data.total_value that.top_list = response.data.top_list that.growth_list = response.data.growth_list that.total = response.data.total @@ -521,6 +529,7 @@ export default { }).then(response => { this.$nextTick(() => { that.tableData = response.data.list + that.total_value = response.data.total_value that.top_list = response.data.top_list that.growth_list = response.data.growth_list that.total = response.data.total