<div class="modal-header">
  <h4 class="modal-title pull-left">确认文化线：{{ResponseMap?.AmProvince.province_name}}</h4>
</div>
<div class="modal-body">
  <table class="table table-striped table-hover table-bordered">
    <thead>
    <tr>
      <th>大类名称</th>
      <th>文科合格线</th>
      <th>理科合格线</th>
    </tr>
    </thead>
    <tbody>
    <tr *ngFor="let v of ResponseMap?.ScoreArray; let i = index">
      <td>{{v.dict_text}}</td>
      <td><input class="form-control input-group-sm" type="number" [(ngModel)]="v.qualified_score_liberal"/></td>
      <td><input class="form-control input-group-sm" type="number" [(ngModel)]="v.qualified_score_science"/></td>
    </tr>
    </tbody>
  </table>
  <div class="card card-default">
    <div class="card-header">
      <button class="btn btn-primary" type="button"
              (click)="addAspect()">添加例外专业
      </button>
    </div>
    <div class="card-body">
      <table class="table table-striped table-hover table-bordered">
        <thead>
        <tr>
          <th>专业名称</th>
          <th>文科合格线</th>
          <th>理科合格线</th>
          <th></th>
        </tr>
        </thead>
        <tbody>
        <tr *ngFor="let v of ResponseMap?.AspectArray; let i = index">
          <td>
            <select class="form-control input-group-sm" [hidden]="v.aspect_code" (change)="changAspect($event,v)">
              <option [value]="a.aspect_code" *ngFor="let a of AspectArray">{{a.aspect_full_name}}</option>
            </select>
            <span *ngIf="v.aspect_code">{{v.aspect_full_name}}</span></td>
          <td><input class="form-control input-group-sm" type="number" [(ngModel)]="v.qualified_score_liberal"/></td>
          <td><input class="form-control input-group-sm" type="number" [(ngModel)]="v.qualified_score_science"/></td>
          <td><span class="table-button ml-3 text-danger" (click)="deleteAspect(v)"><em class="fa-lg fas fa-trash-alt "></em></span></td>
        </tr>
        </tbody>
      </table>
    </div>
  </div>
</div>
<div class="modal-footer">
  <button class="btn btn-info" type="button"
          (click)="makeWish()">重新解析志愿文件
  </button>
  <button class="btn btn-primary ml-5" type="button"
          (click)="confirmScore()">确定该省文化线
  </button>
  <button class="btn btn-secondary ml-2" type="button"
          (click)="closeWindow()">关闭窗口
  </button>
</div>
