| | |
| | | <view class="nav-item flex j-c-s-b a-i-c" @click="navTo(`${i.path}&from=task`)" v-for="i in securityList"> |
| | | <text class="f-28">{{i.name}}</text> |
| | | <view class="flex"> |
| | | <block v-if="i.count > 0"> |
| | | <text class="f-28 c-99">待处理</text> |
| | | <view class="dot bgc-main">{{i.count}}</view> |
| | | </block> |
| | | <u-icon name="arrow-right" color="#999"></u-icon> |
| | | </view> |
| | | <!-- <view class="flex"> |
| | | <block v-if="bailCount > 0"> |
| | | <text class="f-28 c-99">待处理</text> |
| | | <view class="dot bgc-main">{{bailCount}}</view> |
| | | </block> |
| | | <u-icon name="arrow-right" color="#999"></u-icon> |
| | | </view> |
| | | </view> --> |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | i.count = data.bsbx; |
| | | } else if (i.name.trim() == "住户审核") { |
| | | i.count = data.zhsh |
| | | } else if (i.name.trim() == "二手交易") { |
| | | i.count = data.bqsj |
| | | } else if (i.name.trim() == "租户确认") { |
| | | i.count = data.czsh |
| | | } else if (i.name.trim() == "走访任务") { |
| | | i.count = data.zfrw; |
| | | } else if (i.name.trim() == "走访任务") { |
| | | i.count = data.zfrw; |
| | | } else if (i.name.trim() == "消防自查") { |
| | | i.count = data.xfzc; |
| | | |
| | | } else if (i.name.trim() == "消防隐患整改") { |
| | | i.count = data.xfyhzg; |
| | | } |
| | | } |
| | | this.bailCount = data.qbhs |
| | | // this.bailCount = data.qbhs |
| | | |
| | | for (let i of this.securityList) { |
| | | if (i.name.trim() == "二手交易") { |
| | | i.count = data.bqsj |
| | | } else if (i.name.trim() == "消防自查") { |
| | | i.count = data.xfzc; |
| | | } else if (i.name.trim() == "消防隐患整改") { |
| | | i.count = data.xfyhzg; |
| | | } else { |
| | | i.count = data.qbhs; |
| | | } |
| | | } |
| | | |
| | | |
| | | } |
| | | }) |
| | | }, |