<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-sm">
                <ngx-select [items]="schoolArr" [(ngModel)]="score.school_id" (ngModelChange)="requestBatch()" [autoClearSearch]="true"
                    optionValueField="school_id" optionTextField="school_name" placeholder="请选择学校"></ngx-select>
            </div>
            <div class="ml-3 wd-sm" *ngIf="score.school_id!==undefined">
                <ngx-select [items]="batchArr" [(ngModel)]="score.batch_id" [autoClearSearch]="true"
                            (ngModelChange)="requestDate()" optionValueField="batch_id" 
                            optionTextField="batch_name" placeholder="请选择批次"></ngx-select>
            </div>
            <div class="ml-3 wd-sm" *ngIf="score.batch_id!==undefined">
                <ngx-select [items]="dateArr" [(ngModel)]="score.exam_date" [autoClearSearch]="true"
                            (ngModelChange)="requestRoom()" optionValueField="exam_date" 
                            optionTextField="exam_date" placeholder="请选择考试日期"></ngx-select>
            </div>
            <div class="col-lg-4 wd-xxl" *ngIf="score.exam_date!==undefined">
                <ngx-select [items]="roomArr" [(ngModel)]="score.ly_room_id" [autoClearSearch]="true"
                    optionValueField="ly_room_id" optionTextField="room_addr" placeholder="请选择考场"></ngx-select>
            </div>
            <div  *ngIf="score.ly_room_id!==undefined">
                <input class="form-control " type="text" [(ngModel)]="score.real_exam_echo" placeholder="输入考生进场序号"
               onfocus="this.select()" onmouseover="this.focus()" autocomplete="false" (keyup.enter)="requestScore()"/>
            </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>
                <th></th>
            </tr>
        </thead>
        <tbody>
            <tr *ngFor="let v of scoreArr; 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>{{v.judge_score}}</td>
                <td>
                    <span class="table-button" (click)="showEditModal(v)" tooltip="修改">
                        <em class="fa-lg fas fa-edit"></em></span>
                </td>
            </tr>
        </tbody>
    </table>
</div>

