<div class="content-heading  justify-content-between">
    <div>考生管理</div>
    <div class="float-right">
        <div class="row">
            <div class="wd-sm">
                <ngx-select [items]="schoolArr" [(ngModel)]="std.school_id" (ngModelChange)="requestStd()"
                    [autoClearSearch]="true" optionValueField="school_id" optionTextField="school_name">
                </ngx-select>
            </div>
        </div>
    </div>
</div>

<div class="table-responsive bg-white table-full">
    <table class="table table-striped table-hover table-bordered">
      <thead>
      <tr>
        <th><span class="table-sort">所属学校</span></th>
        <th><span class="table-sort">证件号码</span></th>
        <th><span class="table-sort">考生姓名</span></th>
        <th><span class="table-sort">性别</span></th>
        <th><span class="table-sort">准考证号</span></th>
        <th><span class="table-sort">生源地</span></th>
        <th><span class="table-sort">身高</span></th>
        <th><span class="table-sort">体重</span></th>
        <th class="th-b-2"></th>
      </tr>
      </thead>
      <tbody>
      <tr *ngFor="let v of pager.getRecords(); let i = index">
          <td>{{v.school_name}}</td>
          <td>{{v.cert_id}}</td>
          <td>{{v.std_name}}</td>
          <td>{{v.std_sex}}</td>
          <td>{{v.ticket_no}}</td>
        <td>
          <span class="text-success" *ngIf="v.std_province_flag === 'Active'">省内</span>
          <span class="text-danger" *ngIf="v.std_province_flag === 'InActive'">省外</span>
        </td>
        <td>{{v.std_height}}</td>
        <td>{{v.std_weight}}</td>
        <td>
            <span class="table-button" (click)="showStdDetail(v)"><em class="fa-lg fas fa-list"></em></span>
        </td>
      </tr>
      </tbody>
    </table>
    <frame-pager [url]="'./std/reg/page.htm'" [pagerParams]="{school_id: this.std.school_id }"  #pager></frame-pager>
  </div>