|
|
@@ -91,6 +91,41 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
+ <block v-if="pfLevel == 0 && lookMoney == 1">
|
|
|
+ <div class="module-com order-wrap" @click="pageTo({url:'/admin/stat/kdIncome'})">
|
|
|
+ <div class="total-blo">
|
|
|
+ <div class="total-list2">
|
|
|
+ <div class="app-color-3">系统收款</div>
|
|
|
+ <div class="list-num">
|
|
|
+ <view>{{countStat.systemCount||0}}</view>
|
|
|
+ <view>{{countStat.systemIncome?parseFloat(countStat.systemIncome):0}}</view>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="total-list2">
|
|
|
+ <div class="app-color-3">线下微信</div>
|
|
|
+ <div class="list-num">
|
|
|
+ <view>{{countStat.kfWxCount||0}}</view>
|
|
|
+ <view>{{countStat.kfWxIncome?parseFloat(countStat.kfWxIncome):0}}</view>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="total-list2">
|
|
|
+ <div class="app-color-3">现金</div>
|
|
|
+ <div class="list-num">
|
|
|
+ <view>{{countStat.cashCount||0}}</view>
|
|
|
+ <view>{{countStat.cashIncome?parseFloat(countStat.cashIncome):0}}</view>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="total-list2">
|
|
|
+ <div class="app-color-3">赊账</div>
|
|
|
+ <div class="list-num">
|
|
|
+ <view>{{countStat.debtCount||0}}</view>
|
|
|
+ <view>{{countStat.debtIncome?parseFloat(countStat.debtIncome):0}}</view>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </block>
|
|
|
+
|
|
|
<!-- 消息 -->
|
|
|
<div class="module-com news-wrap">
|
|
|
<div class="news-list" v-for="(item, index) in data.notice" :key="index" @click="pageToFn(item)" >
|
|
|
@@ -245,6 +280,7 @@ export default {
|
|
|
isMini:0,
|
|
|
todayDebt:0,
|
|
|
totalDebt:0,
|
|
|
+ countStat:{systemIncome:0,systemCount:0,debtCount:0,debtIncome:0,kfWxCount:0,kfWxIncome:0},
|
|
|
overview:[],
|
|
|
//登录状态 0未登录 1登录
|
|
|
loginStyle :0,
|
|
|
@@ -308,6 +344,7 @@ export default {
|
|
|
this.loginStyle = 1
|
|
|
}
|
|
|
this.setIndex()
|
|
|
+ this.getInDetail()
|
|
|
getStaffInfo().then(res=>{
|
|
|
if(res.code == 1){
|
|
|
this.notifyNum = res.data.staff.notifyNum ? Number(res.data.staff.notifyNum) : 0
|
|
|
@@ -545,9 +582,17 @@ export default {
|
|
|
})
|
|
|
}
|
|
|
},
|
|
|
+ getInDetail(){
|
|
|
+ getStrokeCount().then(res=>{
|
|
|
+ if(res.code == 1){
|
|
|
+ this.countStat = res.data
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
init() {
|
|
|
|
|
|
this.setIndex()
|
|
|
+ this.getInDetail()
|
|
|
|
|
|
let that = this
|
|
|
|