<div class="content-heading  justify-content-between">
  <div>成绩查询</div>
  <div class="float-right">
    <div class="btn-group ml-3 mr-5" dropdown>
      <button class="btn dropdown-toggle btn-secondary" type="button" dropdownToggle>辅助功能
        <span class="caret"></span>
      </button>
      <div *dropdownMenu class="dropdown-menu" role="menu">
        <a class="dropdown-item" href="#" (click)="ModalService.showUploadWindow(bsService,'fz/score/upload.htm',
        {},{
          uploadTitle:'导入成绩',
          templateFile:'模版-附中成绩导入.xls',
          uploadCallback:uploadCallback.bind(this),
          autoClose:true
        })">导入成绩</a>
        <div class="dropdown-divider"></div>
        <a class="dropdown-item" href="#"
          (click)="FuncService.ajaxDownload('frame/report/download.htm', {report_name:'YmfzScoreExport', report_title :'成绩导出'})">导出成绩</a>
      </div>
    </div>
  </div>
</div>

<div class="table-responsive bg-white table-full">
  <table class="table table-striped table-hover table-bordered">
    <thead>
      <tr>
        <th><span class="table-sort" (click)="pager.sort('std_name')">考生姓名</span></th>
        <th><span class="table-sort" (click)="pager.sort('cert_id')">证件号码</span></th>
        <th><span class="table-sort" (click)="pager.sort('ticket_no')">准考证号</span></th>
        <th><span class="table-sort" (click)="pager.sort('aspect_name')">报考专业</span></th>
        <th><span class="table-sort" (click)="pager.sort('subj_zxjc')">造型基础</span></th>
        <th><span class="table-sort" (click)="pager.sort('subj_mtcz')">命题创作</span></th>
        <th><span class="table-sort" (click)="pager.sort('subj_zhsy')">综合素养考核</span></th>
        <th><span class="table-sort" (click)="pager.sort('face_score')">现场考核</span></th>
        <th><span class="table-sort" (click)="pager.sort('total_score')">总分</span></th>
        <th><span class="table-sort" (click)="pager.sort('qualified')">是否合格</span></th>
      </tr>
    </thead>
    <tbody>
      <tr *ngFor="let v of pager.getRecords(); let i = index">
        <td>{{v.std_name}}</td>
        <td>{{v.cert_id}}</td>
        <td>{{v.ticket_no}}</td>
        <td>{{v.aspect_name}}</td>
        <td>{{v.subj_zxjc}}</td>
        <td>{{v.subj_mtcz}}</td>
        <td>{{v.subj_zhsy}}</td>
        <td>{{v.face_score}}</td>
        <td>{{v.total_score}}</td>
        <td>{{v.qualified}}</td>
      </tr>
    </tbody>
  </table>
  <frame-pager [url]="'./fz/score/page.htm'" #pager></frame-pager>
</div>
