<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=='await'?'active':''}}" bindtap="typeJump" data-index="1"><text>待审批（{{dspCount}}）</text></view>
      <view class="{{activeState=='finished'?'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 color_orange">审批类型：{{item.typeName}}</view>
                       <view wx:if="{{item.approve_status==1}}" class="code_label_2 code_label_blueviolet">待审批</view>
                       <view wx:if="{{item.approve_status==4}}" class="code_label_2 code_label_green">合格</view>
                       <view wx:if="{{item.approve_status==3}}" class="code_label_2 code_label_red">不合格</view>
                   </view>
               </view>
               <view class="inspect_list_info">
                   <view class="inspect_list_info_details">
                       <view class="">
                          <view class="inspect_list_info_data_prop color_purple">项目名称：<text>{{item.projectName}}</text></view>
                           <view class="inspect_list_info_data_prop safety_issue_number">提交时间：<text>{{item.create_time}}</text></view>
                           <view class="inspect_list_info_data_prop color_blue">提交用户：<text>{{item.nick_name}}</text></view>
                           <view class="inspect_list_info_data_prop">提交单位：<text>{{item.dept_name}}</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>






