<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>
      </div>
    </div>
  </div>
</div>
<div class=" table-responsive bg-white">
  <table class="table table-striped table-hover table-bordered">
    <thead>
    <tr>
      <th>序号</th>
      <th><span (click)="pager.sort('school_name')">主考学校代码</span></th>
      <th><span (click)="pager.sort('join_school_name')">衔接学校名称</span></th>
      <th><span (click)="pager.sort('bank')">开户行</span></th>
      <th><span (click)="pager.sort('bank_card_no')">银行卡号</span></th>
      
      <th class="th-b-2" align="center">操作</th>
    </tr>
    </thead>
    <tbody>
    <tr *ngFor="let v of pager.getRecords(); let i = index">
      <td>{{i + 1}}</td>
 
      <td>{{v.school_code}}-{{v.school_name}}</td>
      

      <td>{{v.join_school_code}}-{{v.join_school_name}}</td>
      <td>{{v.bank}}</td>
      <td>{{v.bank_card_no}}</td>
      
      <td>
        <span class="cursor-hand" (click)="showModal({ResponseEntity:v, arrayUrl:'frame/dept/all.htm'})">
          <em class="fa-lg fas fa-edit"></em>
        </span>
        <span class="cursor-hand ml-3 text-danger" (click)="pager.optrRecord('frame/deptbank/delete.htm', v, {successMsg:'衔接学校银行信息删除完成！', confirmMsg: '确定要删除该衔接学校银行信息吗？', successMsgType:'Swal'})">
          <em class="fa-lg fas fa-trash-alt "></em>
        </span>

      </td>
    </tr>
    </tbody>
  </table>
  <frame-pager url="frame/deptbank/page.htm" #pager></frame-pager>
</div>


