1 |
- <view class="page-index data-v-57280228"><view class="status_bar data-v-57280228"></view><view class="title _div data-v-57280228"><text data-event-opts="{{[['tap',[['changeTab',['user']]]]]}}" class="{{['tab','data-v-57280228',type==='user'?'active':'']}}" bindtap="__e">我的</text><text data-event-opts="{{[['tap',[['changeTab',['group']]]]]}}" class="{{['tab','data-v-57280228',type==='group'?'active':'']}}" bindtap="__e">部门</text></view><view class="statistics _div data-v-57280228"><view class="head _div data-v-57280228">任务统计</view><view class="container _div data-v-57280228"><view data-event-opts="{{[['tap',[['changeStuas',[0,'待巡检']]]]]}}" class="{{['_div','data-v-57280228',conditions.status===0?'item active':'item']}}" bindtap="__e"><image class="icon data-v-57280228" src="/static/index/wait.png" alt></image><text class="data-v-57280228">{{"待巡检"+statistics.wait+"个"}}</text></view><view data-event-opts="{{[['tap',[['changeStuas',[2,'已逾期']]]]]}}" class="{{['_div','data-v-57280228',conditions.status===2?'item active':'item']}}" bindtap="__e"><image class="icon data-v-57280228" src="/static/index/expire.png" alt></image><text class="data-v-57280228">{{"已逾期"+statistics.expire+"个"}}</text></view><view data-event-opts="{{[['tap',[['changeStuas',[1,'已完成']]]]]}}" class="{{['_div','data-v-57280228',conditions.status===1?'item active':'item']}}" bindtap="__e"><image class="icon data-v-57280228" src="/static/index/complete.png" alt></image><text class="data-v-57280228">{{"已完成"+statistics.complete+"个"}}</text></view></view></view><view class="task-list _div data-v-57280228"><view class="head _div data-v-57280228">{{title+"任务"}}</view><block wx:if="{{$root.g0>0}}"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="taskId"><view data-event-opts="{{[['tap',[['linkTo',['$0'],[[['items','taskId',item.$orig.taskId]]]]]]]}}" class="item _div data-v-57280228" bindtap="__e"><view class="task-title _div data-v-57280228">{{item.$orig.taskTitle}}</view><block wx:if="{{item.$orig.goafName}}"><view class="goafName _h4 data-v-57280228">{{item.m0}}</view></block><view class="time _div data-v-57280228">{{item.$orig.expectedStartDate+"-"+item.$orig.expectedEndDate}}</view></view></block></block><block wx:else><view class="empty data-v-57280228"><image class="icon-empty data-v-57280228" src="/static/icon/empty.png" mode="widthFix"></image><view class="_p data-v-57280228">暂无数据</view></view></block></view></view>
|