Commit f05a245f by 姜雷

修改充值消费人数为订单笔数

parent 7290b389
...@@ -8,14 +8,14 @@ ...@@ -8,14 +8,14 @@
class="CustomerConsumptionChart-tip" class="CustomerConsumptionChart-tip"
style="color:#333;font-size:14px;text-align: center;" style="color:#333;font-size:14px;text-align: center;"
> >
合计消费总金额:<span 消费总金额:<span
class="CustomerConsumption-total" class="CustomerConsumption-total"
style="color:#f00;" style="color:#f00;"
>0.00元</span> >0.00元</span>
合计消费人数:<span 消费笔数:<span
class="CustomerConsumption-count" class="CustomerConsumption-count"
style="color:#f00;" style="color:#f00;"
>0</span> >0</span>
</div> </div>
</div> </div>
<Chart <Chart
......
...@@ -71,7 +71,7 @@ export default { ...@@ -71,7 +71,7 @@ export default {
? this.consumeCount.payMen ? this.consumeCount.payMen
: '0'; : '0';
this.totalDom.innerHTML = money + '元'; this.totalDom.innerHTML = money + '元';
this.countDom.innerHTML = menCount + ''; this.countDom.innerHTML = menCount + '';
} }
}, },
}, },
......
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
<span <span
class="CustomerRecharge-tooltip" class="CustomerRecharge-tooltip"
style="background-color:#26c9a8;" style="background-color:#26c9a8;"
></span> 充值数: ></span> 充值数:
<span style="color:#f00;">{{ rechargeCount && rechargeCount.rechargeMen ? rechargeCount.rechargeMen : 0 }}</span> <span style="color:#f00;">{{ rechargeCount && rechargeCount.rechargeMen ? rechargeCount.rechargeMen : 0 }}</span>
</div> </div>
</div> </div>
<Chart :data="rechargeList" /> <Chart :data="rechargeList" />
......
...@@ -156,7 +156,7 @@ export default { ...@@ -156,7 +156,7 @@ export default {
alias: '充值金额', alias: '充值金额',
}, },
rechargeMen: { rechargeMen: {
alias: '充值数', alias: '充值数',
}, },
}); });
...@@ -191,7 +191,7 @@ export default { ...@@ -191,7 +191,7 @@ export default {
this.chart.guide().text({ this.chart.guide().text({
top: true, top: true,
position: ['100%', '0%'], position: ['100%', '0%'],
content: '()', content: '()',
offsetX: 30, offsetX: 30,
offsetY: -8, offsetY: -8,
}); });
......
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