<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({'arrayUrl':'conf/agent/all.htm'})">新增配置</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="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.exam_start_time}}</td>
      <td  class="text-center">{{v.exam_end_time}}</td>
      <td>
        <span class="table-button" (click)="showModal({ResponseEntity:v, 'arrayUrl':'conf/agent/all.htm'})">
        <em class="fa-lg fas fa-edit"></em></span>
        <span class="table-button ml-3 text-danger"
        (click)="pager.optrRecord('ly/checkin/time/delete.htm', v, {successMsg:'配置已删除！', successMsgType:'Swal',  confirmMsg: '确定要删除该配置吗？'})">
        <em class="fa-lg fas fa-trash-alt "></em></span>
      </td> 
    </tr>
    </tbody>
  </table>
  <frame-pager [url]="'./ly/checkin/time/page.htm'"  #pager></frame-pager>
</div>