<div class="panel panel-default">
  <div>
    <!--标题-->
    <div class="panel-title">
      <nav aria-label="breadcrumb">
        <ol class="breadcrumb">
          <li class="breadcrumb-item active" aria-current="page">外省转入历史成绩查询</li>
        </ol>
      </nav>
    </div>
  </div>

  <div class="panel-body ml-sm " [hidden]="editShowType=='only'">
    <!--查询条件-->
    <div class="row mb-3 ml-1" [hidden]="editShowType=='only'">
      <div class="col-lg-12">
        <form class="form-inline">
          <div class="input-group mr-1 input-group-sm">
            <label>外省准考证号：</label>
            <input name="query" [(ngModel)]="query.in_ticket_no" class="input-sm form-control" type="text" value=""
              maxlength="100" placeholder="请输入外省准考证号">
          </div>&nbsp;&nbsp;
          <div class="input-group mr-1 input-group-sm">
            <label>姓名：</label>
            <input name="query" [(ngModel)]="query.std_name" class="input-sm form-control" type="text" value=""
              maxlength="100" placeholder="请输入姓名">
          </div>&nbsp;&nbsp;
          <button class="btn btn-primary btn-rounded btn-outline btn-sm  mr-1" (click)="searchScoreOld()">
            <i class="fa fa-search"></i> 查询</button>&nbsp;&nbsp;
          <button class="btn btn-primary btn-rounded btn-outline btn-sm  mr-1" (click)="reset()">
            <i class="fa fa-undo"></i> 重置</button>
        </form>
      </div>
    </div>


    <!--表格-->
    <div class="row" [hidden]="editShowType=='only'">
      <div class="col-sm-12 ml-0">
        <table class="table table-sm table-striped table-hover table-bordered bg-white">
          <thead>
            <tr>
              <th>序号</th>
              <th align="center">外省准考证号</th>
              <th>考生姓名</th>
              <th align="center">课程代码</th>
              <th>课程名称</th>
              <th align="center">成绩</th>
              <th>原考单位</th>
              <th>收到时间</th>
            </tr>
          </thead>
          <tbody>
            <tr *ngFor="let item of oldScore; let i = index">
              <td>{{i+1}}</td>
              <td align="center">{{item.zhunkaozhenghao}}</td>
              <td>{{item.xingming}}</td>
              <td align="center">{{item.kechengdaihao}}</td>
              <td>{{item.kechengmingcheng}}</td>
              <td align="right">{{item.chengji | frameDict: 'score_flag'}}</td>
              <td>{{item.yuankaodanwei}}</td>
              <td>{{item.shoudaoshijian}}</td>
            </tr>
          </tbody>
        </table>
      </div>

    </div>
  </div>

</div>