<div class="content-heading  justify-content-between">
    <div>编排结果查询</div>
    <div class="float-right">
        <div class="row">
            <div class="wd-xl">
                <ngx-select [items]="agentArray" [(ngModel)]="checkin.agent_id" (ngModelChange)="requestDateArray()"
                    [autoClearSearch]="true" optionValueField="ly_agent_id" optionTextField="ly_agent_name">
                </ngx-select>
            </div>
            <div class="ml-3 wd-sm" *ngIf="checkin.agent_id!==undefined">
                <ngx-select [items]="dateArray" [(ngModel)]="checkin.exam_date" [autoClearSearch]="true"
                    (ngModelChange)="requestRoom()" optionValueField="exam_date" optionTextField="exam_date">
                </ngx-select>
            </div>
            <div class="ml-3 wd-lg" *ngIf="checkin.exam_date!==undefined">
                <ngx-select [items]="roomArray" [(ngModel)]="checkin.ly_room_id" [autoClearSearch]="true"
                    (ngModelChange)="requestData()" optionValueField="ly_room_id" optionTextField="room_name">
                </ngx-select>
            </div>
        </div>
    </div>
</div>

<div class="table-responsive bg-white table-full">
    <table class="table table-striped table-hover table-bordered">
        <thead>
            <tr>
                <th class="text-center">分组名称</th>
                <th class="text-center">考生姓名</th>
                <th class="text-center">证件号码</th>
                <th class="text-center">考试起止时间</th>
                <th class="text-center">检录序号</th>
                <th class="text-center">检录时间</th>
                <th class="text-center">进场序号</th>
                <th class="text-center">进场时间</th>
                <th class="text-center">评分时间</th>
                <th class="text-center"></th>
            </tr>
        </thead>
        <tbody>
            <tr *ngFor="let v of pager.getRecords(); let i = index">
                <td>{{v.group_name}}<span *ngIf="v.ly_room_addr">~{{v.ly_room_addr}}</span></td>
                <td>{{v.std_name}}</td>
                <td>{{v.cert_id}}</td>
                <td>{{v.ly_exam_date}}  {{v.exam_start_time | date:'HH:mm:ss'}} ~{{v.exam_end_time | date:'HH:mm:ss'}}</td>
                <td>{{v.real_checkin_seq}}</td>
                <td>{{v.real_checkin_time}}</td>
                <td>{{v.real_exam_echo}}</td>
                <td>{{v.real_inroom_time}}</td>
                <td>{{v.real_complete_time}}</td>
                <td>
                    <span class="table-button" (click)="showStdSubject(v)"><em  class="fa-lg fas fa-users"></em></span>
                </td>
            </tr>
        </tbody>
    </table>
    <frame-pager [url]="'./ly/std/subject/page.htm'" [pagerParams]="{ly_room_id: checkin.ly_room_id}" #pager></frame-pager>
</div>

