<div class="content-heading  justify-content-between">
    <div>评语标签表管理</div>
    <div class="float-right">
        <div class="row">
          <div class="wd-xl wd-sm">
            <ngx-select [items]="schoolArr" [(ngModel)]="school_id" (ngModelChange)="reload()"
                        [autoClearSearch]="true" optionValueField="school_id" optionTextField="school_name">
            </ngx-select>
          </div>
            <div class="btn-group ml-3" dropdown>
                <button class="btn dropdown-toggle btn-secondary" type="button" dropdownToggle>评语标签表管理
                    <span class="caret"></span>
                </button>
                <div *dropdownMenu class="dropdown-menu modal-lg" role="menu">
                    <a class="dropdown-item" href="#" (click)="showModal({ResponseArray:schoolArr})">新增评语标签表信息</a>
                </div>
            </div>
        </div>
    </div>
</div>

<div class="table-responsive bg-white">
    <table class="table table-striped table-hover table-bordered">
        <thead>
            <tr>
                    <th>学校</th>
                    <th>评语</th>
                    <th>序号</th>
                    <th>创建时间</th>
            </tr>
        </thead>
        <tbody>
            <tr *ngFor="let v of pager.getRecords(); let i = index">
                    <td>{{v.school_name}}</td>
                    <td>{{v.remark}}</td>
                    <td>{{v.remark_order}}</td>
                    <td>{{v.create_time}}</td>
                <td>
                    <span class="table-button" (click)="showModal({ResponseEntity:v, ResponseArray : schoolArr})" tooltip="修改">
                        <em  class="fa-lg fas fa-edit"></em></span>
                    <span class="table-button ml-3 text-danger" tooltip="删除"
                        (click)="pager.optrRecord('cf/cfRemark/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/cfRemark/page.htm'" [pagerParams]="{}" #pager></frame-pager>
</div>
