Browse Source

[修改]修改角色页面bug

dev
邵佳豪 3 years ago
parent
commit
a5b4d6d570
  1. 2
      src/app/system-management/role/addrole/addrole.component.html
  2. 2
      src/app/system-management/role/editrole/editrole.component.html
  3. 2
      src/app/system-management/role/role.component.html

2
src/app/system-management/role/addrole/addrole.component.html

@ -9,7 +9,7 @@
</nz-form-item>
<nz-form-item>
<nz-form-control>
<nz-select formControlName="power" nzPlaceHolder="请选择权限" (nzScrollToBottom)="loadMore()" nzMode="multiple">
<nz-select formControlName="power" nzPlaceHolder="请选择权限" nzMode="multiple">
<nz-option *ngFor="let o of optionList" [nzValue]="o" [nzLabel]="o.displayName"></nz-option>
</nz-select>
<ng-template #renderTemplate>

2
src/app/system-management/role/editrole/editrole.component.html

@ -9,7 +9,7 @@
</nz-form-item>
<nz-form-item>
<nz-form-control>
<nz-select [(ngModel)]="multipleValue" formControlName="power" nzPlaceHolder="请选择权限" (nzScrollToBottom)="loadMore()" nzMode="multiple">
<nz-select [(ngModel)]="multipleValue" formControlName="power" nzPlaceHolder="请选择权限" nzMode="multiple">
<nz-option *ngFor="let o of optionList" [nzValue]="o.name" [nzLabel]="o.displayName"></nz-option>
</nz-select>
</nz-form-control>

2
src/app/system-management/role/role.component.html

@ -20,7 +20,7 @@
</thead>
<tbody>
<tr *ngFor="let data of basicTable.data">
<td>{{data.name}}</td>
<td>{{data.displayName}}</td>
<td>
<span *ngFor="let item of data.grantedFlatPermissions">{{item.displayName}}</span>
</td>

Loading…
Cancel
Save