| | |
| | | <view class="nav-item flex j-c-s-b a-i-c" @click="navTo(i.path)" v-for="i in securityList"> |
| | | <text class="f-28">{{i.name}}</text> |
| | | <view class="flex"> |
| | | <block v-if="false"> |
| | | <block v-if="bailCount > 0"> |
| | | <text class="f-28 c-99">待处理</text> |
| | | <view class="dot bgc-main">{{countInfo.comprehensiveTask}}</view> |
| | | <view class="dot bgc-main">{{bailCount}}</view> |
| | | </block> |
| | | <u-icon name="arrow-right" color="#999"></u-icon> |
| | | </view> |
| | |
| | | repairsCount: 0, |
| | | countInfo: {}, |
| | | securityList:[], |
| | | comprehensive:[] |
| | | comprehensive:[], |
| | | bailCount:0 |
| | | } |
| | | }, |
| | | |
| | |
| | | }, |
| | | onShow() { |
| | | this.getCount(); |
| | | this.getRepairsCount(); |
| | | // this.getRepairsCount(); |
| | | }, |
| | | |
| | | methods: { |
| | |
| | | } |
| | | } |
| | | }, |
| | | |
| | | |
| | | |
| | | |
| | | getCount() { |
| | | getCountTypeNumber().then(res => { |
| | | if (res.code == 200) { |
| | | let data = res.data; |
| | | this.countInfo = res.data; |
| | | for(let i of this.comprehensive){ |
| | | if(i.name == "住户审核"){ |
| | | i.count = res.data.zhufang; |
| | | } |
| | | if(i.name == "租房管理"){ |
| | | i.count = res.data.chuzhu; |
| | | if(i.name == "场所审核"){ |
| | | i.count = data.cssh; |
| | | }else if(i.name == "报事报修"){ |
| | | i.count = data.bsbx; |
| | | }else if(i.name == "住户审核"){ |
| | | i.count = data.zhsh |
| | | }else if (i.name.trim() == "标签报事"){ |
| | | i.count = data.bqsj |
| | | }else if (i.name == "租房管理"){ |
| | | i.count = data.czsh |
| | | } |
| | | } |
| | | this.bailCount = data.qbhs |
| | | } |
| | | }) |
| | | }, |