<div class="content-heading  justify-content-between">
  <div>系统字典管理</div>
  <div class="float-right">
    <button class="btn btn-danger  btn-lg" type="button" (click)="reloadDict()" frameRole resId="0">重载字典(立即生效)
      <span class="caret"></span>
    </button>
  </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('dict_name')">字典名称</a></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>{{i+1}}</td>
      <td>{{v.dict_name}}</td>
      <td>{{v.dict_desc}}</td>
      <td>{{v.dict_total}}</td>
      <td [innerHTML]="v.modify_flag | frameStatus"></td>
      <td [innerHTML]="v.frame_flag | frameStatus"></td>
      <td><span class="table-button" (click)="showModal({ResponseEntity:v})" frameRole res_id="0"><em
        class="fa-lg fas fa-edit"></em></span>

      </td>
    </tr>
    </tbody>
  </table>
  <frame-pager [url]="'frame/dict/type/page.htm'" #pager></frame-pager>
</div>


