<div class="content-heading  justify-content-between">
  <div>笔试考场拍照浏览
  </div>
  <div class="float-right">
    <div class="row">
      <div>
        <ngx-select [items]="agentArray" [(ngModel)]="room.ly_agent_id" (ngModelChange)="requestSubjectArray()"
                    placeholder="请选择考点 "
                    class="wd-wide"
                    optionValueField="ly_agent_id" optionTextField="ly_agent_name"></ngx-select>
      </div>
      <div class="ml-3" *ngIf="room.ly_agent_id!==undefined">
        <ngx-select [items]="subjectArray" [(ngModel)]="room.ag_subject_id" (ngModelChange)="requestRoomArray()"
                    placeholder="请选择科目 "
                    class="wd-wide"
                    optionValueField="ag_subject_id" optionTextField="subject_value"></ngx-select>
      </div>
      <div class="ml-3" style="width:300px;" *ngIf="room.ag_subject_id !==undefined">
        <ngx-select [items]="roomArray" [(ngModel)]="room.ly_room_id" (ngModelChange)="requestStdArray()"
                    placeholder="请选择笔试考场 "
                    class="wd-wide"
                    optionValueField="ly_room_id" optionTextField="room_value"></ngx-select>
      </div>
      <div class="btn-group  mr-1 ml-3" dropdown *ngIf="room.ly_agent_id !== undefined">
        <button class="btn dropdown-toggle btn-secondary" type="button" dropdownToggle>辅助功能
          <span class="caret"></span>
        </button>
        <!-- <div *dropdownMenu class="dropdown-menu" role="menu">
          <a class="dropdown-item" href="#" (click)="goInit()">导出缺考</a>
          <div class="dropdown-divider"></div>

        </div> -->
      </div>
    </div>
  </div>

</div>
<div class="row">
  <div class="col-xl-3 col-lg-3" *ngFor="let std of stdArray">
    <div class="card b ">
      <div class="card-body">
        <div class="row text-center">
          <div class="col-xl-6 col-lg-6 text-center">
            <img class="rounded-0  mb-2" style="width:128px;height: 140px;"
                 [src]="FrameService.getParamValue('EnrolMaterialWebPath') + std['std_image']" ngxViewer/>
          </div>
          <div class="col-xl-6 col-lg-6 text-center">
            <img class="rounded-0  mb-2 "
                 [src]="FrameService.getParamValue('EnrolMaterialWebPath') + std['photo_file']"  style="width:128px;height: 140px;" ngxViewer
                 *ngIf="std.photo_file!==undefined"/>

            <img class="rounded-0  mb-2" [src]="'./assets/image/quekao.jpg'"  style="width:128px;height: 140px;"
                 *ngIf="std.photo_file===undefined"/>
          </div>
        </div>
        <p class="h4 text-bold mb-0 text-center">{{std.cert_id}}</p>
      </div>
      <div class="card-body bt">
        <div class="row">
          <div class="col-4 br">
            <em class="fas fa-user fa-fw text-primary"></em>
            <strong>{{std.std_name}}</strong>
          </div>
          <div class="col-4 br">
            <em class="fab fa-twitter fa-fw text-info"></em>
            <strong>{{std.ticket_no}}</strong>
          </div>
          <div class="col-4 br">
            <em class="fa fa-desktop fa-fw text-danger"></em>
            <strong class="ml-1">{{std.ly_room_seq}}</strong>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>

