<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)="reload()" title="不适用于微信端，微信端需要等待10分钟生效">立刻生效</a>
          <div class="dropdown-divider"></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><span class="table-sort" (click)="pager.sort('param_type')">参数分类</span></th>
        <th><span class="table-sort" (click)="pager.sort('param_name')">参数名称</span></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.param_type}}</td>
        <td>{{v.param_name}}</td>
        <td [ngClass]="{'text-warning':v.fee_range==='Public'}">{{v.param_value}}</td>
        <td [ngClass]="{'text-warning':v.fee_type==='Subject'}">{{v.param_note}}</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/enrol/param/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/enrol/param/page.htm'" #pager></frame-pager>
  </div>
  
  
  