<div class="modal-header">
  <h4 class="modal-title pull-left">考试科目【{{currentEntity.subject_name}}】乐器/舞种配置信息</h4>
</div>
<div class="modal-body">
  <div class="card card-default">
    <div class="card-body">
      <div class="row">
        <div class="col-xs-3 col-lg-3" *ngFor="let v of varietyArray">
          <div class="form-check">
            <div class="checkbox c-checkbox">
              <label>
                <input type="checkbox" [(ngModel)]="v.checked"/>
                <span class="fa fa-check"></span>{{v.variety_code}} {{v.variety_name}}</label>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
<div class="modal-footer justify-content-between">
  <div>
    <div class="btn-group mb-1 mr-1" 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)="requestVarietyArray('Active')" *ngIf="all_flag === 'InActive'">显示所有品种</a>
        <a class="dropdown-item" href="#" (click)="requestVarietyArray('InActive')" *ngIf="all_flag === 'Active'">仅显示未配置</a>
        <div class="dropdown-divider"></div>
        <a class="dropdown-item" href="#" (click)="selectAll(true)">全部选中</a>
        <div class="dropdown-divider"></div>
        <a class="dropdown-item" href="#" (click)="selectAll(false)">全部取消</a>
      </div>
    </div>
  </div>
  <div>
    <button class="btn btn-primary" type="button" (click)="saveVariety()">
      确定乐器/舞种配置
    </button>
    <button class="btn btn-secondary" type="button" (click)="closeWindow()">关闭窗口</button>
  </div>
</div>
