|
|
@@ -48,11 +48,11 @@
|
|
|
<view class="menu-bottom">
|
|
|
<view class="">
|
|
|
<text>今日营收</text>
|
|
|
- <text>{{statistic.todayIncome || 0}}</text>
|
|
|
+ <text>{{statistic.todayCharge || 0}}</text>
|
|
|
</view>
|
|
|
<view class="">
|
|
|
<text>总资产</text>
|
|
|
- <text>{{statistic.totalAccount || 0}}</text>
|
|
|
+ <text>{{statistic.totalValue || 0}}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -66,11 +66,11 @@
|
|
|
<view class="menu-bottom" style="color: #FFFFFF;">
|
|
|
<view class="">
|
|
|
<text>新增会员</text>
|
|
|
- <text>{{statistic.todayMemberIn || 0}}</text>
|
|
|
+ <text>{{statistic.newMember || 0}}</text>
|
|
|
</view>
|
|
|
<view class="">
|
|
|
<text>会员总数</text>
|
|
|
- <text>{{statistic.memberCount || 0}}</text>
|
|
|
+ <text>{{statistic.allMembers || 0}}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -242,7 +242,7 @@
|
|
|
this.getStatistic()
|
|
|
},
|
|
|
getStatistic() {
|
|
|
- this.$api.shop.statistic(this.shopId).then(res => {
|
|
|
+ this.$api.shop.statistic({shopId:this.shopId}).then(res => {
|
|
|
this.statistic = res.data
|
|
|
})
|
|
|
},
|