<view class="history-container data-v-24bfa630"><view class="tabs data-v-24bfa630"><block wx:if="{{isAccount!==0}}"><view data-event-opts="{{[['tap',[['tabclick',[1]]]]]}}" class="{{['tab','data-v-24bfa630',tabIdx===1?'active':'']}}" bindtap="__e">安全巡检</view><view data-event-opts="{{[['tap',[['tabclick',[2]]]]]}}" class="{{['tab','data-v-24bfa630',tabIdx===2?'active':'']}}" bindtap="__e">隐患记录</view></block><view data-event-opts="{{[['tap',[['tabclick',[5]]]]]}}" class="{{['tab','data-v-24bfa630',tabIdx===5?'active':'']}}" bindtap="__e">问题反馈</view><view data-event-opts="{{[['tap',[['tabclick',[3]]]]]}}" class="{{['tab','data-v-24bfa630',tabIdx===3?'active':'']}}" bindtap="__e">满意度评价</view></view><block wx:if="{{total>0}}"><view class="item-list-wrap data-v-24bfa630"><block wx:if="{{tabIdx===1||tabIdx===4}}"><view class="item-list basics data-v-24bfa630"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="idx" wx:key="idx"><view data-event-opts="{{[['tap',[['showDetail',['$0'],[[['items','',idx]]]]]]]}}" class="basics-item data-v-24bfa630" bindtap="__e"><view class="basics-title data-v-24bfa630">{{item.$orig.checklistTitle}}</view><view class="basics-body data-v-24bfa630"><view class="lf data-v-24bfa630"><text class="time data-v-24bfa630">{{item.$orig.recordTime}}</text><text class="user data-v-24bfa630">{{item.$orig.accountName||'微信用户'}}</text></view><view class="status data-v-24bfa630">{{item.m0}}</view></view></view></block></view></block><block wx:if="{{tabIdx===5}}"><view class="item-list basics data-v-24bfa630"><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="idx" wx:key="idx"><view data-event-opts="{{[['tap',[['showDetail',['$0'],[[['items','',idx]]]]]]]}}" class="basics-item data-v-24bfa630" bindtap="__e"><view class="basics-title data-v-24bfa630">{{item.$orig.snapshotContent}}</view><view class="basics-body data-v-24bfa630"><view class="lf data-v-24bfa630"><text class="time data-v-24bfa630">{{item.$orig.submitTime}}</text><block wx:if="{{item.$orig.handleAccountId>0}}"><text class="user data-v-24bfa630">{{item.$orig.handleAccountName}}</text></block><block wx:else><text class="user data-v-24bfa630">{{item.$orig.wxName||'--'}}</text></block></view><view class="status data-v-24bfa630">{{item.m1}}</view></view></view></block></view></block><block wx:if="{{tabIdx===2}}"><view class="item-list basics danger data-v-24bfa630"><block wx:for="{{$root.l2}}" wx:for-item="danger" wx:for-index="dangerIdx" wx:key="dangerIdx"><view class="basics-item data-v-24bfa630"><view class="basics-item-sceneIcon data-v-24bfa630"><block wx:if="{{danger.$orig.sceneIcon}}"><image class="icon _img data-v-24bfa630" src="{{danger.$orig.sceneIcon}}" data-event-opts="{{[['tap',[['showImg',[[danger.$orig.scenePhoto]]]]]]}}" bindtap="__e"></image></block></view><view data-event-opts="{{[['tap',[['linkTo',['$0'],[[['items','',dangerIdx]]]]]]]}}" class="basics-item-info data-v-24bfa630" bindtap="__e"><view class="basics-title data-v-24bfa630">{{danger.$orig.dangerTitle}}</view><view class="basics-body data-v-24bfa630"><view class="lf data-v-24bfa630"><view class="user data-v-24bfa630">{{danger.$orig.curAccountName}}</view><view class="time data-v-24bfa630">{{danger.$orig.dangerDeadLine}}</view></view><view class="status data-v-24bfa630">{{danger.m2}}</view></view></view></view></block></view></block><block wx:if="{{tabIdx===3}}"><view class="item-list satisfaction data-v-24bfa630"><view class="uni-table data-v-24bfa630"><view class="uni-table-tr data-v-24bfa630"><view class="uni-table-th data-v-24bfa630">姓名</view><view class="uni-table-th data-v-24bfa630" style="text-align:right;">评分</view></view><block wx:for="{{items}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['showDetail',['$0'],[[['items','',index]]]]]]]}}" class="uni-table-tr data-v-24bfa630" bindtap="__e"><view class="uni-table-td data-v-24bfa630">{{item.accountName||'微信用户'}}</view><view class="uni-table-td data-v-24bfa630" style="text-align:right;">{{item.score===null?'--':item.score}}</view></view></block></view></view></block></view></block><block wx:else><view class="isEmpty data-v-24bfa630"><view class="word _p data-v-24bfa630">没有数据 ^_^</view></view></block></view>