Commit 41f3747f13f6b04d2c5449e9e3217693277240f8
1 parent
6584fce2
金额 分处理成元
Showing
3 changed files
with
7 additions
and
6 deletions
src/components/chinaMap/index.vue
@@ -13,7 +13,7 @@ | @@ -13,7 +13,7 @@ | ||
13 | <table class="parkTotalTb"> | 13 | <table class="parkTotalTb"> |
14 | <tr> | 14 | <tr> |
15 | <td><div class="memberTotalImg"></div></td> | 15 | <td><div class="memberTotalImg"></div></td> |
16 | - <td><div class="infoBox"><div><countTo :startVal='memberParams.startVal' :endVal='getParkingTotal' :duration='animationTime'></countTo></div><div>会员总数</div></div> </td> | 16 | + <td><div class="infoBox"><div><countTo :startVal='memberParams.startVal' :endVal='getParkingTotal' :duration='animationTime'></countTo></div><div>用户总数</div></div> </td> |
17 | </tr> | 17 | </tr> |
18 | </table> | 18 | </table> |
19 | </div> | 19 | </div> |
src/components/incomeOverview/index.vue
@@ -43,10 +43,11 @@ | @@ -43,10 +43,11 @@ | ||
43 | }).then((response)=>{ | 43 | }).then((response)=>{ |
44 | let data = response.data.data | 44 | let data = response.data.data |
45 | this.incomeTotal = data.totalPay | 45 | this.incomeTotal = data.totalPay |
46 | - this.incomeTotal = common.formatNumToStr(this.incomeTotal) | ||
47 | - this.barChartOption.barColor[0].value = data.aliPay | ||
48 | - this.barChartOption.barColor[1].value = data.wxPay | ||
49 | - this.barChartOption.barColor[2].value = data.otherPay | 46 | + //this.incomeTotal = common.formatNumToStr(this.incomeTotal) |
47 | + this.incomeTotal = common.formatNumToStr(Math.round(this.incomeTotal)/100) | ||
48 | + this.barChartOption.barColor[0].value = Math.round(data.aliPay/100) | ||
49 | + this.barChartOption.barColor[1].value = Math.round(data.wxPay/100) | ||
50 | + this.barChartOption.barColor[2].value = Math.round(data.otherPay/100) | ||
50 | let barChartOption = this.barChartOption | 51 | let barChartOption = this.barChartOption |
51 | this.barChart=this.createBar(barChartOption); | 52 | this.barChart=this.createBar(barChartOption); |
52 | window.addEventListener('resize', function() { | 53 | window.addEventListener('resize', function() { |
src/components/memberNum/index.vue
1 | <template> | 1 | <template> |
2 | <div class="app-memberNumBox"> | 2 | <div class="app-memberNumBox"> |
3 | <div class="theme-card"> | 3 | <div class="theme-card"> |
4 | - <div class="title"><span>会员数</span></div> | 4 | + <div class="title"><span>用户数</span></div> |
5 | <div class="content"> | 5 | <div class="content"> |
6 | <div class="topBox eleVerHorCenter-flex"> | 6 | <div class="topBox eleVerHorCenter-flex"> |
7 | <span class="eleText">总计</span> | 7 | <span class="eleText">总计</span> |