<div class="modal-header">
    <h4 class="modal-title pull-left">专业计划分组详细信息</h4>
  </div>
  <div class="modal-body mb-1">
    <div class="card card-default" [formGroup]="detailForm">
      <div class="mt-2 mr-2">
        <div class="form-group row  ">
          <label class="col-lg-2 col-form-label text-lg-right">分组名称</label>
          <div class="col-lg-10 col-md-10">
            <input class="form-control" type="text" formControlName="wish_group" maxlength="64"
                   [(ngModel)]="currentEntity.wish_group"/>
            <form-valid [form]="detailForm" fieldName="wish_group"></form-valid>
          </div>
        </div>
      </div>
    </div>
  
  
    <div class="card card-default" *ngIf="ResponseArray.length>1">
      <div class="card-header bg-info">包含专业计划明细</div>
      <table class="table table-striped table-hover table-bordered">
        <thead>
        <tr>
          <th class="th-index"></th>
          <th>录取专业编号</th>
          <th>录取专业编码</th>
          <th>录取专业名称</th>
        </tr>
        </thead>
        <tbody>
        <tr *ngFor="let v of ResponseArray; let i = index">
          <td>{{i + 1}}</td>
          <td>{{v.wish_aspect_id}}</td>
          <td>{{v.wish_aspect_code}}</td>
          <td>{{v.wish_aspect_name}}</td>
        </tr>
        </tbody>
      </table>
    </div>
  </div>
  
  <div class="modal-footer justify-content-between">
    <div>
      <button class="btn btn-primary" type="button" (click)="savePlanGroup()">
        保存分组信息
      </button>
      <button class="btn btn-secondary ml-2" type="button" (click)="closeWindow()">关闭窗口</button>
    </div>
  </div>
  