<div class="modal-header">
  <h4 class="modal-title pull-left">请选择评委</h4>
</div>

<div class="table-responsive bg-white table-full">
  <table class="table table-striped table-hover table-bordered">
    <thead>
    <tr>
      <th class="th-index"></th>
      <th><span class="table-sort" (click)="pager.sort('judge_mobile')">手机号码</span></th>
      <th><span class="table-sort" (click)="pager.sort('judge_name')">评委姓名</span></th>
      <th><span class="table-sort" (click)="pager.sort('extract_flag')">可抽取</span></th>
      <th><span class="table-sort" (click)="pager.sort('judge_sex')">性别</span></th>
      <th><span class="table-sort" (click)="pager.sort('judge_school')">单位</span></th>
      <th><span class="table-sort" (click)="pager.sort('judge_title')">职称</span></th>
      <th><span class="table-sort" (click)="pager.sort('judge_breeds')">参评品种</span></th>
      <th><span class="table-sort" (click)="pager.sort('chief_flag')">主评</span></th>
      <th class="th-b-2"></th>
    </tr>
    </thead>
    <tbody>
    <tr *ngFor="let v of pager.getRecords(); let i = index">
      <td>{{i + 1}}</td>
      <td>{{v.judge_mobile}}</td>
      <td>{{v.judge_name}}</td>
      <td [innerHTML]="v.extract_flag | frameStatus"></td>
      <td>{{v.judge_sex}}</td>
      <td>{{v.judge_school}}</td>
      <td>{{v.judge_title}}</td>
      <td>{{v.judge_breeds}}</td>
      <td [innerHTML]="v.chief_flag | frameStatus"></td>
      <td>
          <span class="table-button"
                (click)="chooseJudge(v)"><em
            class="fa fas fa-user"></em></span>
      </td>
    </tr>
    </tbody>
  </table>
  <frame-pager [url]="'./exam/judge/page.htm'" [pagerParams]="{ly_agent_id: ResponseMap['ly_agent_id']}" #pager></frame-pager>
</div>
<div class="modal-footer justify-content-between">
    <div class="checkbox c-checkbox">
      <label>
        <input type="checkbox" [(ngModel)]="room_chief"/>
        <span class="fa fa-check"></span>作为主评委加入</label>
    </div>
  <button class="btn btn-secondary" type="button" (click)="closeWindow()">关闭窗口</button>
</div>
