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.
|
|
|
<div class="box">
|
|
|
|
<form nz-form [formGroup]="validateForm">
|
|
|
|
<nz-form-item>
|
|
|
|
<nz-form-label [nzSm]="6" [nzXs]="24" nzRequired nzFor="名称">名称</nz-form-label>
|
|
|
|
<nz-form-control nzErrorTip="请输入名称">
|
|
|
|
<nz-input-group>
|
|
|
|
<input nz-input type="text" formControlName="name" placeholder="请输入名称" />
|
|
|
|
</nz-input-group>
|
|
|
|
</nz-form-control>
|
|
|
|
</nz-form-item>
|
|
|
|
<nz-form-item>
|
|
|
|
<nz-form-label [nzSm]="6" [nzXs]="24" nzRequired nzFor="权限">权限</nz-form-label>
|
|
|
|
<nz-form-control>
|
|
|
|
<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>
|
|
|
|
<nz-spin *ngIf="isLoading"></nz-spin>
|
|
|
|
</ng-template>
|
|
|
|
</nz-form-control>
|
|
|
|
</nz-form-item>
|
|
|
|
</form>
|
|
|
|
</div>
|