19 changed files with 333 additions and 30 deletions
@ -0,0 +1,33 @@
|
||||
<!-- |
||||
* @Descripttion: |
||||
* @version: |
||||
* @Author: sueRimn |
||||
* @Date: 2021-05-26 14:54:36 |
||||
* @LastEditors: sueRimn |
||||
* @LastEditTime: 2021-06-01 10:25:05 |
||||
--> |
||||
<div class="box"> |
||||
<div class="top"> |
||||
<span>新增分组</span> |
||||
</div> |
||||
|
||||
<div class="center" *ngIf="this.data.element.surveyName=='建筑信息'"> |
||||
<div class="group" *ngFor="let item of addAttinfBuild" > |
||||
<mat-checkbox class="example-margin" color='primary' [(ngModel)]="item.completed" >{{item.propertyName}}</mat-checkbox> |
||||
</div> |
||||
</div> |
||||
<div class="center" *ngIf="this.data.surveyName=='消防设施'"> |
||||
<div class="group" *ngFor="let item of addAttinfFile" > |
||||
<mat-checkbox class="example-margin" color='primary' [(ngModel)]="item.completed" >{{item.name}}</mat-checkbox> |
||||
</div> |
||||
</div> |
||||
<div class="center" *ngIf="this.data.facilityItems!=null"> |
||||
<div class="group" *ngFor="let item of facilityItems" > |
||||
<mat-checkbox class="example-margin" color='primary' [(ngModel)]="item.completed" >{{item.name}}</mat-checkbox> |
||||
</div> |
||||
</div> |
||||
<div class="bottom"> |
||||
<button mat-raised-button color="primary" (click)='defineClick()'>确定</button> |
||||
<button mat-raised-button style="margin-left: 20px;" (click)="close()">取消</button> |
||||
</div> |
||||
</div> |
@ -0,0 +1,41 @@
|
||||
.box{ |
||||
height: 100%; |
||||
width: 100%; |
||||
display: flex; |
||||
flex-direction: column; |
||||
.top{ |
||||
width: 100%; |
||||
height: 40px; |
||||
text-align: center; |
||||
span{ |
||||
font-size: 18px; |
||||
} |
||||
} |
||||
.center{ |
||||
overflow: auto; |
||||
width: 100%; |
||||
height: 80%; |
||||
.group{ |
||||
height: 35px; |
||||
//margin-left: 20px; |
||||
.example-margin { |
||||
margin: 0 10px; |
||||
} |
||||
input{ |
||||
top: 2px; |
||||
} |
||||
span{ |
||||
margin-left: 8px; |
||||
} |
||||
} |
||||
} |
||||
.bottom{ |
||||
width: 100%; |
||||
margin-top: 20px; |
||||
button{ |
||||
width: 80px; |
||||
height: 36px; |
||||
font-size: 16px; |
||||
} |
||||
} |
||||
} |
Loading…
Reference in new issue