<nz-modal [(nzVisible)]="isVisible" nzTitle="{{title}}"  (nzOnCancel)="handleCancel()" (nzOnOk)="handleCancel()">
  <div style="position: absolute;left:20%;top: 15px;">
    <nz-switch [(ngModel)]="first.check" (ngModelChange)="changeValue('1')"></nz-switch>
  </div>
  <form nz-form>
    <nz-form-item *ngFor="let item of list;let i = index;">
      <nz-form-label [nzSm]="8" [nzXs]="24" [ngModelOptions]="{standalone: true}">{{item.comment}}</nz-form-label>
      <nz-form-control [nzSm]="14" [nzXs]="24">
        <nz-switch [(ngModel)]="item.check" [ngModelOptions]="{standalone: true}" (ngModelChange)="changeValue(i+2)"></nz-switch>
      </nz-form-control>
    </nz-form-item>
  </form>
</nz-modal>
