<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)="uploadImage()">导入考生照片</a>
        <div class="dropdown-divider"></div>
        <a class="dropdown-item" href="#" (click)="export()">导出未提交名单</a>
<!--        <a class="dropdown-item" href="#" (click)="doUploaFile()">批量导入</a>-->
<!--        <a class="dropdown-item" href="#" *ngIf="errFilePath" (click)="downloaddError()">下载错误文件</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><span class="table-sort">考生类型</span></th>
      <th><span class="table-sort" (click)="pager.sort('std_name')">姓名</span></th>
      <th><span class="table-sort">证件类型</span></th>
      <th><span class="table-sort" (click)="pager.sort('cert_no')">证件号码</span></th>
<!--      <th><span class="table-sort" (click)="pager.sort('std_sex')">学士学位<br>证书编号</span></th>-->
      <th><span class="table-sort" (click)="pager.sort('baccal_no')">报名号</span></th>
      <th><span class="table-sort" (click)="pager.sort('std_mobile')">联系电话</span></th>
      <th><span class="table-sort">出生年月</span></th>
      <th><span class="table-sort">学士学位<br>单位省市代码</span></th>
      <th><span class="table-sort">本科毕业<br>单位省市码</span></th>
      <th><span class="table-sort">硕士毕业<br>单位省市码</span></th>
      <th><span class="table-sort">硕士学位<br>单位省市码</span></th>
      <th>微信绑定</th>
      <th class="th-b-1"></th>
    </tr>
    </thead>
    <tbody>
    <tr *ngFor="let v of pager.getRecords(); let i = index">
<!--      <td ><ngx-image-viewer [src]="v.std_image"></ngx-image-viewer></td>-->
      <td ><img class="align-self-start mx-2 circle thumb32 "
           [src]="v.std_image" alt="{{v.std_name}}" ngxViewer></td>
      <td [innerHTML]="v.std_edu | frameDict:'StdEduType'"></td>
      <td>{{v.std_name}}</td>
      <td [innerHTML]="v.cert_type | frameDict:'StdCertType'"></td>
      <td>{{v.cert_id}}</td>
      <td>{{v.exam_id}}</td>
      <td>{{v.std_mobile}}</td>
      <td>{{v.std_birth}}</td>
      <td>{{v.baccal_unit_code}}</td>
      <td>{{v.undergrad_unit_code}}</td>
      <td>{{v.mastergrad_unit_code}}</td>
      <td>{{v.masterdegree_unit_code}}</td>
      <td><span class="text-success">{{formatShow(v.weixin_id)}}</span></td>
      <td>
          <!-- <span class="table-button" title="编辑考生" (click)="showModal({ResponseEntity:v})"><em class="fa-lg fas fa-edit"></em></span> -->
          <span class="table-button ml-2" *ngIf="v.weixin_id" title="解绑微信" (click)="unbind(v)"><em class="fa-lg fas icon-settings"></em></span>
          <!-- <span class="table-button ml-2 text-danger" title="删除考生" (click)="pager.optrRecord('std/delete.htm', v, {successMsg:'考生已删除！', confirmMsg: '谨慎操作，确定要删除吗？', successMsgType:'Swal'})"><em
          class="fa-lg fas fa-trash-alt "></em></span> -->
      </td>
    </tr>
    </tbody>
  </table>
  <frame-pager [url]="'./std/page.htm'" #pager></frame-pager>
</div>

