<div class="content-heading  justify-content-between">
  <div>批次管理</div>
  <div class="float-right">
    <div class="btn-group mb-1 mr-1" dropdown>
      <button class="btn dropdown-toggle btn-secondary btn-lg" type="button" dropdownToggle>批次管理
        <span class="caret"></span>
      </button>
      <div *dropdownMenu class="dropdown-menu modal-lg" role="menu">
        <a class="dropdown-item" href="#" (click)="showModal()">新增批次</a>
      </div>
    </div>
  </div>
</div>
<div class="table-responsive bg-white table-full">
  <table class="table table-striped table-hover table-bordered">
    <thead>
    <tr>
      <th>序号</th>
      <th>批次名称</th>
      <th>状态</th>
      <th>评审模式</th>
      <th>材料提交时间</th>
      <th>资格审核时间</th>
<!--      <th>资格审核结果展示时间</th>-->
      <th>学术审核时间</th>
      <th>准考证下载时间</th>
      <th>成绩发布时间</th>
      <th>拟录取发布时间</th>
<!--      <th>学术审核结果展示时间</th>-->
      <th class="th-b-3"></th>
    </tr>
    </thead>
    <tbody>
    <tr *ngFor="let v of pager.getRecords(); let i = index">
      <td>{{i + 1}}</td>
      <td>{{v.batch_name}}</td>
      <td [innerHTML]="v.status | frameDict:'EnableStatus'"></td>
      <td>{{v.pattern_name}}</td>
      <td>{{v.upload_start_time}}<br>{{v.upload_end_time}}</td>
      <td>{{v.intial_review_start}}<br>{{v.intial_review_end}}</td>
<!--      <td>{{v.intial_show_start}}<br>{{v.intial_show_end}}</td>-->
      <td>{{v.profes_review_start}}<br>{{v.profes_review_end}}</td>
      <td>{{v.ticket_start_time}}<br>{{v.ticket_end_time}}</td>
      <td>{{v.score_public_start}}<br>{{v.score_public_end}}</td>
<!--      <td>{{v.profes_publish_start}}<br>{{v.profes_publish_end}}</td>-->
      <td>{{v.profes_show_start}}<br>{{v.profes_show_end}}</td>
      <td>
          <span class="table-button" (click)="showModal({ResponseEntity:v})"><em class="fa-lg fas fa-edit"></em></span>
          <span class="table-button ml-3 text-danger" (click)="pager.optrRecord('cf/batch/delete.htm', v, {successMsg:'批次已删除！', confirmMsg: '谨慎操作，确定要删除该批次吗？', successMsgType:'Swal'})"><em
          class="fa-lg fas fa-trash-alt "></em></span>
      </td>
    </tr>
    </tbody>
  </table>
  <frame-pager [url]="'./cf/batch/page.htm'" [pagerParams]="{school_id: query.school_id}" #pager></frame-pager>
</div>

