<div class="content-heading  justify-content-between">
    <div>免初试考生材料审核
        <span class="ml-1 "></span>
        <span *ngIf="total" class="ml-4" style="font-size: 18px;">待审核考生还有【{{total}}】人</span>
        <span *ngIf="total==0" class="ml-4 text-success" style="font-size: 18px;">已完成全部考生的审核</span>
    </div>
    <div class="col-lg-5">
 
        <button class="btn btn-success btn-lg ml-4" type="button " (click)="export()">导出审核结果</button> 
    </div>
    <div class="float-right">
        <div class="row">
            <div style="width:260px;">
                <ngx-select [items]="aspectArr" [(ngModel)]="aspect_id" optionValueField="aspect_id"
                    (ngModelChange)="randomStdMaterial()" optionTextField="aspect_name"></ngx-select> 
            </div>
        </div>
    </div>
</div>

<div class="row">
    <ng-container *ngFor="let p of pendArr">
        <div class="col-xl-3 mt-3" >
            <div class="card card-default">
                <div class="card-body">
                    <div [ngClass]="{'text-success':p.without_exam_admit=== 'Active','text-danger':p.without_exam_admit=== 'InActive'}">
                        {{p.std_name}}({{p.std_school}})<span *ngIf="p.variety_name">[{{p.variety_name}}]</span> {{p.std_mobile}}|{{p.link_mobile}}
                        <span *ngIf="p.without_exam_admit=='InActive'" class="text-danger ml-2">审核不通过</span>
                        <span *ngIf="p.without_exam_admit=='Active'" class="text-success ml-2">审核通过</span>
                        <span *ngIf="p.without_exam_remark">[{{p.without_exam_remark}}]</span>
                    </div>
                    <div class="text-center mt-2">
                        <div class="px-2">
                             <img class="img-fluid rounded id_card"  [src]="FrameService.getParamValue('EnrolMaterialWebPath') + p['without_exam_material']"  ngxViewer  [viewerOptions]="viewerOptions" />
                        </div>
                    </div>
                </div>

                <div class="card-footer">
                    <p class="">
                        <span class="float-right">
                            <button class="btn btn-info btn-sm ml-2" type="button"  (click)="verifyMaterial(p,1)">通过审核</button> 
                            <button class="btn btn-danger btn-sm ml-2" type="button"  (click)="showRemarkComponent(p)">审核不通过</button>
                        </span>
                    </p>
                </div>

            </div>
        </div>
    </ng-container>
</div>