配餐项目前端文件
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

25 lines
894 B

<div class="pb-10">
<nz-card *ngFor="let group of permissions | keyvalue : returenZero;" nzType="inner" [nzTitle]="group.key"
class="mb-4">
<div nz-row [nzGutter]="[12,12]">
<div nz-col nzSpan="8" *ngFor="let perm of group.value">
<label nz-checkbox
[nzChecked]="hasPermissions.has(perm.value)"
(nzCheckedChange)="onPermissionChange($event,perm.value)">
{{perm.label}}
</label>
</div>
</div>
</nz-card>
<div class="fixed-footter bg-white py-2 absolute left-0 bottom-0 right-0">
<div class="flex pl-16">
<nz-space>
<button *nzSpaceItem nz-button nzType="primary" (click)="onSubmit()">
保存
</button>
</nz-space>
</div>
</div>
</div>