Commit c757d89b authored by 罗超's avatar 罗超

1

parent 99da97ec
...@@ -35,8 +35,8 @@ ...@@ -35,8 +35,8 @@
</div> </div>
</div> </div>
<div class="row items-center q-my-lg"> <div class="row items-center q-my-lg">
<div class="col flex q-pl-lg"> <div class="col no-wrap flex q-pl-lg">
<img src="../../assets/images/newindex/bonus.png" alt=""> <img src="../../assets/images/newindex/bonus.png" alt="" style="width:62px;height:62px;">
<div class="flex content-between q-pl-lg"> <div class="flex content-between q-pl-lg">
<div class="full-width block-name">{{tab==1?"月":"年"}}度总奖金</div> <div class="full-width block-name">{{tab==1?"月":"年"}}度总奖金</div>
<div class="block-num flex items-baseline"><span class="block-icon">¥</span> <div class="block-num flex items-baseline"><span class="block-icon">¥</span>
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
</div> </div>
</div> </div>
<div class="q-pr-md"> <div class="q-pr-md">
<VueApexCharts width="105" height="105" :options="chartOptions4" :series="series4"></VueApexCharts> <VueApexCharts width="80%" height="105" :options="chartOptions4" :series="series4"></VueApexCharts>
</div> </div>
</div> </div>
<template v-if="tab==1"> <template v-if="tab==1">
...@@ -172,6 +172,10 @@ ...@@ -172,6 +172,10 @@
fixed: { fixed: {
enabled: false enabled: false
} }
},
legend: {
position: 'right',
show: true,
} }
}, },
//查询参数 //查询参数
...@@ -255,6 +259,7 @@ ...@@ -255,6 +259,7 @@
} }
} }
}; };
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.bonus { .bonus {
...@@ -374,6 +379,7 @@ ...@@ -374,6 +379,7 @@
font-size: 14px; font-size: 14px;
font-weight: 500; font-weight: 500;
color: #999999; color: #999999;
white-space:nowrap;
} }
} }
} }
...@@ -394,4 +400,5 @@ ...@@ -394,4 +400,5 @@
color: #2961FE !important; color: #2961FE !important;
font-size: 12px; font-size: 12px;
} }
</style>
\ No newline at end of file </style>
...@@ -282,9 +282,7 @@ ...@@ -282,9 +282,7 @@
getData() { getData() {
GetSellStatistics(this.msg).then(res => { GetSellStatistics(this.msg).then(res => {
this.commissionData = res.Data this.commissionData = res.Data
this.series4 = [res.Data.NewSaleMoney, res.Data.RenewSaleMoney] this.series4 = [res.Data.NewSaleMoney, res.Data.RenewSaleMoney]
console.log(321, this.series4)
}) })
}, },
getList() { getList() {
......
...@@ -13,12 +13,14 @@ export const formatPrice = (price, type = 1) => { ...@@ -13,12 +13,14 @@ export const formatPrice = (price, type = 1) => {
} }
export const formatInt = (price) => { export const formatInt = (price) => {
if (price < 9999) { if (price < 10000) {
return parseInt(price) return parseInt(price)
} else { } else if (price >= 10000){
const s = parseInt(price).toString().slice(0, -4); const s = parseInt(price).toString().slice(0, -4);
const e = parseInt(price).toString().slice(-4, -3) const e = parseInt(price).toString().slice(-4, -3)
return s + '.' + e return s + '.' + e
} else {
return 0
} }
} }
export const formatDecimal = (price=0) => { export const formatDecimal = (price=0) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment