<div class="modal-header">
  <h4 class="modal-title pull-left">选择评审导师</h4>
</div>
<div class="modal-body">
  <div class="card card-default">
    <div class="card-body">
      <div class="row">
          <div class="table-responsive bg-white table-full">
            <table class="table table-striped table-hover table-bordered">
              <thead>
              <tr>
                <th align="center">
                  <div class="checkbox c-checkbox" style="text-align: center;">
                    <label style="padding:0px;margin: 0px;">
                      <input type="checkbox"
                        (change)="optrPager.checkedMasterToggle($event)" />
                      <span class="fa fa-check"></span>
                    </label>
                  </div>
                </th>              
                <th>导师姓名</th>
                <th>导师性别</th>
                <th>登录账号</th>
                <th>联系电话</th>
                <th>备注</th>
              </tr>
              </thead>
              <tbody>
              <tr *ngFor="let v of optrPager.getRecords(); let i = index">
                <td align="center">
                  <div class="checkbox c-checkbox input-group-sm" style="text-align: center;">
                    <label style="padding:0px;margin: 0px;">
                      <input type="checkbox" [value]="v.id" [(checked)]="v.isChecked"
                        [(ngModel)]="v.isChecked" />
                      <span class="fa fa-check"></span>
                    </label>
                  </div>
                </td>
                <td>{{v.optr_name}}</td>
                <td>{{v.optr_sex}}</td>
                <td>{{v.login_name}}</td>
                <td>{{v.optr_mobile}}</td>
                <td>{{v.optr_desc}}</td>
              </tr>
              </tbody>
            </table>
            <frame-pager [url]="'./cf/school/optr/page.htm'"  #optrPager></frame-pager>
          </div>
      </div>
    </div>
  </div>
</div>
<div class="modal-footer">
  <button class="btn btn-primary" type="button"
          (click)="save();">保存
  </button>
  <button class="btn btn-secondary" type="button" (click)="closeWindow()">关闭窗口</button>
</div>
