<div class="content-heading  justify-content-between">
    <div>评委实时打分管理<h5 class="text-danger ml-2">说明：适用于评委评分过程中</h5></div>
    <div class="float-right">
        <div class="row">
            <div class="wd-xl"> 
                <ngx-select [items]="agentArr" [(ngModel)]="agent.agent_id" (ngModelChange)="requestDateArray()" [autoClearSearch]="true"
                    optionValueField="agent_id" optionTextField="agent_name" placeholder="请选择考点"></ngx-select>
            </div>
            <div class="ml-3 wd-sm" *ngIf="agent.agent_id!==undefined">
                <ngx-select [items]="dateArray" [(ngModel)]="agent.exam_date" [autoClearSearch]="true"
                            (ngModelChange)="requestRoom()"
                            optionValueField="exam_date" optionTextField="exam_date" placeholder="请选择日期"></ngx-select>
            </div>

            <div class="col-lg-4 wd-xxl">
                <ngx-select [items]="roomArr" [(ngModel)]="room.ly_room_id" (ngModelChange)="requestJudgeScoreRecord()" [autoClearSearch]="true"
                    optionValueField="ly_room_id" optionTextField="room_addr" placeholder="请选择考场"></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>考生姓名</th>
                <th>性别</th>
                <th>准考证号</th>
                <th>所在考场</th>
                <th>考试序号</th>
                <th>考试科目</th>
                <th>评委名称</th>
                <th>评委序号</th>
                <th></th>
            </tr>
        </thead>
        <tbody>
            <tr *ngFor="let v of pager.getRecords(); let i = index">
                <td>{{v.std_name}}</td>
                <td>{{v.std_sex}}</td>
                <td>{{v.ticket_no}}</td>
                <td>{{v.room_addr}}&nbsp;&nbsp;第【{{v.room_seq}}】考场</td>
                <td>{{v.real_exam_seq}}</td>
                <td>{{v.subject_name}}</td>
                <td>{{v.judge_name}}</td>
                <td>{{v.judge_seq}}</td>
                <td>
                    <span class="table-button" (click)="showModal({ResponseEntity:v})"><em
                        class="fa-lg fas fa-list"></em></span>
                   <!-- <span class="table-button ml-3 text-danger"
                        (click)="pager.optrRecord('exam/judge/score/record/delete/all.htm', v, {successMsg:'评委评分已删除，请让评委重新登录！', confirmMsg: '确定要删除该评委的评分吗？请慎重！', successMsgType:'Swal'})"><em
                    class="fa-lg fas fa-trash-alt "></em></span>   -->                     
                </td>
            </tr>
        </tbody>
    </table>
    <frame-pager [url]="'./exam/judge/score/record/page.htm'" [pagerParams]="{room_id: room?.ly_room_id}" [autoRequest]="false" #pager></frame-pager>
</div> 