<div class="dataFloor" *ngIf="!loading1">
  <overlay-scrollbars #osComponentRef1 class="dataFloor-mainBox">
    <div class="dataFloor-main" [ngStyle]="{width:mainWidth}">
      <div class="ipt" *ngFor="let item of floorList">
        <nz-select [(ngModel)]="item.buildId" class="ipt-select" nzPlaceHolder="请选择楼栋"
          (ngModelChange)="selectBuild(item)">
          <nz-option *ngFor="let option of buildingList" [nzLabel]="option.buildingName" [nzValue]="option.id">
          </nz-option>
        </nz-select>
        <input nz-input placeholder="请输入楼层" [(ngModel)]="item.floorName" />
        <i class="icon_transport transport-lajitong" (click)="delete(item)" *ngIf="coopBtns.del"></i>
      </div>
      <button nz-button class="add" nzType="primary" (click)="add()" [disabled]="!coopBtns.add">新增</button>
    </div>
  </overlay-scrollbars>
  <div class="dataFloor-submit">
    <button nz-button nzType="primary" (click)="generate()" [disabled]="!coopBtns.add">生成楼层</button>
    <button class="ml8" nz-button nzType="primary" (click)="save('保存','loading3')" [nzLoading]="loading3" [disabled]="!coopBtns.edit">保存</button>
  </div>
</div>
<div style="height: 100%;" class="loadingFull display_flex justify-content_flex-center align-items_center"
  *ngIf="loading1">
  <div class="loadingFullInner">
    <img src="../../../assets/images/loading.gif" alt="">
    <div>加载中...</div>
  </div>
</div>
<!-- 操作成功/失败提示框 -->
<app-prompt-modal *ngIf="promptModalShow" [content]="promptContent" [success]="ifSuccess" [show]="promptModalShow"
  [info]="promptInfo">
</app-prompt-modal>
<!-- 删除模态框 -->
<app-dialog-delete [delModal]="delModal" (hideDelModalEvent)="hideDelModal()" [btnLoading]="loading2"
  (confirmDelEvent)="confirmDel()" [content]="tipsMsg1"></app-dialog-delete>
<!-- 生成楼层模态框 -->
<app-generate-floor *ngIf="generateModal" #generate1 [generateModal]="generateModal" (hideGenerateModalEvent)="hideGenerateModal()" [btnLoading]="loading4"
  (confirmGenerateEvent)="confirmGenerate($event)"></app-generate-floor>
