|
|
@ -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 |
|
|
|