<view class="header_title">
  <view class="header_title_row">
    <van-row>
      <van-col span="4">
        <view class="header_img" bindtap="returnToPage"><image src="/images/left.png"></image></view>
      </van-col>
      <van-col span="15">
        <view class="header_name">安全隐患排查</view>
      </van-col>
    </van-row>
  </view>
</view>
<scroll-view class="max_content_scroll" type="list" scroll-y bindscrolltolower="onScrollToLower">
   <project-select init="{{initData}}" bindchange="onProjectSelect"></project-select>
<view class="modify_video_nav" style="margin-top: 5rpx;">
  <view class="{{activeState=='zg'?'active':''}}" bindtap="trainingTypeJump" data-index="1"><text>整改（{{dzgCount}}）</text></view>
      <view class="{{activeState=='fj'?'active':''}}" bindtap="trainingTypeJump" data-index="2"><text>复检（{{dfjCount}}）</text></view>
      <view class="{{activeState=='ycl'?'active':''}}" bindtap="trainingTypeJump" data-index="3"><text>完成（{{yclCount}}）</text></view>
      <view class="{{activeState=='zgcs'?'active':''}}" bindtap="trainingTypeJump" data-index="4"><text>超时（{{zgcsCount}}）</text></view>
</view>
<view class="inspect_max_scroll">
    <view class="inspect_for_scroll {{item.problemType=='2'?'zxjc':''}}" wx:for="{{listData}}" wx:key="index" data-set="{{item}}" bindtap="getInfo">
           <view class="inspect_for_bgd">
               <view class="inspect_list_title">
                   <view class="inspect_list_title_label inspect_list_title_width">
                       <view class="inspect_list_title_number">{{index < 9 ?'0'+(index+1):(index+1)}}</view>
                       <view class="module_title module_title_flex inspect_list_title_text_2">{{item.workParts}}</view>
                        <text class="timeline_for_state_1"  wx:if="{{item.problemType=='1'}}">常规检查</text>
                        <text class="timeline_for_state_2"  wx:if="{{item.problemType=='2'}}">专项检查</text> 
                   </view>
               </view>
               <view class="inspect_list_info">
                   <view class="inspect_list_info_details">
                       <view class="inspect_list_info_img">
                        <view wx:if="{{item.checkState==0}}" class="code_label code_label_yellow">待整改</view>
                        <view wx:if="{{item.checkState==1}}" class="code_label code_label_blueviolet">待复检</view>
                        <view wx:if="{{item.checkState==3}}" class="code_label code_label_red">复检驳回</view>
                        <view wx:if="{{item.checkState==4}}" class="code_label code_label_green">整改完成</view>
                           <van-image width="120rpx" height="120rpx" fit="cover" src="{{request+item.marksPicture+'.min.jpg'}}"/>
                       </view>
                       <view class="inspect_list_info_data">
                           <view class="inspect_list_info_data_prop">隐患类型：<text>{{item.dangerTypeName}}</text></view>
                           <view class="inspect_list_info_data_prop">检查单位：<text>{{item.deptName}}</text></view>
                           <view class="inspect_list_info_data_prop">检查时间：<text class="color_blue">{{item.createTime}}</text></view>
                       </view>
                   </view>
                   <view class="inspect_list_info_position">
                   整改要求：<text class="color_purple">{{item.changeInfo}}</text>
                   </view>
               </view>
           </view>
       </view>
       <view wx:if="{{listData.length==0}}">
            <view style="padding-top: 70px;text-align: -webkit-center;">
                <image src="../../../../images/nodata.png" style="width: 130px;height: 105px;"></image>
                <view style="color: #a5abbb;">暂无数据</view>
            </view>
       </view>
       <view class="inspect_add_to_darft"  bindtap="skipAddDarft">
        <view style="padding-top: 22rpx;">
          <image src="../../../../images/new_add.png"></image>
          <view>草稿</view>
        </view>
</view>
       <view class="inspect_add_to"  bindtap="skipAdd">
        <view style="padding-top: 22rpx;">
          <image src="../../../../images/new_add.png"></image>
          <view>新增</view>
        </view>
        </view>
  </view>
</scroll-view>  







