<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>
<view class="max_content">    
<project-select init="{{initData}}" bindchange="onProjectSelect"></project-select>
<view class="modify_video_nav" style="margin-top: 5rpx;">
      <view class="{{activeState=='jxz'?'active':''}}" bindtap="typeJump" data-index="1"><text>进行中（{{jxzCount}}）</text></view>
      <view class="{{activeState=='ywc'?'active':''}}" bindtap="typeJump" data-index="2"><text>已完成（{{ywcCount}}）</text></view>
  </view>
<view class="inspect_max">
   <view class="inspect_list">
       <view class="inspect_for" v-if="{{ listData.length>0 }}" 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">送检时间：{{item.checkTime}}</view>
                       <view wx:if="{{item.approveStatus==null}}" class="code_label_3 code_label_yellow">送检中</view>
                       <view wx:if="{{item.approveStatus==1}}" class="code_label_3 code_label_blueviolet">待审批</view>
                       <view wx:if="{{item.approveStatus==4}}" class="code_label_3 code_label_green">合格</view>
                       <view wx:if="{{item.approveStatus==3}}" class="code_label_3 code_label_red">不合格</view>
                   </view>
               </view>
               <view class="inspect_list_info">
                   <view class="inspect_list_info_details">
                       <view class="inspect_list_info_data_2">
                           <view class="inspect_list_info_data_prop color_blue">送检类型：<text>{{item.checkTypeName}}</text></view>
                           <view class="inspect_list_info_data_prop safety_issue_number color_orange">材料名称：<text>{{item.materialName}}</text></view>
                           <view class="inspect_list_info_data_prop">使用部位：<text>{{item.usePosition}}</text></view>
                       </view>
                   </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>
</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>






