<div class="content-heading  justify-content-between">
  <div>生源地配置</div>
  <div class="float-right">

  </div>
</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>生源地</th>
      <th>简称</th>
      <th>开放注册</th>
      <th>开放报考</th>
      <th>考生号规则</th>
      <th>考生号必填</th>
      <th>限制省内</th>
      <th>接口获取</th>
      <th>考生科类</th>
      <th class="th-b-1"></th>
    </tr>
    </thead>
    <tbody>
    <tr *ngFor="let v of pager.getRecords(); let i = index">
      <td>{{v.province_id}}</td>
      <td>{{v.province_name}}</td>
      <td>{{v.province_abbr}}</td>
      <td [innerHTML]="v.reg_status | frameStatusCustom: ['开放','关闭']"></td>
      <td [innerHTML]="v.enrol_status | frameStatusCustom: ['开放','禁止']"></td>
      <td><span [tooltip]="v.ksh_match_msg">{{v.ksh_regex}}</span></td>
      <td [innerHTML]="v.ksh_status | frameStatusCustom: ['必填','可空']"></td>
      <td><span *ngIf="v.province_limit === 'Active'" class="text-danger">仅省内考点</span></td>
      <td><span *ngIf="v.reg_fetch_status === 'Active'" class="text-warning" [tooltip]="v.reg_fetch_param">接口获取数据</span></td>
      <td>{{v.std_type}}</td>
      <td><span class="table-button" (click)="showModal({ResponseEntity:v, 'arrayUrl':'conf/variety/all.htm'})"><em
        class="fa-lg fas fa-edit"></em></span>
      </td>
    </tr> 
    </tbody>
  </table>
  <frame-pager [url]="'./conf/enrol/province/page.htm'" [pagerLimit]="50" [showPagination]="false" #pager></frame-pager>
</div>
