<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 >重载字典(立即生效) </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><span href="#" (click)="pager.sort('dict_name')">字典名称</span></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="cursor-hand" (click)="showModal({ResponseEntity:v})" frameRole>
        <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>


