<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 wx:if="{{false}}" init="{{initData}}" bindchange="onProjectSelect"></project-select>
  <view class="inspect_max_scroll_1">
    <view class="inspect_for_scroll" wx:for="{{listData}}" wx:key="index" data-set="{{item}}" bindtap="infoTap">
      <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 < 10 ?'0'+(index+1):(index+1)}}</view>
                <view class="module_title module_title_flex inspect_list_title_text"><text>{{item.endTime}}</text>
                  <text wx:if="{{item.taskName=='提交申请'}}" class="timeline_for_state_1 color_green" style="font-weight: 800;">已提交</text>
                  <text wx:if="{{item.taskName!='提交申请' && item.taskComType=='1'}}" class="timeline_for_state_1">已完成</text>
                  <text wx:if="{{item.taskName!='提交申请' && item.taskComType=='2'}}" class="timeline_for_state_2">已退回</text>
                  <text wx:if="{{item.taskName!='提交申请' && item.taskComType=='6'}}" class="timeline_for_state_2">已终止</text>
                  <text wx:if="{{item.taskName!='提交申请' && item.taskComType=='3'}}" class="timeline_for_state_2">已驳回</text>
                  <text wx:if="{{item.taskName!='提交申请' && item.taskComType=='7'}}" class="timeline_for_state_2">已撤回</text>
                </view>
            </view>
          </view>
          <view class="inspect_list_info">
            <view class="inspect_list_info_data_prop color_orange">临时项目：{{item.businessKeyName}}</view>
            <view class="inspect_list_info_data_prop color_blue">审批事项：<text>{{item.procDefName}}</text>
              <!-- <text class="code_label_2 code_label_green">{{' 流程版本v'+item.procDefVersion}}</text> -->
            </view>
            <view class="inspect_list_info_data_prop">当前节点：<text wx:if="{{item.finishTime == null}}">{{item.taskName}}</text>
              <text wx:if="{{item.finishTime != null}}">流程结束</text>
            </view>
            <view class="inspect_list_info_data_prop">接收时间：{{item.createTime}}</view>
            <view class="inspect_list_info_data_prop">申请用户：{{item.startUserName}}</view>
            <view class="inspect_list_info_data_prop">申请单位：{{item.startDeptName}}</view>
            <!-- <view class="inspect_list_info_data_prop">处理耗时：{{item.duration}}</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>
</scroll-view>