
        <!-- <button class="btn btn-primary btn-rounded btn-outline btn-sm  mr-1" (click)="size='lg';show()">
          <i class="fa fa-search"></i> 选择</button> -->
          
<ng-template #queryTemplate>
  <!--查询条件-->
  <div class="row mb-3 ml-1">
    <div class="col-lg-12">
      <form (ngSubmit)="framePager.goSearch()" class="form-inline">

        <div class="input-group mr-1 input-group-sm">
          <label>姓名：</label>
          <input name="keyword" style="width: 100px" [(ngModel)]="query.std_name" class="input-sm form-control" type="text" value=""
            maxlength="64">

        </div>
        <div class="input-group mr-1 input-group-sm">
          <label>证件号：</label>
          <input name="keyword" style="width: 120px" [(ngModel)]="query.cert_no" class="input-sm form-control" type="text" value=""
            maxlength="64">

        </div>
        <div class="input-group mr-1 input-group-sm">
          <label>准考证：</label>
          <input name="keyword" style="width: 100px" [(ngModel)]="query.ticket_no" class="input-sm form-control" type="text" value=""
            maxlength="64">

        </div>

        <button class="btn btn-primary btn-rounded btn-outline btn-sm  mr-1" (click)="queryStd()">
          <i class="fa fa-search"></i> 查询</button>
        <button class="btn btn-primary btn-rounded btn-outline btn-sm  mr-1" (click)="reset(queryForm)">
          <i class="fa fa-undo"></i> 重置</button>
        <!-- <button type="submit">提交</button> -->
      </form>
    </div>
  </div>

  <!--表格-->
  <div class="row">
    <div class="col-lg-12 ml-0">
      <table class="table table-sm table-striped table-hover table-bordered bg-white">
        <thead>
          <tr>
            <th>
              
              <div class="checkbox c-checkbox" *ngIf="isSelectTypeM()">
                <label>
                  <input type="checkbox" (change)="framePager.checkedMasterToggle($event)" />
                  <span class="fa fa-check"></span>
                </label>
              </div>
              
            </th>

            <th>姓名</th>
            <th>证件号</th>
           <!-- <th>报考号</th>-->
            <th align="center">准考证号</th>
            <!--<th>学校编号</th>-->
            <th align="center">学生来源</th>
            <!--<th>归属城市</th>-->
            <th align="center">手机号码</th>

          </tr>
        </thead>
        <tbody *ngIf="framePager.getRecords().length > 0">
          <tr *ngFor="let item of framePager.getRecords(); let i = index">
            <td align = 'center'>
              <label *ngIf="isSelectTypeM()" style="margin: 0px !important">
                <div class="checkbox c-checkbox input-group-sm">
                  <input type="checkbox" [value]="item.id" [(checked)]="item.isChecked" [(ngModel)]="item.isChecked" />
                  <span class="fa fa-check"></span>
                </div>
              </label>

                <label class="radio-inline c-radio" style="margin: 0px !important" *ngIf="isSelectTypeS()">
                  <input type="radio" name="radio" [value]="item.id" (click)="toggleCheck(item)"  [(ngModel)]="radioItem.id"/>
                  <span class="fa fa-circle" style="margin: 0px !important"></span>
                </label>
            </td>

            <td (click) ="toggleCheck(item)">{{item.std_name}}</td>
            <td (click) ="toggleCheck(item)">{{item.cert_no}}</td>
            <td align="center" (click) ="toggleCheck(item)">{{item.ticket_no}}</td>
           <!-- <td (click) ="toggleCheck(item)">{{item.ticket_no}}</td>-->
           <!-- <td (click) ="toggleCheck(item)">{{item.school_code}}</td>-->
            <td align="center" (click) ="toggleCheck(item)">{{item.std_source==1?"社会考生":item.std_source==3?"助学考生":""}}</td>
            <!--<td (click) ="toggleCheck(item)">{{item.belong_city}}</td>-->
            <td align="center" (click) ="toggleCheck(item)">{{item.std_mobile}}</td>

          </tr>
        </tbody>
      </table>

      <frame-pager [url]="QUERY_URL" hideSearch="true" [autoLoad]="false" hasCheck="true" #framePager (preReqEvent)="search($event)"></frame-pager>
    </div>

  </div>

</ng-template>

<ng-template #queryTemplateModal>
  <div class="modal-content">
    <div class="modal-header info-success-qm">
      <div class="pull-left">
        <em class="fa-lg fas fa-edit "></em> 学生注册信息列表
      </div>
      <button type="button" class="close" (click)="_concel()">×</button>
    </div>

    <!-- 1@3 -->
    <div class="modal-body">
      <div [ngTemplateOutlet]="queryTemplate"></div>
    </div>

    <div class="modal-footer">
      <button class="btn btn-info" (click)="_confirm()">
        <i class="fa fa-info-circle"> </i> 确定
      </button>
      <button class="btn btn-default" (click)="_concel()">
        <i class="icon-close"> </i> 取消
      </button>
    </div>
  </div>
</ng-template>