<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>
    </div>
  </div>
</div>
<div class="table-responsive bg-white table-full">
  <table class="table table-striped table-hover table-bordered">
    <thead>
    <tr>
      <th>序号</th>
      <th>学校代码</th>
      <th>学校名称</th>
      <th>标签名称</th>
      <th>标签描述</th>
      <th>标签颜色</th>
      <th class="th-b-3"></th>
    </tr>
    </thead>
    <tbody>
    <tr *ngFor="let v of pager.getRecords(); let i = index">
      <td>{{i + 1}}</td>
      <td>{{v.school_code}}</td>
      <td>{{v.school_name}}</td>
      <td>{{v.tag_name}}</td>
      <td>{{v.tag_desc}}</td>
      <td>{{v.tag_color}}&nbsp;<span id="span{{v.tag_id}}" style="background-color:''">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></td>
      <td></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('cf/authtag/delete.htm', v, {successMsg:'标签已删除！', confirmMsg: '谨慎操作，确定要删除该标签吗？', successMsgType:'Swal'})"><em
          class="fa-lg fas fa-trash-alt "></em></span>
      </td>
    </tr>
    </tbody>
  </table>
  <frame-pager [url]="'./cf/authtag/page.htm'" [pagerParams]="{school_id: query.school_id}" #pager></frame-pager>
</div>

