<div class="modal-header">
  <h4 class="modal-title pull-left">查看考生座位</h4>
</div>
<div class="modal-body row">
  <div class="row ml-5">
  <div [style.width]="'24%'"
       *ngFor="let std of stdArray"
       [style.marginTop]="currentEntity.std_margin_top +'px'"
       [style.marginLeft]="currentEntity.std_margin_left + 'px'">

    <div class="col-lg-12  col-xs-12 " [style.fontSize]="currentEntity.cert_id_font + 'pt'"
         [style.marginTop]="currentEntity.row_margin +'px'"
         *ngIf="currentEntity.cert_id_flag === 'Active'">{{std['cert_id']}}</div>

    <div class="row" [style.marginTop]="'5px'">
      <div class="col-lg-4  col-xs-4">
        <img class="img-fluid rounded " [style.width]="'96px'" [style.height]="'96px'"
             [src]="FrameService.getParamValue('EnrolMaterialWebPath') + std['std_image']"
             alt=""/>
      </div>
      <div class="col-lg-8  col-xs-8">
        <div class="col-lg-12  col-xs-12 text-center" [style.fontSize]="currentEntity.ticket_font + 'pt'"
             [style.marginTop]="currentEntity.row_margin +'px'">
                        <span *ngIf="currentEntity.aspect_num_flag === 'Active'">
                            {{std['aspect_ticket_num']}}
                        </span>
          <span *ngIf="currentEntity.aspect_num_flag !== 'Active'">
                            {{std['ticket_no']}}
                        </span>
        </div>
        <div class="row">
          <div class="col-lg-{{currentEntity.room_seq_flag==='Active'?8:12}}  text-center"
               [style.fontSize]="currentEntity.std_name_font + 'pt'"
               [style.marginTop]="currentEntity.row_margin +'px'"
               *ngIf="currentEntity.std_name_flag === 'Active'">{{std['std_name']}}</div>

          <div class="col-lg-4 text-center"
               [style.fontSize]="currentEntity.room_seq_font + 'pt'"
               [style.marginTop]="currentEntity.row_margin +'px'"
               *ngIf="currentEntity.room_seq_flag === 'Active'">{{std['ly_room_seq']}}</div>
        </div>

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

<div class="modal-footer justify-content-between">
  <div style="width:300px;">
    <ngx-select [items]="ResponseArray" [(ngModel)]="currentEntity.ly_room_id" style="width:300px"
                (ngModelChange)="requestRoomStd()"
                optionValueField="ly_room_id" optionTextField="room_addr"></ngx-select>

  </div>
  <button class="btn btn-secondary ml-2" type="button" (click)="closeWindow()">关闭窗口</button>
</div>
