<div class="panel panel-default">
    <!--标题-->
    <div class="panel-title">
        <nav aria-label="breadcrumb">
            <ol class="breadcrumb">
                <!-- TODO -->
                <li class="breadcrumb-item">毕业审核</li>
                <li class="breadcrumb-item active" aria-current="page">主考学校毕业审核</li>
            </ol>
        </nav>
    </div>
    <div class="panel-body ml-sm" [hidden]="editShowType=='only' || editShowType=='authQuery'  || editShowType=='stdResume'">
        <div class="card card-default">
            <div class="card-body">
                <!--查询条件-->
                <div class="row mb-3 ml-1" [hidden]="editShowType=='only' || editShowType=='authQuery'  || editShowType=='stdResume'">
                    <div class="col-lg-12">
                        <form (ngSubmit)="framePager.goSearch()" class="form-inline">
                            <table>
                            <tr>
                                <td>
                                <div class="input-group mr-1 input-group-sm">
                                <label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;关键字：</label>
                                <input name="keyword" [(ngModel)]="query.query" class="input-sm form-control" type="text"
                                            value="" maxlength="50" placeholder="请输入查询关键字" style="width:150px;">
                            </div>
                        </td>
                            <!--<div class="input-group mr-1 input-group-sm">
                                <label>市考办：</label>
                                <flex-select [allowClear]="true"
                                    [(items)] = "orgList"
                                    respDataPath= "array"
                                    optionValueField="id"
                                    optionTextField="org_name"
                                    [(ngModel)]="query.cityOrgId"
                                    placeholder="请选择"
                                    [ngModelOptions]="{standalone: true}"
                                    width = "40"
                                    noResultsFound = "无数据"
                                    >
                                </flex-select>
                            </div>&nbsp;&nbsp;
                             <div class="input-group mr-1 input-group-sm">
                                <label>主考学校：</label>
                                <flex-select [allowClear]="true"
                                    [(items)] = "masterSchoolList"
                                    respDataPath= "array"
                                    optionValueField="id"
                                    optionTextField="org_name"
                                    [(ngModel)]="query.masterSchoolId"
                                    placeholder="请选择"
                                    [ngModelOptions]="{standalone: true}"
                                    width = "40"
                                    noResultsFound = "无数据"
                                    >
                                </flex-select>
                            </div>&nbsp;&nbsp;-->
                            <td>
                            <div class="input-group mr-1 input-group-sm">
                                <label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;专业：</label>
                                <flex-select [allowClear]="true"
                                    [(items)] = "majorList"
                                    respDataPath= "array"
                                    optionValueField="id"
                                    optionTextField="major_full_name"
                                    [(ngModel)]="query.majorId"
                                    placeholder="请选择"
                                    [ngModelOptions]="{standalone: true}"
                                    width = "150"
                                    noResultsFound = "无数据"
                                    >
                                </flex-select>
                            </div>
                        </td>
                            
                            <td>
                            <!--时间批次 -->                             
                            <div class="input-group mr-1 input-group-sm">
                                <label class="ml-sm">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;毕业批次：</label>
                                <flex-select [allowClear]="true"
                                            [url]= "'pl/plExamTime/listPlExamTimeForBy.htm'"
                                            respDataPath= "array"
                                            optionValueField="id"
                                            optionTextField="exam_year_month"
                                            [(ngModel)]="query.examTimeId"
                                            placeholder="请选择"
                                            [ngModelOptions]="{standalone: true}"
                                            width = "60"
                                            noResultsFound = "无数据"
                                            >
                                </flex-select>
                            </div>
                        </td> 
                        <td>
                            <div class="input-group mr-1 input-group-sm">
                                    <label>备案类型：</label>
                                    <select name="by_std_type"
                                        width = "150"
                                        placeholder="请选择"
                                        [(ngModel)]="query.by_std_type" 
                                        frameDict [dictName]="'by_std_type'" 
                                        [ngModelOptions]="{standalone: true}"
                                        class="form-control">
                                    </select>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td>
                            <div class="input-group mr-1 input-group-sm">
                                <label>毕业状态：</label>
                                <select name="status" 
                                    width = "150"
                                    [(ngModel)]="query.status" 
                                    frameDict [dictName]="'ByStatus'" 
                                    [ngModelOptions]="{standalone: true}"
                                    class="form-control">
                                </select>
                            </div>
                        </td>
                        <td>
                        <div class="input-group mr-1 input-group-sm">
                                <label>衔接学校：</label>
                                <flex-select [allowClear]="true"
                                        [(items)] = "jionSchoolList"
                                        respDataPath= "array"
                                        optionValueField="id"
                                        optionTextField="org_name"
                                        [(ngModel)]="query.jionSchoolId"
                                        placeholder="请选择"
                                        [ngModelOptions]="{standalone: true}"
                                        width = "150"
                                        noResultsFound = "无数据"
                                        >
                                </flex-select>
                            </div>
                            
                        </td>
                        <td>
                        <div class="input-group mr-1 input-group-sm">
                                <label>标识初审通过：</label>
                                <select name="status" 
                                    width = "60"
                                    placeholder="请选择"
                                    [(ngModel)]="query.is_firstauth_pass" 
                                    frameDict [dictName]="'ByIsFirstAuthPass'" 
                                    [ngModelOptions]="{standalone: true}"
                                    class="form-control">
                                </select>
                            </div>
                        </td>

                        <td>
                            <div class="input-group mr-1 input-group-sm">
                                <label>考生确认：</label>
                                <select name="std_confirm"
                                    width = "150"
                                    placeholder="请选择"
                                    [(ngModel)]="query.std_confirm" 
                                    frameDict [dictName]="'By_Std_confirm'" 
                                    [ngModelOptions]="{standalone: true}"
                                    class="form-control">
                                </select>
                            </div>

                        <td>
                            <button class="btn btn-primary btn-rounded btn-outline btn-sm  mr-1" (click)="framePager.goSearch()">
                                <i class="fa fa-search"></i> 查询</button>
                                <button class="btn btn-primary btn-rounded btn-outline btn-sm  mr-1" (click)="resetdata()">
                                        <i class="fa fa-undo"></i> 重置</button>
                            </td>  
                            </tr> 
                            </table>
                            </form>
                    </div>
                </div>

                <!-- 工具栏 -->
                <div class="row mb-2" [hidden]="editShowType=='only' || editShowType=='authQuery'  || editShowType=='stdResume'">
                    <div class="col-lg-12">
                        <div class="pull-left" style="text-align: right;">
                            <button class="btn btn-primary mr-1 btn-sm" data-toggle="tooltip" data-placement="left"
                                (click)="showEditWin()" title="审核">
								<i class="fa fa-paint-brush"></i> 审核</button>
						<flex-pdf-viewer-modal #flexPdfModal size="bg" [pdfCheckedArray]="framePager.getCheckedArray()" ></flex-pdf-viewer-modal><button class="btn btn-primary mr-1 btn-sm" (click)="flexPdfModal.show();" data-toggle="tooltip" data-placement="left" title="毕业登记表预览"> <i class="fa icon-plus"></i> 毕业登记表预览</button>			                                 
                            <button class="btn btn-primary mr-1 btn-sm" (click)="getRegisterPdfForBatch()" data-toggle="tooltip"
                                data-placement="left" title="毕业登记表">
                                <i class="fa icon-cloud-download"></i> 毕业登记表</button>
                            <button class="btn btn-primary mr-1 btn-sm" (click)="showStdRefDialog(stdRefModal);" data-toggle="tooltip"
                                data-placement="left" title="毕业申请">
                                <i class="fa fa-snowflake"></i> 毕业申请</button>
                            <button class="btn btn-primary mr-1 btn-sm" (click)="showStdResume();" data-toggle="tooltip"
                                data-placement="left" title="修改简历">
                                <i class="fa icon-anchor"></i> 修改简历</button>
                                <button class="btn btn-primary mr-1 btn-sm" (click)="showAudit();" data-toggle="tooltip"
                                data-placement="left" title="查看审批记录">
                                <i class="fa icon-anchor"></i> 查看审批记录</button>
                            <button class="btn btn-primary mr-1 btn-sm" (click)="downApplyXls();" data-toggle="tooltip"
                                data-placement="left" title="导出">
                                <i class="fa icon-cloud-download"></i> 导出</button>
                                <button class="btn btn-primary mr-1 btn-sm" data-toggle="tooltip" data-placement="left"
                                (click)="callBackApply()" title="撤回">
                                <i class="fa fa-paint-brush"></i> 撤回</button>  
                                <button class="btn btn-primary mr-1 btn-sm" data-toggle="tooltip" data-placement="left"
                                (click)="batchSubmitApply()" title="将所有考生确认无误的毕业申请单提交到自治区招生考试院终审">
                                <i class="fa fa-paint-brush"></i> 一键报送</button>  
                                
                        </div>

                    </div>

                   

                </div>

                <!--表格-->
                <div class="row">
                    <div class="col-lg-12 ml-0" [hidden]="editShowType=='only' || editShowType=='authQuery'  || editShowType=='stdResume'">
                        <table class="table table-sm table-striped table-hover table-bordered bg-white">
                            <thead>
                                <tr>
                                    <th>
                                        <div class="checkbox c-checkbox">
                                            <label>
                                                <input type="checkbox" (change)="framePager.checkedMasterToggle($event)" />
                                                <span class="fa fa-check"></span>
                                            </label>
                                        </div>
                                    </th>
                                    <th>序号</th>
                                    <th align="center"><span (click)="framePager.sort('p.ticket_no')">准考证</span></th>
                                    <th><span (click)="framePager.sort('cert_no')">身份证</span></th>
                                    <th><span (click)="framePager.sort('std_name')">姓名</span></th>
                                   
                                    <th><span (click)="framePager.sort('major_code')">专业名称</span></th>
                                   
                                    <th><span (click)="framePager.sort('org_code')">主考学校</span></th>
                                    <th><span (click)="framePager.sort('join_org_name')">衔接学校</span></th>
                                    <th align="center"><span (click)="framePager.sort('is_xuexin_pass')">前置学历</span></th>
                                    <th><span (click)="framePager.sort('p.status')">审核状态</span></th>
                                    <th align="center"><span (click)="framePager.sort('is_auth_back')">是否驳回</span></th>
                                    <th style="width: 70px;" align="center">操作</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr *ngFor="let item of framePager.getRecords(); let i = index">
                                    <td>
                                        <div class="checkbox c-checkbox input-group-sm">
                                            <label>
                                                <input type="checkbox" [value]="item.id" [(checked)]="item.isChecked"
                                                    [(ngModel)]="item.isChecked" />
                                                <span class="fa fa-check"></span>
                                            </label>
                                        </div>
                                    </td>
                                    <td>{{framePager.pageStart + i}}</td>
                                    <td align="center">{{item.ticket_no}}</td>
                                    <td>{{item.cert_no}}</td>
                                    <td>{{item.std_name}}</td>
                                    
                                    <td>{{item.major_code}}-{{item.major_name}}</td>
                                    
                                    <td>{{item.org_code}}-{{item.org_name}}</td>
                                    <td>{{item.join_org_name}}</td>
                                    <td align="center" [innerHTML]="item.is_xuexin_pass | frameDict:'YesOrNo'"></td>
                                    <td *ngIf="item.status != 6" [innerHTML]="item.status | frameDict:'ByStatus'"></td>
                                    <td *ngIf="item.status == 6">
                                            <span>
                                                <font color="red">不通过</font>
                                            </span>
                                     </td>
                                    <td align="center">
                                        <div *ngIf="item.is_auth_back==0" class="text-muted">
                                            {{item.is_auth_back| frameDict:  'YesOrNo' }}</div>
                                        <div *ngIf="item.is_auth_back==1" class="text-danger">
                                            {{item.is_auth_back| frameDict: 'YesOrNo' }}</div>
                                    </td>
                                    <td align="center">
                                        <a href="#" (click)="showEditWin(item)" title="审核"><em
                                                class="fa-lg fas fa-edit mr-1"></em></a>
                                        <a href="#" (click)="deleteApply(item)" title="删除"><em class="fa-lg fas fa-trash mr-1"
                                            style="color:#F56D6D"></em></a>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                        <!-- TODO -->
                        <frame-pager [url]="QUERY_URL" hideSearch="true" hasCheck="true" #framePager (preReqEvent)="search($event)"></frame-pager>
                    </div>

                    <!-- 编辑页面 -->
                    <div class="col-lg-12" *ngIf="item && editShowType != null && editShowType!='modal'">
                        <ng-container *ngTemplateOutlet="editTemplateModal">
                        </ng-container>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- only 审核界面-->
    <div class="col-lg-12" *ngIf="item && editShowType != null && editShowType =='only'">
        <ng-container *ngTemplateOutlet="editTemplateModal">
        </ng-container>
    </div>
    <!-- authQuery 审核记录查询-->
    <div class="col-lg-12" *ngIf="item && editShowType != null && editShowType =='authQuery'">
        <ng-container *ngTemplateOutlet="authQueryModal">
        </ng-container>
    </div>
    <!--录入分数界面-->
    <div class="col-lg-12" *ngIf="item && editShowType != null && editShowType =='input'">
        <ng-container *ngTemplateOutlet="manualInputModal">
        </ng-container>
    </div>
    <!--课程顶替界面-->
    <div class="col-lg-12" *ngIf="item && editShowType != null && editShowType =='repl'">
        <ng-container *ngTemplateOutlet="courseReplModal">
        </ng-container>
    </div>
    <!--创建毕业申请-考生引用界面-->
    <div class="col-lg-12" *ngIf="item && editShowType != null && editShowType =='stdRef'">
        <ng-container *ngTemplateOutlet="stdRefModal">
        </ng-container>
    </div>
    <!-- 考生简历修改 -->
    <div class="col-lg-12" *ngIf="editShowType != null && editShowType =='stdResume'">
        <ng-container *ngTemplateOutlet="stdResumeModal">
        </ng-container>
    </div>
</div>

<!--******************************************************毕业审核详情界面****************************************************-->
<ng-template #editFormTemplate>
<form [formGroup]="formModel" *ngIf="item" class="form-validate form-horizontal" novalidate="">
        <input type="hidden" class="form-control" formControlName="id" [(ngModel)]="item.id" [formControl]="formModel.controls['id']" />
        <div class="row mb-1" style="padding-bottom: 0px; ">
            <!-- 学生基础信息 -->
            <table class="table table-sm table-striped table-hover table-bordered bg-white" style="margin-bottom: 5px;padding-bottom: 0px; ">
                <tbody>
                    <tr>
                        <td style="text-align: right" width="9%">姓名</td>
                        <td width="23%"><input class="form-control" type="text" [(ngModel)]="item.std_name" [ngModelOptions]="{standalone: true}" readonly/></td>
                        <td style="text-align: right" width="7%">身份证</td>
                        <td width="23%"><input class="form-control" type="text" [(ngModel)]="item.cert_no" [ngModelOptions]="{standalone: true}" readonly/></td>
                        <td rowspan="8" style="width:12%;text-align: center">
                                <span *ngIf="item.photo_path">考生照片</span>
                            <div *ngIf="item.photo_path" class="text-muted image-container" style="width: 180px;height: 240px;border:solid 1.5px #000000;">
                                <img  [src]="item.photo_path" style="width: 100%;height: 100%;" title="照片要求：宽480像素*高640像素，人像居中，蓝底，文件大小在20KB至40KB。">
                                <button class="btn btn-info" style="margin-top:15px;" (click)="setStdByPhoto(); " title="将考生照片调整至宽480*高640且大小20-40KB并设为毕业照片。">
                                    <i class="fa fa-info-circle"> </i> 调整并设为毕业照片
                                </button>
                            </div>
                        </td>

                        <td rowspan="8" style="width:12%;text-align: center">
                                <span *ngIf="item.std_by_photo">考生上传的毕业照片</span>
                            <div *ngIf="item.std_by_photo" class="text-muted image-container" style="width: 180px;height: 240px;border:solid 1.5px #000000;">
                                <img [src]="item.std_by_photo" style="width: 100%;height: 100%;" title="考生上传的毕业照片">
                                <button class="btn btn-info" style="margin-top:15px;" (click)="changeStdByPhoto(); " title="将考生上传的照片作为毕业照片。">
                                    <i class="fa fa-info-circle"> </i> 设为毕业照片
                                </button>
                            </div>
                            
                        </td>

                        <td rowspan="8" style="width:12%;text-align: center">
                                <span *ngIf="item.by_photo_path">毕业照片</span>
                            <div *ngIf="item.by_photo_path" class="text-muted image-container" style="width: 180px;height: 240px;border:solid 1.5px #000000;">
                                <img [src]="item.by_photo_path" style="width: 100%;height: 100%;" alt="替换照片" (click)="showUploadImgDialog(uploadImgModal);" title="点击照片可重新上传照片。">
                                <div class="line1"></div>
                                <div class="line2"></div>
                                <div class="line3"></div>
                                <div class="line4"></div>
                                <button class="btn btn-info" style="margin-top:15px;" (click)="showUploadImgDialog(uploadImgModal); " title="照片要求：宽480像素*高640像素，人像居中，蓝底，文件大小在20KB至40KB。">
                                    <i class="fa fa-info-circle"> </i> 重新上传毕业照片
                                </button>
                            </div>
                            <div *ngIf="!item.by_photo_path" class="text-muted" style="align-content: center;">
                                <button class="btn btn-info" (click)="showUploadImgDialog(uploadImgModal); " title="照片要求：宽480像素*高640像素，人像居中，蓝底，文件大小在20KB至40KB。">
                                    <i class="fa fa-info-circle"> </i> 上传毕业照片
                                </button>
                            </div>
                        </td>
                    </tr>
                        <tr>
                            <td style="text-align: right">准考证</td>
                            <td><input class="form-control" type="text" [ngModelOptions]="{standalone: true}" [(ngModel)]="item.ticket_no" readonly/></td>
                            <td style="text-align: right">性别</td>
                            <td>
                                <select [ngModelOptions]="{standalone: true}"
                                    [(ngModel)]="item.std_sex" 
                                    frameDict [dictName]="'StdSexType'" 
                                    class="form-control">
                                </select>
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align: right">民族</td>
                            <td>
                                <select [ngModelOptions]="{standalone: true}"
                                    [(ngModel)]="item.nation" 
                                    frameDict [dictName]="'std_nation'" 
                                    class="form-control">
                                </select>
                            </td>
                            <td style="text-align: right">出生日期</td>
                            <td>
                                <input class="form-control" type="text"  [formControl]="formModel.controls['std_birth']"  DateTimePicker [dpType]="'date'" [dpValue]="item.std_birth" [(ngModel)]="item.std_birth"/>
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align: right">省市自治区</td>
                            <td><input class="form-control" type="text" [ngModelOptions]="{standalone: true}" [(ngModel)]="item.native_prov"/></td>
                            <td style="text-align: right">市(县)</td>
                            <td><input class="form-control" type="text" [ngModelOptions]="{standalone: true}" [(ngModel)]="item.native_city"/></td>
                        </tr>
                        <tr>
                            <td style="text-align: right">政治面貌</td>
                            <td>
                                <select
                                    [(ngModel)]="item.political" 
                                    frameDict [dictName]="'std_political_status'" 
                                    [ngModelOptions]="{standalone: true}"
                                    class="form-control">
                                </select>
                            </td>
                            <td style="text-align: right">考前学历</td>
                            <td><input class="form-control" type="text" [(ngModel)]="item.pre_edu" [ngModelOptions]="{standalone: true}"/></td>
                        </tr>
                        <tr>
                            <td style="text-align: right">工作单位</td>
                            <td><input class="form-control" type="text" [ngModelOptions]="{standalone: true}" [(ngModel)]="item.work_unit"/></td>
                            <td style="text-align: right">联系电话</td>
                            <td><input class="form-control" type="text" [ngModelOptions]="{standalone: true}" [(ngModel)]="item.telephone"/></td>
                        </tr>
                        <tr>
                            <td style="text-align: right">家庭地址</td>
                            <td><input class="form-control" type="text" [ngModelOptions]="{standalone: true}" [(ngModel)]="item.address"/></td>
                            <td style="text-align: right">邮政编码</td>
                            <td><input class="form-control" type="text" [ngModelOptions]="{standalone: true}" [(ngModel)]="item.post_code"/></td>
                        </tr>
                        <tr>
                            <td style="text-align: right">毕业证书号</td>
                            <td><input class="form-control" type="text" [ngModelOptions]="{standalone: true}" [(ngModel)]="item.diaplma_no" readonly/></td>
                            <td style="text-align: right">专业层次</td>
                            <td><input class="form-control" type="text" [ngModelOptions]="{standalone: true}" [(ngModel)]="majorLevel" readonly/></td>
                        </tr>
                        <tr>
                            <td style="text-align: right">主考学校</td>
                            <td><input class="form-control" type="text" [ngModelOptions]="{standalone: true}" [(ngModel)]="item.org_name" readonly/></td>

                           
                            <td style="text-align: right">专业</td>

                            <td>
                                    {{item.major_code}}-{{item.major_name}}
                            </td>
                            <td colspan="3">
                                    
                                    <div style="text-align: right;font-size:13px;">
                                            <span class="ml-sm" >照片要求：宽480像素*高640像素，人像居中，蓝底，文件大小在20KB至40KB。</span>
                                            <br>
                                                <span class="ml-sm" >请根据毕业照片上的网格，确认人像要居中以及眼睛不能过高或过低。</span>
                                   </div>
                            </td>
                        </tr>

                        <tr *ngIf="majorLevel == '本科'">
                                <td colspan="6" style="text-align: center;">
                                        <span *ngIf="certRetDesc == '没有前置学历认证，请确认!'" style="color:red;">{{certRetDesc}}</span>
                                         <span *ngIf="certRetDesc != '没有前置学历认证，请确认!'" style="color:green;">{{certRetDesc}}</span>
                                          
                                </td>
                                
                            </tr>

                            <tr *ngIf="majorLevel == '本科' && isHaveXueXinXj">
                                <td colspan="6" style="text-align: center;">
                                         <span style="color: black;font-weight: bold;">学籍已认证</span>
                                          
                                </td>
                                
                            </tr>
                </tbody>
            </table>
        </div>
        <div class="row mb-1" style="padding-top: 0px; ">
            
            <div style="margin-bottom: 8px; width: 100%;">
                <div style="text-align: right;">
                        <span *ngIf="item.status=='8' && item.std_confirm=='2'">
                                <flex-pdf-viewer-contrast-modal #flexPdfContrastModal size="bg" [id]="item.id"></flex-pdf-viewer-contrast-modal><button  class="btn btn-primary mr-1 btn-sm" (click)="flexPdfContrastModal.show();" data-toggle="tooltip" data-placement="left" title="毕业登记表对比"> <i class="fa icon-plus"></i> 毕业登记表对比</button>			                                 
                            </span>
                    <button class="btn btn-primary mr-1 btn-sm" data-toggle="tooltip" data-placement="left" (click)="showTicketAssocitDialog(ticketNoAssocitModal);" title="关联">
                        <i class="fa fa-plus"></i> 关联准考证</button>
                    <button class="btn btn-primary mr-1 btn-sm" data-toggle="tooltip" data-placement="left" (click)="saveBaseInfo();" title="保存">
                        <i class="fa fa-save"></i> 保存基本信息</button>
                    <!--
                        <button class="btn btn-primary mr-1 btn-sm" data-toggle="tooltip" data-placement="left" *ngIf="majorLevel == '本科'" (click)="reqCertify();" title="认证">
                        <i class="fa fa-snowflake"></i> 学历认证</button>
                        -->
                    <button class="btn btn-primary mr-1 btn-sm" data-toggle="tooltip" data-placement="left" (click)="resetByScore();" title="清空毕业申请单的毕业成绩，重新从统考和校考成绩表导入毕业成绩！">
                            重置毕业成绩</button>
                            
                        <button class="btn btn-primary mr-1 btn-sm" data-toggle="tooltip" data-placement="left" (click)="distinctByScore();" title="对毕业成绩去除重复，取每门课程成绩的最高分！">
                                 毕业成绩去重</button>
                        
                        <button class="btn btn-primary mr-1 btn-sm" data-toggle="tooltip" data-placement="left" (click)="showReplDialog(courseReplModal);" title="选中一门课程，并顶替该门课程成绩！">
                                 顶替</button>
                        <button class="btn btn-primary mr-1 btn-sm" data-toggle="tooltip" data-placement="left" (click)="showInputDialog(manualInputModal);" title="选中一门课程，为该门课程手工录入成绩！">
                                 手工录入</button>
                        <button class="btn btn-primary mr-1 btn-sm" data-toggle="tooltip" data-placement="left" (click)="showTurnInDialog(turnInAssocitModal);" title="选中一门课程，为该门课程转入关联成绩！">
                                 转入关联</button>
                        <!--
                                 <button class="btn btn-primary mr-1 btn-sm" data-toggle="tooltip" data-placement="left" (click)="deleteByCourse();" title="选中一门课程，将该门课程从毕业课程中删除！">
                             删除毕业课程</button>
                             -->
                        <button class="btn btn-primary mr-1 btn-sm" data-toggle="tooltip" data-placement="left" (click)="checkBy();" title="校验考生是否符合毕业条件！">
                            毕业合格校验</button>
                        
                        <button class="btn btn-primary mr-1 btn-sm" data-toggle="tooltip" data-placement="left" (click)="showIdCardDialog(idCardModal);" title="">
                            考生照片</button>
                </div>

               
               
            </div>

            <!-- 成绩列表 -->
            <table class="table table-sm table-striped table-hover table-bordered bg-white">
                <thead>
                    <tr>
                        <th></th>
                        <th nowrap>序号</th>
                        <th nowrap align="center">课程代码</th>
                        <th nowrap>课程名称</th>
                        <th nowrap>课程性质</th>
                        <th nowrap align="center">学分</th>
                        <th nowrap>成绩来源</th>
                        <th nowrap>成绩性质</th>
                        <th nowrap align="center">成绩</th>
                        <th nowrap align="center">合格</th>
                        <th nowrap>主考学校</th>
                        <th nowrap>备注</th>
                        <!-- <th nowrap>专业</th>-->
                        <th align="center" nowrap>操作</th>
                    </tr>
                </thead>
                <tbody>
                    <tr *ngFor="let it of scoreList; let i = index">
                      <td *ngIf="it && it.course_code!='-1'">
                        <div class="checkbox c-checkbox input-group-sm">
                            <label>
                                <label class="radio-inline c-radio" style="margin: 0px !important">
                                    <input type="radio" name="scoreradio" [value]="it.course_id" (click)="scoreRadioCheckFun(it)"/>
                                    <span class="fa fa-circle" style="margin: 0px !important"></span>
                                    </label>
                            </label>
                        </div>
                        </td>
                        <td *ngIf="it && it.course_code=='-1'">
                           
                         </td>

                         <td nowrap *ngIf="it && it.course_code!='-1' && (!it.is_passed || it.is_passed=='0'||it.score_type=='7')" bgcolor="#33CCFF">{{i+1}}</td>
                         <td nowrap *ngIf="it && it.course_code!='-1' && !(!it.is_passed || it.is_passed=='0'||it.score_type=='7')">{{i+1}}</td>
 
                         <td nowrap *ngIf="it && it.course_code=='-1'"></td>
 
                         <td nowrap align="center" *ngIf="it && it.course_code!='-1'&& (!it.is_passed || it.is_passed=='0'||it.score_type=='7')" bgcolor="#33CCFF" title="如有括号，括号里的课程代码是专业计划的课程代码。">{{it.course_code}}</td>
                         <td nowrap align="center" *ngIf="it && it.course_code!='-1'&& !(!it.is_passed || it.is_passed=='0'||it.score_type=='7')" title="如有括号，括号里的课程代码是专业计划的课程代码。">{{it.course_code}}</td>
                         
                         <td nowrap *ngIf="it && it.course_code=='-1'"></td>
 
                         <td *ngIf="it.course_code!='-1'&&(!it.is_passed || it.is_passed=='0'||it.score_type=='7')" bgcolor="#33CCFF">{{it.course_name}}</td>
                         <td *ngIf="it.course_code=='-1'||!(!it.is_passed || it.is_passed=='0'||it.score_type=='7')" >{{it.course_name}}</td>
 
                         <td *ngIf="it.course_code!='-1'&&(!it.is_passed || it.is_passed=='0'||it.score_type=='7')" bgcolor="#33CCFF" [innerHTML]="it.course_nature | frameDict:'CourseNature'"></td>
                         <td *ngIf="it.course_code=='-1'||!(!it.is_passed || it.is_passed=='0'||it.score_type=='7')" [innerHTML]="it.course_nature | frameDict:'CourseNature'"></td>
 
                         <td align="right" *ngIf="it.course_code!='-1'&&(!it.is_passed || it.is_passed=='0'||it.score_type=='7')" bgcolor="#33CCFF" title="顶替、转入关联的课程学分，取专业计划的课程学分；关联准考证、手工录入的课程学分，取关联准考证、手工录入的课程的学分，如手工录入的课程没有学分，则学分为空。">{{it.course_score}}</td>
                         <td align="right" *ngIf="it.course_code=='-1'||!(!it.is_passed || it.is_passed=='0'||it.score_type=='7')" title="顶替、转入关联的课程学分，取专业计划的课程学分；关联准考证、手工录入的课程学分，取关联准考证、手工录入的课程的学分，如手工录入的课程没有学分，则学分为空。">{{it.course_score}}</td>
                         
                         <td *ngIf="it.course_code!='-1'&&(!it.is_passed || it.is_passed=='0'||it.score_type=='7')" bgcolor="#33CCFF" [innerHTML]="it.score_type | frameDict:'ByScoreType'"></td>
                         <td *ngIf="it.course_code=='-1'||!(!it.is_passed || it.is_passed=='0'||it.score_type=='7')" [innerHTML]="it.score_type | frameDict:'ByScoreType'"></td>
                        
                         <td *ngIf="it.course_code!='-1'&&(!it.is_passed || it.is_passed=='0'||it.score_type=='7')" bgcolor="#33CCFF" [innerHTML]="it.score_source | frameDict:'ScoreSource'"></td>
                         <td *ngIf="it.course_code=='-1'||!(!it.is_passed || it.is_passed=='0'||it.score_type=='7')" [innerHTML]="it.score_source | frameDict:'ScoreSource'"></td>
 
                         <td align="right" *ngIf="it && it.score_type =='6'&&it.course_code!='-1'&&(!it.is_passed || it.is_passed=='0'||it.score_type=='7')" bgcolor="#33CCFF"><a href="#" (click)="showAssoDialog(assoModal,it.asso_ticket_no,it.course_code_temp)" title="查看关联准成绩">{{formateFinalScore(it)}}</a></td>
                         <td align="right" *ngIf="it && it.score_type =='6'&&(it.course_code=='-1'||!(!it.is_passed || it.is_passed=='0'||it.score_type=='7'))" ><a href="#" (click)="showAssoDialog(assoModal,it.asso_ticket_no,it.course_code_temp)" title="查看关联准成绩">{{formateFinalScore(it)}}</a></td>
 
                         <td align="right" *ngIf="it && it.score_type =='9'&&it.course_code!='-1'&&(!it.is_passed || it.is_passed=='0'||it.score_type=='7')" bgcolor="#33CCFF"><a href="#" (click)="showAssoDialog2(assoModal2,it.asso_ticket_no,it.course_code_temp)" title="查看关联准成绩">{{formateFinalScore(it)}}</a></td>
                         <td align="right" *ngIf="it && it.score_type =='9'&&(it.course_code=='-1'||!(!it.is_passed || it.is_passed=='0'||it.score_type=='7'))" ><a href="#" (click)="showAssoDialog2(assoModal2,it.asso_ticket_no,it.course_code_temp)" title="查看关联准成绩">{{formateFinalScore(it)}}</a></td>
 
                         <td align="right" *ngIf="(!it || !(it.score_type =='6'||it.score_type =='9'))&&it.course_code!='-1'&&(!it.is_passed || it.is_passed=='0'||it.score_type=='7')" bgcolor="#33CCFF">{{formateFinalScore(it)}}</td>
                         <td align="right" *ngIf="(!it || !(it.score_type =='6'||it.score_type =='9'))&&(it.course_code=='-1'||!(!it.is_passed || it.is_passed=='0'||it.score_type=='7'))" >{{formateFinalScore(it)}}</td>
 
                         <td align="center" *ngIf="it.course_code!='-1'&&(!it.is_passed || it.is_passed=='0'||it.score_type=='7')" bgcolor="#33CCFF" [innerHTML]="it.is_passed | frameDict:'YesOrNo'" title="不合格的成绩，允许删除。不合格的成绩不会显示在毕业登记表。"></td>
                         <td align="center" *ngIf="it.course_code=='-1'||!(!it.is_passed || it.is_passed=='0'||it.score_type=='7')" [innerHTML]="it.is_passed | frameDict:'YesOrNo'" title="不合格的成绩，允许删除。不合格的成绩不会显示在毕业登记表。"></td>
 
                         <td *ngIf="it.course_code!='-1'&&(!it.is_passed || it.is_passed=='0'||it.score_type=='7')" bgcolor="#33CCFF" title="原则上，成绩对应的主考学校要与毕业申请的主考学校一致。">{{it.org_name}}</td>
                         <td *ngIf="it.course_code=='-1'||!(!it.is_passed || it.is_passed=='0'||it.score_type=='7')" title="原则上，成绩对应的主考学校要与毕业申请的主考学校一致。">{{it.org_name}}</td>
                         <!--<td>{{it.major_name}}</td>-->

                         <td *ngIf="it.course_code!='-1'&&(!it.is_passed || it.is_passed=='0'||it.score_type=='7')" bgcolor="#33CCFF" >{{it.remark}}</td>
                         <td *ngIf="it.course_code=='-1'||!(!it.is_passed || it.is_passed=='0'||it.score_type=='7')" >{{it.remark}}</td>
                        
 
                         <td align="center" nowrap *ngIf="it && it.course_code!='-1'">
                             
                         <a href="#" (click)="showScoreDialog(scoreModal,it.id,it.course_id)" title="成绩"><em class="fa-lg fas icon-list mr-1"></em></a>
                        &nbsp;&nbsp;
                         <a href="#" (click)="deleteByScore(it)" title="删除成绩"><em class="fa-lg fas fa-trash mr-1" style="color:#F56D6D"></em></a>
 
                         </td>

                        <td *ngIf="it && it.course_code=='-1'">
                           
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>

        <div class="col-lg-12"  style="padding-left:0px;margin-left:-15px;padding-bottom:10px;cursor: pointer;" (click)="isShowMajorRemark=(!isShowMajorRemark);">
                <div class="card-header">
                <span class="span-class">{{item.major_code}}-{{item.major_name}}&nbsp;专业描述信息</span>
                <i *ngIf="!isShowMajorRemark" style="float:right" class="icon-arrow-down" ></i>
                <i *ngIf="isShowMajorRemark" style="float:right" class="icon-arrow-up" ></i>
    
                </div>
               </div>
<!--
        <div class="row" style="padding-left: 14px;text-align: center"><label class="text-lg-left">({{item.major_code}}){{item.major_name}}&nbsp;专业描述信息:</label></div>
        -->
        <div class="row mb-1" *ngIf="isShowMajorRemark" style="padding-left: 14px;white-space:pre-wrap">{{item.major_remark}}</div>

        <div class="col-lg-12" style="padding-left:0px;margin-left:-15px;">
            <div class="card-header">
                个人简历
            </div>
           </div>
<!--
        <div class="row" style="text-align: center">
            <label class="col-lg-2 col-form-label text-lg-left">个人简历</label>
        </div>
        -->
        <div class="row mb-1">
            <!-- 个人简历列表 -->
            <table class="table table-sm table-striped table-hover table-bordered bg-white">
                <thead>
                    <tr>
                        <th width="50px">序号</th>
                        <th align="center" width="90px">开始日期</th>
                        <th align="center" width="90px">截止日期</th>
                        <th>在何地、何单位学习或工作</th>
                        <th width="280px">任何职务</th>
                    </tr>
                </thead>
                <tbody>
                    <tr *ngFor="let it3 of resumeList; let i = index">
                        <td>{{i+1}}</td>
                        <td align="center">{{it3.start_date }}</td>
                        <td align="center">{{it3.end_date}}</td>
                        <td>{{it3.work_exp}}</td>
                        <td>{{it3.position}}</td>
                    </tr>
                </tbody>
            </table>
        </div> 

        <div class="col-lg-12" *ngIf="isWeiJi" style="padding-left:0px;margin-left:-15px;">
            <div class="card-header">
                违纪信息
            </div>
           </div>
<!--
        <div class="row" style="text-align: center" *ngIf="isWeiJi">
            <label class="col-lg-2 col-form-label text-lg-left">违纪信息</label>
        </div>
        -->
        <div class="row mb-1" *ngIf="isWeiJi">
            <!-- 违纪信息列表 -->
            <table class="table table-sm table-striped table-hover table-bordered bg-white">
                <thead>
                    <tr>
                        <th width="50px">序号</th>
                        <th align="center">考试批次</th>
                        <th >姓名</th>
                        <th align="center">准考证号</th>
                        <th align="center">开始时间</th>
                        <th align="center">结束时间</th>
                        <th>违纪情况</th>
                        <th>违纪处理</th>
                        
                    </tr>
                </thead>
                <tbody>
                    <tr *ngFor="let it5 of weiJiList; let i = index">
                        <td>{{i+1}}</td>
                        <td align="center">{{it5.year_code }}</td>
                        <td>{{it5.std_name}}</td>
                        <td align="center">{{it5.ticket_no}}</td>
                        <td align="center">{{it5.stop_starttime}}</td>
                        <td align="center">{{it5.stop_endtime}}</td>
                        <td>{{it5.item_content}}</td>
                        <td>{{it5.rule_name}}</td>
                    </tr>
                </tbody>
            </table>
        </div> 

        <div class="col-lg-12" *ngIf="isHaveXueXin" style="padding-left:0px;margin-left:-15px;">
            <div class="card-header">
                学信网学历认证信息
            </div>
           </div>

        <div class="row mb-1" *ngIf="isHaveXueXin">
            <!-- 学信网学历认证信息列表 -->
            <table style="width:96%;" class="table table-sm table-striped table-hover table-bordered bg-white">
                <thead>
                    <tr>
                        <th width="50px">序号</th>
                        <th>姓名</th>
                        <th>证件号码</th>
                        <th>院校名称</th>
                        <th>专业名称</th>
                        <th>层次</th>
                      
                        <th align="center">毕业年份</th>
                        <th align="center">毕结业结论</th>
                        <th align="center">认证时间</th>
                        
                    </tr>
                </thead>
                <tbody>
                    <tr *ngFor="let it4 of xuexinList; let i = index">
                        <td>{{i+1}}</td>
                        <td>{{it4.xm }}</td>
                        <td>{{it4.zjhm}}</td>
                        <td>{{it4.yxmc}}</td>
                        <td>{{it4.zymc}}</td>
                        <td>{{it4.cc}}</td>
                        
                        <td align="center">{{it4.bynf}}</td>
                        <td align="center">{{it4.bjyjl}}</td>
                        <td align="center">{{it4.create_date}}</td>
                       
                    </tr>
                </tbody>
            </table>
        </div>  

        <div class="col-lg-12" *ngIf="isHaveXueXinXj" style="padding-left:0px;margin-left:-15px;">
            <div class="card-header">
                学信网学籍认证信息
            </div>
           </div>

        <div class="row mb-1" *ngIf="isHaveXueXinXj">
            <!-- 学信网学历认证信息列表 -->
            <table style="width:96%;" class="table table-sm table-striped table-hover table-bordered bg-white">
                <thead>
                    <tr>
                        <th width="50px">序号</th>
                        <th>姓名</th>
                        <th>证件号码</th>
                        <th>院校名称</th>
                        <th>专业名称</th>
                       
                        <th>学习形式</th>
                        
                       
                        <th align="center">预计毕业年份</th>
                        <th align="center">认证时间</th>
                        
                    </tr>
                </thead>
                <tbody>
                    <tr *ngFor="let it4 of xuexinxjList; let i = index">
                        <td>{{i+1}}</td>
                        <td>{{it4.xm }}</td>
                        <td>{{it4.zjhm}}</td>
                        <td>{{it4.yxmc}}</td>
                        <td>{{it4.zymc}}</td>
                        <td>{{it4.xxxs}}</td>
                        <td align="center">{{it4.yjbynf}}</td>
                        <td align="center">{{it4.create_date}}</td>
                       
                    </tr>
                </tbody>
            </table>
        </div>  

        <div class="col-lg-12" style="padding-left:0px;margin-left:-15px;">
            <div class="card-header">
                附件信息
            </div>
           </div>

           <div class="row mb-1">
            
            <table class=" table-sm table-striped table-hover table-bordered bg-white">
               
                    <tr>
                        <td style="text-align: center;width: 200px;">
                            <div style="vertical-align:middle;">
                                    <img    *ngIf="item.cert_file && (item.cert_file.lastIndexOf('zip')!=-1 || item.cert_file.lastIndexOf('rar')) !=-1" style="width:80px;height: 106px;cursor: pointer;" [src]="file_access_url+item.cert_file" (click)="downByFile(file_access_url+item.cert_file)">
                                    <img *ngIf="!(item.cert_file && (item.cert_file.lastIndexOf('zip')!=-1 || item.cert_file.lastIndexOf('rar')) !=-1)" style="width:80px;height: 106px;cursor: pointer;" [src]="file_access_url+item.cert_file" (click)="showImgTable(certImgeTemplateModal)">
                                      <br>
                                <span style="color: #185598;" (click)="showImgTable(certImgeTemplateModal)">身份证件</span>
                              </div>
                        </td>
                        <td  *ngIf="item.by_file||item.by_file_two||item.by_file_three||item.by_file_four||item.by_file_five" style="text-align: center;width: 200px;">
                            <div >
                                    <img    *ngIf="item.by_file && (item.by_file.lastIndexOf('zip')!=-1 || item.by_file.lastIndexOf('rar')) !=-1" style="width:80px;height: 106px;cursor: pointer;" [src]="file_access_url+item.by_file" (click)="downByFile(file_access_url+item.by_file)">
                                    <img *ngIf="!(item.by_file && (item.by_file.lastIndexOf('zip')!=-1 || item.by_file.lastIndexOf('rar')) !=-1)" style="width:80px;height: 106px;cursor: pointer;" [src]="file_access_url+item.by_file" (click)="showImgTable(byFileImgeTemplateModal)">
                                     <br>
                                <span style="color: #185598;" (click)="showImgTable(byFileImgeTemplateModal)">学历证明</span>
                              </div>
                        </td>
                        <td *ngIf="item.score_file||item.score_file_two||item.score_file_three||item.score_file_four||item.score_file_five" style="text-align: center;width: 200px;">
                            <div >
                                    <img    *ngIf="item.score_file && (item.score_file.lastIndexOf('zip')!=-1 || item.score_file.lastIndexOf('rar')) !=-1" style="width:80px;height: 106px;cursor: pointer;" [src]="file_access_url+item.score_file" (click)="downByFile(file_access_url+item.score_file)">
                                    <img *ngIf="!(item.score_file && (item.score_file.lastIndexOf('zip')!=-1 || item.score_file.lastIndexOf('rar')) !=-1)" style="width:80px;height: 106px;cursor: pointer;" [src]="file_access_url+item.score_file" (click)="showImgTable(scoreFileImgeTemplateModal)">
                                       <br>
                                <span style="color: #185598;"  (click)="showImgTable(scoreFileImgeTemplateModal)">成绩证明</span>
                              </div>
                        </td>
                        
                    </tr>
                    
            </table>
        </div>  

        <div class="col-lg-12" style="padding-left:0px;margin-left:-15px;">
            <div class="card-header">
                审核记录
            </div>
           </div>
        <div class="row mb-1">
            <!-- 审核流程列表 -->
            <table class="table table-sm table-striped table-hover table-bordered bg-white">
                <thead>
                    <tr>
                        <th width="10%">序号</th>
                        <th width="20%">审核类型</th>
                        <th align="center" width="15%">审核时间</th>
                        <th width="20%">受理单位</th>
                        <th width="35%">审核意见</th>
                    </tr>
                </thead>
                <tbody>
                    <tr *ngFor="let it of authList; let i = index">
                        <td>{{i+1}}</td>
                        <td>{{it.auth_type | frameDict:'ByAuthType'}}</td>
                        <td align="center">{{it.auth_time}}</td>
                        <td>{{it.optr_name}}</td>
                        <td>{{it.auth_remark}}</td>
                    </tr>
                </tbody>
            </table>
        </div>    

        <div class="row mb-1" *ngIf="item && (item.status==applyStatus.TO_FIRST_AUDIT_1 || item.status==7|| item.status==8)">
            <!-- 审核状态 -->
            <label class="col-lg-2 col-form-label text-lg-right">审批类型：</label>
            <div class="col-lg-10 col-form-label">
                <label class="radio-inline c-radio" style="margin: 0px !important">
                        <input type="radio" name="radioSelect" value="0" [(ngModel)]="radioSelect" 
                            formControlName="radioSelect" [formControl]="formModel.controls['radioSelect']" (click)="this.item.remark='审批通过'"/>&nbsp;审批通过&nbsp;
                        <span class="fa fa-circle" style="margin: 0px !important"></span>
                </label>&nbsp;&nbsp;
                <label class="radio-inline c-radio" style="margin: 0px !important">
                        <input type="radio" name="radioSelect" value="1" [(ngModel)]="radioSelect" 
                            formControlName="radioSelect" [formControl]="formModel.controls['radioSelect']" (click)="this.item.remark='审批驳回'"/>&nbsp;审批驳回&nbsp;
                        <span class="fa fa-circle" style="margin: 0px !important"></span>
                </label>
                &nbsp;&nbsp;
                <label class="radio-inline c-radio" style="color:red;margin: 0px !important" title="转考生确认后，在现场审核时间范围之内，考生可以考生端查看毕业登记表，如有误考生可修改后重新提交。">
                        <input type="radio" name="radioSelect" value="10" [(ngModel)]="radioSelect" 
                            formControlName="radioSelect" [formControl]="formModel.controls['radioSelect']" (click)="this.item.remark='转考生网上确认'">&nbsp;转考生网上确认&nbsp;
                        <span class="fa fa-circle" style="margin: 0px !important"></span>
                </label>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

                <span class="text-danger" *ngIf="formModel.get('radioSelect').hasError('required') && (formModel.get('radioSelect').dirty || formModel.get('radioSelect').touched)">请选择审批类型</span>
            </div>
        </div>
        <div class="row mb-1" *ngIf="item && (item.status==applyStatus.TO_FIRST_AUDIT_1 || item.status==7|| item.status==8)">
            <!-- 审核意见 -->
            <label class="col-lg-2 col-form-label text-lg-right">审核意见：</label>
            <div class="col-lg-8">
                <textarea class="form-control" [(ngModel)]="item.remark" [formControl]="formModel.controls['remark']" formControlName="remark" rows="3"></textarea>
            </div>
            <span class="text-danger" *ngIf="formModel.get('remark').hasError('required') && (formModel.get('remark').dirty || formModel.get('remark').touched)">请输入审批意见</span>
        </div>
</form>
<div class="row">
    <frame-uploader #uploader [silenceUpload]="true" [autoUpload]="true" [(uploadUrl)]="UPLOAD_URL"></frame-uploader>
</div>
</ng-template>

<ng-template #editTemplateModal>
<div class="modal-content">
    <div class="modal-header info-success-qm">
        <div class="pull-left">
            <em class="fa-lg fas fa-edit "></em> 审核页面
        </div>
        <button type="button" class="close" (click)="hideModal();this.scorelRadioItem = undefined;">×</button>
    </div>

    <!-- 1@3 -->
    <div class="modal-body" style="padding-top:2px;">
        <div [ngTemplateOutlet]="editFormTemplate"></div>
    </div>

    <div class="modal-footer" style="text-align: center">
        <button class="btn btn-info" (click)="doAudit()" *ngIf="item && (item.status==applyStatus.TO_FIRST_AUDIT_1 || item.status==7|| item.status==8)">
                <i class="fa fa-info-circle"> </i> 提交
            </button>
        <button class="btn btn-info" (click)="setFirstAuthPass(1)" *ngIf="item && item.status==applyStatus.TO_FIRST_AUDIT_1">
            <i class="fa fa-info-circle"> </i> 标识审核通过
        </button>
        <button class="btn btn-info" (click)="setFirstAuthPass(0)" *ngIf="item && item.status==applyStatus.TO_FIRST_AUDIT_1">
                <i class="fa fa-info-circle"> </i> 取消标识审核通过
            </button>
        <button class="btn btn-default" (click)="hideModal();this.scorelRadioItem = undefined;">
            <i class="icon-close"> </i> 关闭
        </button>
    </div>
</div>
</ng-template>


<!-- ***********************************************审核记录查询框******************************************************* -->
<ng-template #authQueryModal>
    <div class="modal-content">
        <div class="modal-header info-success-qm">
            <div class="pull-left">
                <em class="fa-lg fas fa-edit "></em> 审批记录
            </div>
            <button type="button" class="close" (click)="hideModal()">×</button>
        </div>
    
        <!-- 1@3 -->
        <div class="modal-body">
            <div [ngTemplateOutlet]="authQueryTemplate"></div>
        </div>
    
        <div class="modal-footer" style="text-align: center">
            <button class="btn btn-default" (click)="hideModal()">
                <i class="icon-close"> </i> 关闭
            </button>
        </div>
    </div>
    </ng-template>
    
    <ng-template #authQueryTemplate>
    <form [formGroup]="formModel" *ngIf="item" class="form-validate form-horizontal" novalidate="">
            <input type="hidden" class="form-control" formControlName="id" [(ngModel)]="item.id" [formControl]="formModel.controls['id']" />
            
           
            <div class="row mb-1">
                <!-- 审核流程列表 -->
                <table class="table table-sm table-striped table-hover table-bordered bg-white">
                    <thead>
                        <tr>
                            <th width="10%">序号</th>
                            <th width="20%">审核类型</th>
                            <th width="15%">审核时间</th>
                            <th width="20%">受理单位</th>
                            <th width="35%">审核意见</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr *ngFor="let it of authList; let i = index">
                            <td>{{i+1}}</td>
                            <td>{{it.auth_type | frameDict:'ByAuthType'}}</td>
                            <td>{{it.auth_time}}</td>
                            <td>{{it.optr_name}}</td>
                            <td>{{it.auth_remark}}</td>
                        </tr>
                    </tbody>
                </table>
            </div>
            
    </form>
    </ng-template>

<!--*******************************手工录入分数**********************************************************************-->
<ng-template #manualInputModal>
<div class="modal-content">
    <div class="modal-header info-success-qm">
        <div class="pull-left">
            <em class="fa-lg fas fa-edit "></em> 编辑页面
        </div>
        <button type="button" class="close" (click)="inputModalWin.hide()">×</button>
    </div>

    <!-- 1@3 -->
    <div class="modal-body">
        <div [ngTemplateOutlet]="manualInputTemplate"></div>
    </div>

    <div class="modal-footer">
        <button class="btn btn-info" (click)="saveMannualInput()">
            <i class="fa fa-info-circle"> </i> 保存
        </button>
        <button class="btn btn-default" (click)="inputModalWin.hide()">
            <i class="icon-close"> </i> 取消
        </button>
    </div>
</div>
</ng-template>

<ng-template #manualInputTemplate>
<form [formGroup]="scoreFormModel" class="form-validate form-horizontal" novalidate="">
         <!--课程1-->
         <div class="row mb-1 form-inline">
            <label  style="width: 75px;text-align: right;  margin-left: 10px;">课程代码1</label>
            <div>
                <input type="text" formControlName="course_code" [(ngModel)]="inputScore.course_code" [formControl]="scoreFormModel.controls['course_code']" style="width: 100px;"/>
            </div>

            <label style="width: 75px;text-align: right; ">课程名称1</label>
            <div>
                <input type="text" formControlName="course_name" [(ngModel)]="inputScore.course_name" [formControl]="scoreFormModel.controls['course_name']" style="width: 150px;"/>
            </div>

            <label style="width: 75px;text-align: right">最终成绩1</label>
            <div>
                <input formControlName="final_score" type="text" 
                    [(ngModel)]="inputScore.final_score" [formControl]="scoreFormModel.controls['final_score']" style="width: 100px;"/>
            </div>
            <label style="width: 75px;text-align: right">课程学分1</label>
            <div>
                <input formControlName="course_score" type="text" 
                    [(ngModel)]="inputScore.course_score" [formControl]="scoreFormModel.controls['course_score']" style="width: 100px;" placeholder="可以不填写"/>
            </div>
        </div>
        <!--课程2-->
        <div class="row mb-1 form-inline">
            <label  style="width: 75px;text-align: right;  margin-left: 10px;">课程代码2</label>
            <div>
                <input type="text" formControlName="course_code2" [(ngModel)]="inputScore.course_code2" [formControl]="scoreFormModel.controls['course_code2']" style="width: 100px;"/>
            </div>

            <label style="width: 75px;text-align: right; ">课程名称2</label>
            <div>
                <input type="text" formControlName="course_name2" [(ngModel)]="inputScore.course_name2" [formControl]="scoreFormModel.controls['course_name2']" style="width: 150px;"/>
            </div>

            <label style="width: 75px;text-align: right">最终成绩2</label>
            <div>
                <input formControlName="final_score2" type="text" 
                    [(ngModel)]="inputScore.final_score2" [formControl]="scoreFormModel.controls['final_score2']" style="width: 100px;"/>
            </div>
            <label style="width: 75px;text-align: right">课程学分2</label>
            <div>
                <input formControlName="course_score2" type="text" 
                    [(ngModel)]="inputScore.course_score2" [formControl]="scoreFormModel.controls['course_score2']" style="width: 100px;" placeholder="可以不填写"/>
            </div>
        </div>
        <!--课程3-->
        <div class="row mb-1 form-inline">
            <label  style="width: 75px;text-align: right;  margin-left: 10px;">课程代码3</label>
            <div>
                <input type="text" formControlName="course_code3" [(ngModel)]="inputScore.course_code3" [formControl]="scoreFormModel.controls['course_code3']" style="width: 100px;"/>
            </div>

            <label style="width: 75px;text-align: right; ">课程名称3</label>
            <div>
                <input type="text" formControlName="course_name3" [(ngModel)]="inputScore.course_name3" [formControl]="scoreFormModel.controls['course_name3']" style="width: 150px;"/>
            </div>

            <label style="width: 75px;text-align: right">最终成绩3</label>
            <div>
                <input formControlName="final_score3" type="text" 
                    [(ngModel)]="inputScore.final_score3" [formControl]="scoreFormModel.controls['final_score3']" style="width: 100px;"/>
            </div>
            <label style="width: 75px;text-align: right">课程学分3</label>
            <div>
                <input formControlName="course_score3" type="text" 
                    [(ngModel)]="inputScore.course_score3" [formControl]="scoreFormModel.controls['course_score3']" style="width: 100px;" placeholder="可以不填写"/>
            </div>
        </div>
        <!--课程4-->
        <div class="row mb-1 form-inline">
            <label  style="width: 75px;text-align: right;  margin-left: 10px;">课程代码4</label>
            <div>
                <input type="text" formControlName="course_code4" [(ngModel)]="inputScore.course_code4" [formControl]="scoreFormModel.controls['course_code4']" style="width: 100px;"/>
            </div>

            <label style="width: 75px;text-align: right; ">课程名称4</label>
            <div>
                <input type="text" formControlName="course_name4" [(ngModel)]="inputScore.course_name4" [formControl]="scoreFormModel.controls['course_name4']" style="width: 150px;"/>
            </div>

            <label style="width: 75px;text-align: right">最终成绩4</label>
            <div>
                <input formControlName="final_score4" type="text" 
                    [(ngModel)]="inputScore.final_score4" [formControl]="scoreFormModel.controls['final_score4']" style="width: 100px;"/>
            </div>
            <label style="width: 75px;text-align: right">课程学分4</label>
            <div>
                <input formControlName="course_score4" type="text" 
                    [(ngModel)]="inputScore.course_score4" [formControl]="scoreFormModel.controls['course_score4']" style="width: 100px;" placeholder="可以不填写"/>
            </div>
        </div>
        <!--课程5-->
        <div class="row mb-1 form-inline">
            <label  style="width: 75px;text-align: right;  margin-left: 10px;">课程代码5</label>
            <div>
                <input type="text" formControlName="course_code5" [(ngModel)]="inputScore.course_code5" [formControl]="scoreFormModel.controls['course_code5']" style="width: 100px;"/>
            </div>

            <label style="width: 75px;text-align: right; ">课程名称5</label>
            <div>
                <input type="text" formControlName="course_name5" [(ngModel)]="inputScore.course_name5" [formControl]="scoreFormModel.controls['course_name5']" style="width: 150px;"/>
            </div>

            <label style="width: 75px;text-align: right">最终成绩5</label>
            <div>
                <input formControlName="final_score5" type="text" 
                    [(ngModel)]="inputScore.final_score5" [formControl]="scoreFormModel.controls['final_score5']" style="width: 100px;"/>
            </div>
            <label style="width: 75px;text-align: right">课程学分1</label>
            <div>
                <input formControlName="course_score5" type="text" 
                    [(ngModel)]="inputScore.course_score5" [formControl]="scoreFormModel.controls['course_score5']" style="width: 100px;" placeholder="可以不填写"/>
            </div>
        </div>
</form>
</ng-template>

<!--*****************************课程顶替**************************************************************************-->
<ng-template #courseReplModal>
<div class="modal-content">
    <div class="modal-header info-success-qm">
        <div class="pull-left">
            <em class="fa-lg fas fa-edit "></em> 课程顶替
        </div>
        <button type="button" class="close" (click)="courseReplWin.hide();">×</button>
    </div>

    <!-- 1@3 -->
    <div class="modal-body">
        <div [ngTemplateOutlet]="courseReplTemplate"></div>
    </div>

    <div class="modal-footer">
        <button class="btn btn-info" (click)="replSave()">
            <i class="fa fa-info-circle"> </i> 顶替
        </button>
        <button class="btn btn-default" (click)="courseReplWin.hide()">
            <i class="icon-close"> </i> 取消
        </button>
    </div>
</div>
</ng-template>

<ng-template #courseReplTemplate>
    <div class="col-lg-12 ml-0">
    
        <div class="modal-header info-success-qm" style="padding-top:0px;margin-top:0px;padding-bottom:0px;margin-bottom:0px;">
                <div class="pull-left">
                    被顶替课程名称：{{scorelRadioItem.course_code}}-{{scorelRadioItem.course_name}}
                    <hr style=" height:2px;border:none;border-top:2px dotted #185598;" />
                    可选择顶替课程：
                    <hr style=" height:2px;border:none;border-top:2px dotted #185598;" />
                    <table class="table table-sm table-striped table-hover table-bordered bg-white">
                        <thead>
                            <tr>
                                
                                <th width="45px">序号</th>
                                
                                <th width="320px">课程名称</th>
                               
                                <th width="300px">顶替规则</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr *ngFor="let it of replCourseList; let i = index">
                               
                                <td>{{i+1}}</td>
                                
                                <td>{{it.old_course_names}}</td>
                                <td nowrap>{{it.rule_remark}}</td>
                               
                            </tr>
                        </tbody>
                    </table>
    
                </div>
        
            </div>
            <hr style=" height:2px;border:none;border-top:2px dotted #185598;" />
        <table class="table table-sm table-striped table-hover table-bordered bg-white">
            <thead>
                <tr>
                    <th  width="45px">
                        <div class="checkbox c-checkbox">
                            <label>
                            </label>
                        </div>
                    </th>
                    <th width="45px">序号</th>
                    <th width="80px">课程代码</th>
                    <th>课程名称</th>
                    <th width="80px">成绩</th>
                    <th width="100px">成绩性质</th>
                    <th width="100px">成绩来源</th>
                </tr>
            </thead>
            <tbody>
                <tr *ngFor="let it of replScoreList; let i = index">
                    <td>
                        <div class="checkbox c-checkbox input-group-sm">
                            <label>
                                <input type="checkbox" [value]="it.id" [(checked)]="it.isChecked" (click)="updateSelection($event,it)"
                                    [(ngModel)]="it.isChecked" />
                                <span class="fa fa-check"></span>
                            </label>
                        </div>
                    <!--
                        <div class="checkbox c-checkbox input-group-sm">
                            <label>
                                <label class="radio-inline c-radio" style="margin: 0px !important">
                                    <input type="radio" name="radio" [value]="it.id" (click)="replRadioCheckFun(it)"/>
                                    <span class="fa fa-circle" style="margin: 0px !important"></span>
                                  </label>
                            </label>
                        </div>
                    -->
                        
                    </td>
                    <td>{{i+1}}</td>
                    <td>{{it.course_code}}</td>
                    <td>{{it.course_name}}</td>
                    <td>{{it.final_score}}</td>
                    <td>{{it.score_type}}</td>
                    <td [innerHTML]="it.score_source | frameDict:'ScoreSource'"></td>
                </tr>
            </tbody>
        </table>
    </div>
    </ng-template>

<!--*****************************成绩**************************************************************************-->
<ng-template #scoreModal>
    <div class="modal-content" style="width:900px;">
        <div class="modal-header info-success-qm">
            <div class="pull-left">
                <em class="fa-lg fas fa-edit "></em> 成绩
            </div>
            <button type="button" class="close" (click)="scoreWin.hide()">×</button>
        </div>

        <!-- 1@3 -->
        <div class="modal-body">
            <div [ngTemplateOutlet]="scoreTemplate"></div>
        </div>

        <div class="modal-footer">
            <button class="btn btn-default" (click)="setByScore()">
                    <i class="icon-submit"> </i> 选择成绩作为课程毕业成绩
                </button>
            <button class="btn btn-default" (click)="scoreWin.hide()">
                <i class="icon-close"> </i> 关闭
            </button>
        </div>
    </div>
</ng-template>

<ng-template #scoreTemplate>
    <div class="col-lg-12 ml-0">
        <!-- 审核流程列表 -->
        <table class="table table-sm table-striped table-hover table-bordered bg-white">
            <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 it2 of courseScoreList; let i = index">
                    <td>
                            <label class="radio-inline c-radio" style="margin: 0px !important">
                                    <input type="radio" name="notselectscoreradio" [value]="it2.id" (click)="notSelectScoreRadioCheckFun(it2)"/>
                                    <span class="fa fa-circle" style="margin: 0px !important"></span>
                                    </label>
                            </td>
                    <td>{{it2.year_code}}</td>
                    <td>{{it2.course_code}}-{{it2.course_name}}</td>
                    <td>{{it2.final_score | frameDict : 'score_flag'}}</td>
                    <td>{{it2.status_name}}</td>
                    <td>{{it2.score_type_name}}</td>
                    <td>{{it2.score_source_name}}</td>
                    <td>{{it2.major_name}}</td>
                    <td>{{it2.org_name}}</td>
                    
                </tr>
            </tbody>
        </table>
    </div>
    <div class="modal-header info-success-qm">
        <div class="pull-left">
            专本衔接课成绩、网络助学成绩不能直接用于毕业，必须合成（包括百分百合成）后才能用于毕业。<br>
            合成成绩、沟通课成绩、实践课成绩、毕业论文成绩对应的主考学校必须与毕业主考学校一致，否则不能用于毕业。
        </div>

    </div>

</ng-template>

<!--*****************************成绩**************************************************************************-->
<ng-template #assoModal>
    <div class="modal-content">
        <div class="modal-header info-success-qm">
            <div class="pull-left">
                <em class="fa-lg fas fa-edit "></em> 外省转入成绩
            </div>
            <button type="button" class="close" (click)="assoWin.hide()">×</button>
        </div>

        <!-- 1@3 -->
        <div class="modal-body">
            <div [ngTemplateOutlet]="assoTemplate"></div>
        </div>

        <div class="modal-footer">
          
            <button class="btn btn-default" (click)="assoWin.hide()">
                <i class="icon-close"> </i> 关闭
            </button>
        </div>
    </div>
</ng-template>

<ng-template #assoTemplate>
    <div class="col-lg-12 ml-0">
        <!-- 审核流程列表 -->
        <table class="table table-sm table-striped table-hover table-bordered bg-white">
            <thead>
                <tr>
                    
                    <th>外省准考证号</th>
                    <th>姓名</th>
                    <th>课程代码</th>
                    <th>课程名称</th>
                    <th>成绩</th>
                    <th>受理日期</th>
                    <th>转出省份</th>
                </tr>
            </thead>
            <tbody>
                <tr *ngFor="let it2 of assoScoreList; let i = index">
                    <td>{{it2.ticket_no}}</td>
                    <td>{{it2.std_name}}</td>
                    <td>{{it2.course_code}}</td>
                    <td>{{it2.course_name}}</td>
                    <td>{{it2.final_score}}</td>
                    <td>{{it2.year_code}}</td>
                    <td>{{it2.danwei}}</td>
                    
                </tr>
            </tbody>
        </table>
    </div>
    

</ng-template>

<!--*****************************成绩**************************************************************************-->
<ng-template #assoModal2>
    <div class="modal-content">
        <div class="modal-header info-success-qm">
            <div class="pull-left">
                <em class="fa-lg fas fa-edit "></em> 关联准考证
            </div>
            <button type="button" class="close" (click)="assoWin2.hide()">×</button>
        </div>

        <!-- 1@3 -->
        <div class="modal-body">
            <div [ngTemplateOutlet]="assoTemplate2"></div>
        </div>

        <div class="modal-footer">
           
            <button class="btn btn-default" (click)="assoWin2.hide()">
                <i class="icon-close"> </i> 关闭
            </button>
        </div>
    </div>
</ng-template>

<ng-template #assoTemplate2>
    <div class="col-lg-12 ml-0">
        <!-- 审核流程列表 -->
        <table class="table table-sm table-striped table-hover table-bordered bg-white">
            <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 it2 of assoScoreList; let i = index">
                    <td>{{it2.year_code}}</td>
                    <td>{{it2.ticket_no}}</td>
                    <td>{{it2.std_name}}</td>
                    <td>{{it2.course_code}}-{{it2.course_name}}</td>
                    <td>{{it2.final_score | frameDict : 'score_flag'}}</td>
                    <td>{{it2.status_name}}</td>
                    <td>{{it2.score_type_name}}</td>
                    <td>{{it2.score_source_name}}</td>
                   
                    <td>{{it2.org_name}}</td>
                    
                </tr>
            </tbody>
        </table>
    </div>
    

</ng-template>


<!--**********************************老生成绩*******************************************************************-->
<ng-template #oldCjModal>
    <div class="modal-content">
        <div class="modal-header info-success-qm">
            <div class="pull-left">
                <em class="fa-lg fas fa-edit "></em> 老生成绩
            </div>
            <button type="button" class="close" (click)="oldCjWin.hide()">×</button>
        </div>

        <!-- 1@3 -->
        <div class="modal-body">
            <div [ngTemplateOutlet]="oldCjTemplate"></div>
        </div>

        <div class="modal-footer">
            <button class="btn btn-info" (click)="selectOldCj()">
                <i class="fa fa-info-circle"> </i> 选择
            </button>
            <button class="btn btn-default" (click)="oldCjWin.hide()">
                <i class="icon-close"> </i> 取消
            </button>
        </div>
    </div>
</ng-template>

<ng-template #oldCjTemplate>
    <div class="row mb-3 ml-1">
        <div class="col-lg-10  ml-0 form-inline">
            <div class="input-group mr-1 input-group-sm">
                <label>关键字：</label>
                <input name="keyword" [(ngModel)]="oldCjQuery.query" class="input-sm form-control" type="text"
                            value="" maxlength="50" placeholder="请输入查询关键字" width="40">
            </div>
            <button class="btn btn-primary btn-rounded btn-outline btn-sm  mr-1" (click)="oldCjPager.goSearch()">
                    <i class="fa fa-search"></i> 查询</button>
        </div>
    </div>
    <div class="row mb-2">
        <div class="col-lg-12 ml-0">
            <!-- 审核流程列表 -->
            <table class="table table-sm table-striped table-hover table-bordered bg-white">
                <thead>
                    <tr>
                        <th>
                            <div class="checkbox c-checkbox">
                                <label>
                                    <input type="checkbox" (change)="oldCjPager.checkedMasterToggle($event)" />
                                    <span class="fa fa-check"></span>
                                </label>
                            </div>
                        </th>
                        <th width="10%">序号</th>
                        <th>考生姓名</th>
                        <th>准考证号</th>
                        <th>专业代号</th>
                        <th>课程代码</th>
                        <th>成绩</th>
                        <th>年</th>
                        <th>月</th>
                    </tr>
                </thead>
                <tbody>
                    <tr *ngFor="let it of oldCjPager.getRecords(); let i = index">
                        <td>
                            <div class="checkbox c-checkbox input-group-sm">
                                <label>
                                    <input type="checkbox" [value]="it.id" [(checked)]="it.isChecked"
                                        [(ngModel)]="it.isChecked" />
                                    <span class="fa fa-check"></span>
                                </label>
                            </div>
                        </td>
                        <td>{{i+1}}</td>
                        <td>{{it.xingming}}</td>
                        <td>{{it.zhunkaozhenghao}}</td>
                        <td>{{it.zhuanyedaihao}}</td>
                        <td>{{it.kechengdaihao}}</td>
                        <td>{{it.chengji}}</td>
                        <td>{{it.nian}}</td>
                        <td>{{it.yue}}</td>
                    </tr>
                </tbody>
            </table>
            <frame-pager [url]="OLD_CJ_URL" hideSearch="true" hasCheck="true" #oldCjPager (preReqEvent)="oldCjSearch($event)"></frame-pager>
        </div>
    </div>
</ng-template>

<!--**********************************转入成绩关联-单选-radio*******************************************************************-->
<ng-template #turnInAssocitModal>
<div class="modal-content">
    <div class="modal-header info-success-qm">
        <div class="pull-left">
            <em class="fa-lg fas fa-edit "></em> 转入关联
        </div>
        <button type="button" class="close" (click)="turnInAssocitWin.hide()">×</button>
    </div>

    <!-- 1@3 -->
    <div class="modal-body">
        <div [ngTemplateOutlet]="turnInAssocitTemplate"></div>
    </div>

    <div class="modal-footer">
        <button class="btn btn-info" (click)="selectTurnInScore()">
            <i class="fa fa-info-circle"> </i> 选择
        </button>
        <button class="btn btn-default" (click)="turnInAssocitWin.hide()">
            <i class="icon-close"> </i> 取消
        </button>
    </div>
</div>
</ng-template>

<ng-template #turnInAssocitTemplate>
<div class="row mb-3 ml-1">
    <div class="col-lg-10  ml-0 form-inline">
        <div class="input-group mr-1 input-group-sm">
            <label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;姓名：</label>
            <input name="stdName" [(ngModel)]="turnInQuery.stdName" class="input-sm form-control" type="text"
                        value="" maxlength="50" placeholder="请输入考生姓名" width="40">
        </div>&nbsp;
        <div class="input-group mr-1 input-group-sm">
            <label>准考证号：</label>
            <input name="ticketNo" [(ngModel)]="turnInQuery.ticketNo" class="input-sm form-control" type="text"
                        value="" maxlength="50" placeholder="请输入准考证号" width="40">
        </div>
    </div>
</div>
<div class="row mb-3 ml-1">
    <div class="col-lg-10  ml-0 form-inline">
        <div class="input-group mr-1 input-group-sm">
            <label>课程代码：</label>
            <input name="courseCode" [(ngModel)]="turnInQuery.courseCode" class="input-sm form-control" type="text"
                        value="" maxlength="50" placeholder="请输入课程代码" width="40">
        </div>&nbsp;
        <button class="btn btn-primary btn-rounded btn-outline btn-sm  mr-1" (click)="turnInQueryRequest()">
            <i class="fa fa-search"></i> 查询</button>
    </div>
</div>
<div class="row mb-2">
    <div class="col-lg-12 ml-0">
        <table class="table table-sm table-striped table-hover table-bordered bg-white">
            <thead>
                <tr>
                    <th>
                        <div class="checkbox c-checkbox">
                            <label>
                            </label>
                        </div>
                    </th>
                    <th width="10%">序号</th>
                    <th>考生姓名</th>
                    <th>准考证号</th>
                    <th>课程代码</th>
                    <th>课程名称</th>
                    <th>转入成绩</th>
                </tr>
            </thead>
            <tbody>
                <tr *ngFor="let it of turnInScoreList; let i = index">
                    <td>
                        <div class="checkbox c-checkbox input-group-sm">
                            <label class="radio-inline c-radio" style="margin: 0px !important">
                                <input type="radio" name="radio" [value]="it.id" (click)="turnInSelect(it)"/>
                                <span class="fa fa-circle" style="margin: 0px !important"></span>
                            </label>
                        </div>
                    </td>
                    <td>{{i+1}}</td>
                    <td>{{it.std_name}}</td>
                    <td>{{it.ticket_no}}</td>
                    <td>{{it.course_code}}</td>
                    <td>{{it.course_name}}</td>
                    <td>{{it.final_score}}</td>
                </tr>
            </tbody>
        </table>
    </div>
</div>
</ng-template>

<!--**********************************关联准考证*******************************************************************-->
<ng-template #ticketNoAssocitModal>
<div class="modal-content">
    <div class="modal-header info-success-qm">
        <div class="pull-left">
            <em class="fa-lg fas fa-edit "></em> 关联准考证
        </div>
        <button type="button" class="close" (click)="closeAssoTicketWin();">×</button>
    </div>

    <!-- 1@3 -->
    <div class="modal-body">
        <div [ngTemplateOutlet]="ticketNoAssocitTemplate"></div>
    </div>

    <div class="modal-footer">

    </div>
</div>
</ng-template>

<ng-template #ticketNoAssocitTemplate>
<div class="row mb-3 ml-1">
    <div class="col-lg-10  ml-0 form-inline">
        <div class="input-group mr-1 input-group-sm">
            <label>准考证号：</label>
            <input name="ticketNo" [(ngModel)]="ticketAssoQuery.ticketNo" class="input-sm form-control" type="text"
                        value="" maxlength="50" placeholder="请输入准考证号" width="40">
        </div>
        <button class="btn btn-primary btn-rounded btn-outline btn-sm  mr-1" (click)="findStdTicketRefList();">
            <i class="fa fa-search"></i> 查询
        </button>&nbsp;&nbsp;
        <button class="btn btn-primary bg-danger btn-sm  mr-1" (click)="selectTicketNoAssocit()">
            <i class="fa fa-docker"> </i> 关联
        </button>&nbsp;&nbsp;
        <button class="btn btn-primary bg-danger btn-sm  mr-1" (click)="unSelectTicketNoAssocit()">
            <i class="fa fa-undo"> </i> 取消关联
        </button>&nbsp;
    </div>
</div>
<div class="row mb-2">
    <div class="col-lg-12 ml-0">
        <table class="table table-sm table-striped table-hover table-bordered bg-white">
            <thead>
                <tr>
                    <th width="6%">
                        <div class="checkbox c-checkbox">
                            <label>
                            </label>
                        </div>
                    </th>
                    <th width="6%">序号</th>
                    <th>考生姓名</th>
                    <th>身份证</th>
                    <th>准考证号</th>
                    <th>老准考证1</th>
                    <th>老准考证2</th>
                    <th>地址</th>
                    <th>关联状态</th>
                </tr>
            </thead>
            <tbody>
                <tr *ngFor="let it of stdTicketRefList; let i = index">
                    <td>
                        <div class="checkbox c-checkbox input-group-sm">
                            <label class="radio-inline c-radio" style="margin: 0px !important">
                                <input type="radio" name="radio" [value]="it.id" (click)="stdTicketCheckFun(it)"  [(ngModel)]="ticketRadioItem.id"/>
                                <span class="fa fa-circle" style="margin: 0px !important"></span>
                              </label>
                        </div>
                    </td>
                    <td>{{i+1}}</td>
                    <td>{{it.std_name}}</td>
                    <td>{{it.cert_no}}</td>
                    <td>{{it.ticket_no}}</td>
                    <td>{{it.old_ticket_no1}}</td>
                    <td>{{it.old_ticket_no2}}</td>
                    <td>{{it.std_address}}</td>
                    <td>{{it.asso_status}}</td>
                </tr>
            </tbody>
        </table>
    </div>
</div>
<!--选中的考生准考证对应的成绩-->
<div class="row mb-2">
    <div class="col-lg-12 ml-0" *ngIf="showTicketPage == true">
        <table class="table table-sm table-striped table-hover table-bordered bg-white">
            <thead>
                <tr>
                    <th>
                        <div class="checkbox c-checkbox input-group-sm">
                            <label>
                                <!--<input type="checkbox" (change)="ticketAssoPager.checkedMasterToggle($event)" />
                                <span class="fa fa-check"></span>-->
                            </label>
                        </div>
                    </th>
                    <th width="10%">序号</th>
                    <th>考生姓名</th>
                    <th>准考证号</th>
                    <th>课程代码</th>
                    <th>课程名称</th>
                    <th>成绩</th>
                </tr>
            </thead>
            <tbody>
                <tr *ngFor="let it of ticketAssoPager.getRecords(); let i = index">
                    <td>
                        <div class="checkbox c-checkbox input-group-sm">
                            <label>
                                <!--<input type="checkbox" [value]="it.id" [(checked)]="it.isChecked"
                                    [(ngModel)]="it.isChecked" />
                                <span class="fa fa-check"></span>-->
                            </label>
                        </div>
                    </td>
                    <td>{{i+1}}</td>
                    <td>{{it.std_name}}</td>
                    <td>{{it.ticket_no}}</td>
                    <td>{{it.course_code}}</td>
                    <td>{{it.course_name}}</td>
                    <td>{{it.final_score}}</td>
                </tr>
            </tbody>
        </table>
        <frame-pager [url]="TICKET_ASSO_SCORE_URL" hideSearch="true" hasCheck="true" #ticketAssoPager (preReqEvent)="ticketAssoSearch($event)"></frame-pager>
    </div>
</div>    
</ng-template>

<!--**********************************毕业申请-手工引用考生*******************************************************************-->
<ng-template #stdRefModal>
<div class="modal-content">
    <div class="modal-header info-success-qm">
        <div class="pull-left">
            <em class="fa-lg fas fa-edit "></em> 毕业申请
        </div>
        <button type="button" class="close" (click)="stdRefWin.hide()">×</button>
    </div>

    <!-- 1@3 -->
    <div class="modal-body">
        <div [ngTemplateOutlet]="stdRefTemplate"></div>
    </div>

    <div class="modal-footer">
        <button class="btn btn-info" (click)="selectStdRef()">
            <i class="fa fa-info-circle"> </i> 选择
        </button>
        <button class="btn btn-default" (click)="stdRefWin.hide()">
            <i class="icon-close"> </i> 取消
        </button>
    </div>
</div>
</ng-template>

<ng-template #stdRefTemplate>
<div class="row mb-3 ml-1">
    <div class="col-lg-10  ml-0 form-inline">
        <div class="input-group mr-1 input-group-sm">
            <label>准考证：</label>
            <input name="ticketNo" [(ngModel)]="stdRefQuery.ticketNo" class="input-sm form-control" type="text"
                        value="" maxlength="30" placeholder="请输入准考证号" width="40">
        </div>
        <div class="input-group mr-1 input-group-sm">
            <label>身份证：</label>
            <input name="certNo" [(ngModel)]="stdRefQuery.certNo" class="input-sm form-control" type="text"
                        value="" maxlength="30" placeholder="请输入身份证号" width="40">
        </div>
        <button class="btn btn-primary btn-rounded btn-outline btn-sm  mr-1" (click)="findStdRefList();">
                <i class="fa fa-search"></i> 查询</button>
    </div>
</div>
<div class="row mb-4">
    <div class="col-lg-12 ml-0">
        <!-- 审核流程列表 -->
        <table class="table table-sm table-striped table-hover table-bordered bg-white">
            <thead>
                <tr>
                    <th width="6%">
                        <div class="checkbox c-checkbox">
                            <label>
                            </label>
                        </div>
                    </th>
                    <th width="6%">序号</th>
                    <th>考生姓名</th>
                    <th>身份证</th>
                    <th align="center">准考证号</th>
                    <th>考生来源</th>
                    <th>学校</th>
                    <th align="center">性别</th>
                    <th align="center">手机号码</th>
                    <th>地址</th>
                </tr>
            </thead>
            <tbody>
                <tr *ngFor="let it of stdRefList; let i = index">
                    <td>
                        <div class="checkbox c-checkbox input-group-sm">
                            <label class="radio-inline c-radio" style="margin: 0px !important">
                                <input type="radio" name="radio" [value]="it.id" (click)="stdRefRadioCheckFun(it)"  [(ngModel)]="radioItem.id"/>
                                <span class="fa fa-circle" style="margin: 0px !important"></span>
                              </label>
                        </div>
                    </td>
                    <td>{{i+1}}</td>
                    <td>{{it.std_name}}</td>
                    <td>{{it.cert_no}}</td>
                    <td align="center">{{it.ticket_no}}</td>
                    <td [innerHTML]="it.std_source| frameDict:'StudentType'"></td>
                    <td>{{it.school_name}}</td>
                    <td align="center" [innerHTML]="it.std_sex| frameDict:'StdSexType'"></td>
                    <td align="center">{{it.std_mobile}}</td>
                    <td>{{it.std_address}}</td>
                </tr>
            </tbody>
        </table>
    </div>
</div>
<div class="row mb-2">
    <div class="col-lg-12 ml-0 form-inline">
        <div class="input-group mr-1 input-group-sm">
            <label>专业：</label>
            <flex-select [allowClear]="true"
                [(items)] = "majorList"
                respDataPath= "array"
                optionValueField="id"
                optionTextField="major_full_name"
                [(ngModel)]="stdRefQuery.majorId"
                placeholder="请选择"
                (ngModelChange) ="freshSchoolInfo($event)"
                [ngModelOptions]="{standalone: true}"
                width = "120"
                noResultsFound = "无数据"
                >
            </flex-select>
        </div>&nbsp;&nbsp;
        <div class="input-group mr-1 input-group-sm">
            <label>主考学校：</label>
            <flex-select [allowClear]="true"
                [(items)] = "masterSchoolList"
                respDataPath= "array"
                optionValueField="id"
                optionTextField="org_name"
                [(ngModel)]="stdRefQuery.masterSchoolId"
                placeholder="请选择"
                [ngModelOptions]="{standalone: true}"
                width = "120"
                noResultsFound = "无数据"
                >
            </flex-select>
        </div>&nbsp;&nbsp;
    </div>
</div>
<div class="row mb-2">
    <div class="col-lg-12 ml-0 form-inline">
        <table class="table table-sm table-striped table-hover table-bordered bg-white">
            <tbody>
                <tr *ngFor="let it of selectOldMajorList; let i = index">
                    <td>原专业：{{it.major_code}}-{{it.major_name}}</td>
                </tr>
            </tbody>
        </table>
    </div>
</div>
</ng-template>


<!-- 考生修改简历 -->
<ng-template #stdResumeModal>
<div class="modal-content">
    <div class="modal-header info-success-qm">
        <div class="pull-left">
            <em class="fa-lg fas fa-edit "></em> 考生简历修改
        </div>
        <button type="button" class="close" (click)="hideModal()">×</button>
    </div>

    <!-- 1@3 -->
    <div class="modal-body">
        <div [ngTemplateOutlet]="stdResumeTemplate"></div>
    </div>

    <div class="modal-footer">
        <button class="btn btn-info" (click)="updateStdResume()">
            <i class="fa fa-info-circle"> </i> 修改
        </button>
        <button class="btn btn-default" (click)="hideModal()">
            <i class="icon-close"> </i> 关闭
        </button>
    </div>
</div>
</ng-template>


<ng-template #stdResumeTemplate>
<div class="row mb-1">
   <h4 class=" col-lg-12 text-lg-center"> 个人简历修改</h4>
</div>
<!-- <form [formGroup]="stdformModel"  class="form-validate form-horizontal" novalidate=""> -->
  <div class="row mt-3">
    <div class="col-lg-12">
      <table class="table table-sm table-striped table-hover table-bordered bg-white">
        <thead>
            <tr>
                <th style="width: 60px;">序号</th>
                <th  align="center" style="width: 150px;">起始年月</th>
                <th  align="center" style="width: 150px;">终止年月</th>
                <th>在何地，何单位学习或工作（简历信息从高中阶段开始）</th>
                <th style="width: 200px;">职务</th>
                <th  align="center" style="width: 40px;cursor: pointer;" title="点击新增一行简历" (click)="addResume()"><em class="fa fas fa-plus"></em></th>
              </tr>
        </thead>
        <tbody>
          <tr  align="center" *ngFor="let item of stdResumeArr; let i = index">
            <td>{{i+1}}</td>
            <td  align="center">
                <!-- <div class="input-group">
                    <input class="form-control" type="text" DateTimePicker [dpType]="'date'" [dpValue]="item.start_date"  [(ngModel)]="item.start_date"
                      />
                    
                    <div class="input-group-append">
                    <div class="input-group-text"><i class="icon-calendar"></i></div>
                    </div>
                </div> -->
                <input name="start_date" style="text-align: center" [(ngModel)]="item.start_date" class="input-sm form-control" type="text"  maxlength="64"  placeholder="如：2019-01"  >
            </td>
            <td  align="center">
                <!-- <div class="input-group">
                    <input class="form-control" type="text" DateTimePicker [dpType]="'date'" [dpValue]="item.end_date"   [(ngModel)]="item.end_date" 
                     />
                    <div class="input-group-append">
                        <div class="input-group-text"><i class="icon-calendar"></i></div>
                    </div>
                </div> -->
                <input name="end_date" style="text-align: center" [(ngModel)]="item.end_date" class="input-sm form-control" type="text"  maxlength="64"  placeholder="如：2019-01"  >
            </td>
            <td>
                <input name="work_exp" [(ngModel)]="item.work_exp" class="input-sm form-control" type="text"  maxlength="64"  placeholder="请填写何地、何单位学习或工作"  >
            </td>
            <td>
                <input name="position" [(ngModel)]="item.position" class="input-sm form-control" type="text"  maxlength="64"  placeholder="请填写职务" 
                 >
            </td>
            <td  align="center" (click)="removeResume(i)" style="cursor: pointer;" title="点击删除该行简历"><em class="fa fas fa-minus"></em></td>
          </tr>
        </tbody>
      </table>
    </div>
  </div>
<!-- </form> -->
</ng-template>

<!--*****************************身份证照片**************************************************************************-->
<ng-template #idCardModal>
    <div class="modal-content">
        <div class="modal-header info-success-qm">
            <div class="pull-left">
                <em class="fa-lg fas fa-edit "></em> 考生照片
            </div>
            <button type="button" class="close" (click)="idCardWin.hide();">×</button>
        </div>
    
        <!-- 1@3 -->
        <div class="modal-body">
            <div [ngTemplateOutlet]="idCardTemplate"></div>
        </div>
    
        <div class="modal-footer">
            <button class="btn btn-info" (click)="downloadIdCardPhoto()">
                <i class="fa fa-info-circle"> </i> 下载身份证照片
            </button>
            <button class="btn btn-default" (click)="idCardWin.hide()">
                <i class="icon-close"> </i> 关闭
            </button>
        </div>
    </div>
    </ng-template>
    
    <ng-template #idCardTemplate>
        <div class="col-lg-12 ml-0">
            <table class="table table-sm table-striped table-hover table-bordered bg-white" style="margin-bottom: 5px;padding-bottom: 0px; ">
                <tbody>
                    <tr>
                       <td style="width:19%;text-align: center">
                            考生照片
                       </td>

                       <td style="width:19%;text-align: center">
                            毕业照片
                        </td>

                        <td style="width:19%;text-align: center">
                                身份证照片
                        </td>
                    </tr>

                    <tr>
                            <td align="center" style="text-align: center">
                                 <div *ngIf="item.photo_path" class="text-muted"  align="center" style="margin:0 auto;text-align: center;vertical-align:middle;width: 180px;height: 240px;border:solid 1.5px #000000;">
                                         <img  [src]="item.photo_path" style="width: 100%;height: 100%;" title="照片要求：宽480像素*高640像素，人像居中，蓝底，文件大小在20KB至40KB。">
                                     </div>
                            </td>
     
                            <td align="center" style="text-align: center">
                                 <div *ngIf="item.by_photo_path"  align="center" class="text-muted" style="margin:0 auto;text-align: center;vertical-align:middle;width: 180px;height: 240px;border:solid 1.5px #000000;">
                                         <img [src]="item.by_photo_path" style="width: 100%;height: 100%;" alt="替换照片" >
                                     </div>
                             </td>
     
                             <td align="center" style="text-align: center">
                                     <div *ngIf="item.idcard_photo_path"  align="center" class="text-muted" style="margin:0 auto;text-align: center;vertical-align:middle;width: 180px;height: 240px;border:solid 1.5px #000000;">
                                             <img [src]="item.idcard_photo_path" style="width: 100%;height: 100%;" alt="替换照片" >
                                         </div>
                             </td>
                         </tr>
                </tbody>
            </table>
           
        </div>
        </ng-template>


        <!--*****************************上传照片**************************************************************************-->
<ng-template #uploadImgModal>
    <div class="modal-content">
        <div class="modal-header info-success-qm">
            <div class="pull-left">
                <em class="fa-lg fas fa-edit "></em> 上传毕业照片
            </div>
            <button type="button" class="close" (click)="uploadImgWin.hide();">×</button>
        </div>
    
        <!-- 1@3 -->
        <div class="modal-body">
            <div [ngTemplateOutlet]="uploadImgTemplate"></div>
        </div>
    
        <div class="modal-footer">
            <button class="btn btn-info" (click)="uploadByPhoto(item.id)">
                <i class="fa fa-info-circle"> </i> 上传照片
            </button>
            <button class="btn btn-default" (click)="uploadImgWin.hide()">
                <i class="icon-close"> </i> 关闭
            </button>
        </div>
    </div>
    </ng-template>
    
    <ng-template #uploadImgTemplate>
        <div class="col-lg-12 ml-0">
            <div class="modal-body">
                说明：
                <br>
                1、请点击【<a href="#" style="color:red;" href="https://www.gxeea.cn/app/zp-zk.exe" target="new" >照片合规检查工具</a> 】,下载照片合规查检工具。
                <br>如需批量处理照片，请联系系统管理员获取批量照片合规检查工具。
                                <br>
                2、使用照片合规查检工具，对照片进行处理，并保存照片。
                <br>
                3、上传保存后的照片。
                <br>
                4、注意：<font style="color:red;">未使用合规检查工具处理的照片无法通过系统验证。</font>
                
                </div>
           
        </div>
        </ng-template>

                         
        <ng-template #imgeTemplateModal>
            <div class="modal-content"  style="width: 1000px;">
              <div class="modal-header info-success-qm">
                <div class="pull-left">
                  <em class="fa-lg fas fa-edit "></em> 图片详情
                </div>
                <button type="button" class="close" (click)="bsModalWin2.hide()">×</button>
              </div>
        
              <div style="text-align: center;padding-bottom: 0px;padding-top: 10px;">
                <button class="btn btn-default" (click)="rotate(0)">
                    左旋转
                  </button>&nbsp;&nbsp;&nbsp;
                  <button class="btn btn-default" (click)="rotate(1)">
                      右旋转
                    </button>&nbsp;&nbsp;&nbsp;
              <button class="btn btn-default" (click)="bsModalWin2.hide()">
                <i class="icon-close"> </i> 关闭
              </button>
            </div>
          
              <!-- 1@3 -->
              <div class="modal-body">
                <div [ngTemplateOutlet]="imgeFormTemplate"></div>
              </div>
          
              <div style="text-align: center;padding-bottom: 10px;">
                  <button class="btn btn-default" (click)="rotate(0)">
                      左旋转
                    </button>&nbsp;&nbsp;&nbsp;
                    <button class="btn btn-default" (click)="rotate(1)">
                        右旋转
                      </button>&nbsp;&nbsp;&nbsp;
                <button class="btn btn-default" (click)="bsModalWin2.hide()">
                  <i class="icon-close"> </i> 关闭
                </button>
              </div>
            </div>
          </ng-template>
        
        
          
        <ng-template #imgeFormTemplate>
              
              
              <div class="row mb-1">
                <div class="col-lg-12 col-form-label" style="overflow-y:auto;text-align: center;">
                  <img  [id]="file_path" [src]="file_access_url+file_path">
                </div>
          
              </div>
          
          
          </ng-template>



          <ng-template #certImgeTemplateModal>
            <div class="modal-content"  style="width: 1000px;">
              <div class="modal-header info-success-qm">
                <div class="pull-left">
                  <em class="fa-lg fas fa-edit "></em> 身份证件
                </div>
                <button type="button" class="close" (click)="bsModalWin3.hide()">×</button>
              </div>
        
          
              <!-- 1@3 -->
              <div class="modal-body">
                <div class="row mb-1">
                    <label class="col-lg-1 col-form-label text-lg-right"></label>
                    <div class="col-lg-3 col-form-label" *ngIf="item.cert_file">
                      <img style="width:240px;height: 320px;cursor: pointer;" [src]="file_access_url+item.cert_file" (click)="showImg(imgeTemplateModal,item.cert_file)">
                    </div>
              
                    <div class="col-lg-3 col-form-label" *ngIf="item.cert_file_two">
                        <img style="width:240px;height: 320px;cursor: pointer;" [src]="file_access_url+item.cert_file_two" (click)="showImg(imgeTemplateModal,item.cert_file_two)">
                      </div>
              
                  </div>
        
            </div>
          
              
            </div>
          </ng-template>


          <ng-template #byFileImgeTemplateModal>
            <div class="modal-content"  style="width: 1000px;">
              <div class="modal-header info-success-qm">
                <div class="pull-left">
                  <em class="fa-lg fas fa-edit "></em> 学历证明
                </div>
                <button type="button" class="close" (click)="bsModalWin3.hide()">×</button>
              </div>
        
          
              <!-- 1@3 -->
              <div class="modal-body">
                <div class="row mb-1">
                    <label class="col-lg-1 col-form-label text-lg-right"></label>
                    <div class="col-lg-3 col-form-label" *ngIf="item.by_file">
                      <img style="width:240px;height: 320px;cursor: pointer;" [src]="file_access_url+item.by_file" (click)="showImg(imgeTemplateModal,item.by_file)" >
                    </div>
              
                    <div class="col-lg-3 col-form-label" *ngIf="item.by_file_two">
                        <img style="width:240px;height: 320px;cursor: pointer;" [src]="file_access_url+item.by_file_two" (click)="showImg(imgeTemplateModal,item.by_file_two)">
                      </div>
                      <div class="col-lg-3 col-form-label" *ngIf="item.by_file_three">
                        <img style="width:240px;height: 320px;cursor: pointer;" [src]="file_access_url+item.by_file_three" (click)="showImg(imgeTemplateModal,item.by_file_three)">
                      </div>
              
                  </div>
        
                  <div class="row mb-1">
                    <label class="col-lg-1 col-form-label text-lg-right"></label>
                    <div class="col-lg-3 col-form-label" *ngIf="item.by_file_four">
                      <img style="width:240px;height: 320px;cursor: pointer;" [src]="file_access_url+item.by_file_four" (click)="showImg(imgeTemplateModal,item.by_file_four)">
                    </div>
              
                    <div class="col-lg-3 col-form-label" *ngIf="item.by_file_five">
                        <img style="width:240px;height: 320px;cursor: pointer;" [src]="file_access_url+item.by_file_five" (click)="showImg(imgeTemplateModal,item.by_file_five)">
                      </div>
                      
              
                  </div>
        
            </div>
          
              
            </div>
          </ng-template>

          <ng-template #scoreFileImgeTemplateModal>
            <div class="modal-content"  style="width: 1000px;">
              <div class="modal-header info-success-qm">
                <div class="pull-left">
                  <em class="fa-lg fas fa-edit "></em> 成绩证明
                </div>
                <button type="button" class="close" (click)="bsModalWin3.hide()">×</button>
              </div>
        
          
              <!-- 1@3 -->
              <div class="modal-body">
                <div class="row mb-1">
                    <label class="col-lg-1 col-form-label text-lg-right"></label>
                    <div class="col-lg-3 col-form-label" *ngIf="item.score_file">
                      <img style="width:240px;height: 320px;cursor: pointer;" [src]="file_access_url+item.score_file" (click)="showImg(imgeTemplateModal,item.score_file)">
                    </div>
                
                    <div class="col-lg-3 col-form-label" *ngIf="item.score_file_two">
                        <img style="width:240px;height: 320px;cursor: pointer;" [src]="file_access_url+item.score_file_two" (click)="showImg(imgeTemplateModal,item.score_file_two)">
                      </div>
                      <div class="col-lg-3 col-form-label" *ngIf="item.score_file_three">
                        <img style="width:240px;height: 320px;cursor: pointer;" [src]="file_access_url+item.score_file_three" (click)="showImg(imgeTemplateModal,item.score_file_three)">
                      </div>
                
                  </div>
                
                  <div class="row mb-1">
                    <label class="col-lg-1 col-form-label text-lg-right"></label>
                    <div class="col-lg-3 col-form-label" *ngIf="item.score_file_four">
                      <img style="width:240px;height: 320px;cursor: pointer;" [src]="file_access_url+item.score_file_four" (click)="showImg(imgeTemplateModal,item.score_file_four)">
                    </div>
                
                    <div class="col-lg-3 col-form-label" *ngIf="item.score_file_five">
                        <img style="width:240px;height: 320px;cursor: pointer;" [src]="file_access_url+item.score_file_five" (click)="showImg(imgeTemplateModal,item.score_file_five)">
                      </div>
                      
                
                  </div>
        
            </div>
          
              
            </div>
          </ng-template>
        
        
        
