<div class="content-heading  justify-content-between">
  <div>审核账号分配</div>
  <div class="float-right">
    <div class="row">
      <div class="wd-xl wd-sm">
          <ngx-select [items]="schoolArray" [(ngModel)]="query.school_id" placeholder="学校"
              [autoClearSearch]="true" optionValueField="school_id" optionTextField="school_name">
          </ngx-select>
      </div>
      <!-- <div class="wd-xl wd-sm">
          <ngx-select [items]="batchArr" [(ngModel)]="query.batch_id" (ngModelChange)="requestData()" placeholder="批次"
              [autoClearSearch]="true" optionValueField="batch_id" optionTextField="batch_name">
          </ngx-select>
      </div> -->
      <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()" frameRole resId="20503">新增类型</a>
        </div>
      </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 class="th-b-2"></th>
    </tr>
    </thead>
    <tbody>
    <tr *ngFor="let v of pager.getRecords(); let i = index">
      <td>{{v.school_name}}</td>
      <td [innerHTML]="v.std_edu | frameDict:'StdEduType'"></td>
      <td><span (click)="setOptrWin(v,'first');" class="text-green table-button">{{v.optr_cnt}}</span></td>
      <td><span (click)="setOptrWin(v,'re');" class="text-green table-button">{{v.re_optr_cnt}}</span></td>
      <td>
          <span class="table-button" (click)="showModal({ResponseEntity:v})" frameRole resId="20504"><em class="fa-lg fas fa-edit"></em></span>
          <span class="table-button ml-3 text-danger" (click)="pager.optrRecord('cf/initial/optr/delete.htm', v, {successMsg:'已删除！', confirmMsg: '谨慎操作，确定要删除吗？', successMsgType:'Swal'})"><em
          class="fa-lg fas fa-trash-alt " frameRole resId="20505"></em></span>
      </td>
    </tr>
    </tbody>
  </table>
  <frame-pager [url]="'./cf/initial/optr/page.htm'" [pagerParams]="{school_id: query.school_id}" #pager></frame-pager>
</div>

