<ng-container *ngIf="agent">
  <div class="content-heading  justify-content-between">
    <div>评委列表 - {{agent?.ly_agent_name}}</div>
    <div class="float-right">
      <div class="row">

      </div>
    </div>
  </div>

  <table class="table table-striped table-hover table-bordered">
    <thead>
    <tr>
      <th class="th-index"></th>
      <th>考试日期</th>
      <th>面试项目</th>
      <th>最后抽签时间</th>
      <th>抽签批次</th>
      <th class="wd-sm"></th>
    </tr>
    </thead>
    <tbody>
    <tr *ngFor="let v of pager.getRecords(); let i = index">
      <td>{{i + 1}}</td>
      <td>{{FuncService.dateToShortString(v.extract_date)}}</td>
      <td>{{v.group_name}}</td>
      <td>{{v.extract_time}}</td>
      <td>{{v.current_batch}}</td>
      <td>
        <div class="btn-group" dropdown>
          <button class="btn dropdown-toggle btn-secondary btn-sm" type="button" dropdownToggle>批次管理
            <span class="caret"></span>
          </button>
          <div *dropdownMenu class="dropdown-menu" role="menu">
            <a class="dropdown-item " href="#" *ngFor="let s of v.current_batch | numberArray"
               (click)="showDetail(v,s)">第【{{s}}】次抽签</a>

          </div>
        </div>
      </td>
    </tr>
    </tbody>
  </table>
  <frame-pager [url]="'./exam/judge/extract/page.htm'" [pagerParams]="{ly_agent_id: agent?.ly_agent_id}"
               #pager></frame-pager>

</ng-container>
