<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)="showModal()">新增考点部门</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 class="text-center">考点名称</th>
      <th class="text-center">部门名称</th>
      <th class="th-b-2"></th>
    </tr>
    </thead>
    <tbody>
    <tr *ngFor="let v of pager.getRecords(); let i = index">
      <td  class="text-center">{{v.agent_name}}</td>
      <td  class="text-center">{{v.dept_name}}</td>
      <td>
        <span class="table-button" (click)="showModal({ResponseEntity:v})"><em
        class="fa-lg fas fa-edit"></em></span>
        <span class="table-button ml-3 text-danger"
        (click)="pager.optrRecord('conf/agent/dept/delete.htm', v, {successMsg:'考点部门已删除！', confirmMsg: '确定要删除该考点部门吗？', successMsgType:'Swal'})"><em
    class="fa-lg fas fa-trash-alt "></em></span>
      </td>
    </tr>
    </tbody>
  </table>
  <frame-pager [url]="'./conf/agent/dept/page.htm'"   #pager></frame-pager>
</div>