<!--index.wxml-->
<cu-custom bgColor="bg-darkblue" isBack="{{true}}" isRelaunch="{{false}}">
  <view slot="content" style="color:#FFFFFF;">报名情况</view>
</cu-custom>

<view class="status">
  <view class="sign-box {{item.statusName}}" wx:for="{{signList}}" wx:key="index">
    <view class="status-row">
      <image src="../../images/icons/status-wait.png" mode="widthFix" wx:if="{{item.applyAuditState == 0}}"></image>
      <image src="../../images/icons/status-draw.png" mode="widthFix" wx:if="{{item.applyAuditState == 1}}"></image>
      <image src="../../images/icons/status-pass.png" mode="widthFix" wx:if="{{item.applyAuditState == 2}}"></image>
      <image src="../../images/icons/status-complete.png" mode="widthFix" wx:if="{{item.applyAuditState == 3}}"></image>
      <image src="../../images/icons/status-not-pass.png" mode="widthFix" wx:if="{{item.applyAuditState == -1}}"></image>
      <text>报名时间：{{item.gmtCreate}}</text>
    </view>
    <view class="name">
      {{item.applyWorkTypeName}}
    </view>
    <view class="row">
      <text class="status-text">培训机构:</text> 
      {{item.applyInstitutionName}}
    </view>
    <view class="row">
      <text class="status-text">负责人:	</text>
      {{item.orgCharge}}
    </view>
    <view class="row">
      <text class="status-text">预计开班人数: </text>
      {{ item.applyUserNum1 }}人
    </view>
    <view class="row">
      <text class="status-text">已报名人数：</text>
      {{ item.applyUserNum2 }}人
    </view>
    <view class="row">
      <text class="status-text">已通过审核人数：</text>
      {{ item.applyUserNum3 }}人
    </view>
    <view class="row btn-box">
      <view class="btn" data-id="{{item.applyId}}" bindtap="checkDetail">报名详情</view>
      <view class="btn" data-id="{{item.applyId}}" bindtap="cancelSign" wx:if="{{item.applyAuditState == 0}}">取消报名</view>
    </view>
  </view>
</view>