<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 class="dropdown-divider"></div>
        <a class="dropdown-item" href="#" (click)="reloadParam()">重载参数</a>
      </div>
    </div>
  </div>
</div>


<div class=" table-responsive bg-white">
  <table class="table table-striped table-hover table-bordered">
    <thead>
    <tr>
      <th class="th-index">#</th>
      <th><a href="#" (click)="pager.sort('param_name')">参数名称</a></th>
      <th>参数值</th>
      <th>默认值</th>
      <th>参数描述</th>
      <th>操作</th>
    </tr>
    </thead>
    <tbody>
    <tr *ngFor="let v of pager.getRecords(); let i = index">
      <td>{{i+1}}</td>
      <td>{{v.param_name}}</td>
      <td>{{v.param_value}}</td>
      <td>{{v.default_value}}</td>
      <td>{{v.param_desc}}</td>
      <td>
        <span class="table-button" (click)="showModal({ResponseEntity:v})"><em
          class="fa-lg fas fa-edit"></em></span>
      </td>
    </tr>
    </tbody>
  </table>
  <frame-pager [url]="'./exam/param/page.htm'" #pager></frame-pager>
</div>


