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.
39 lines
1.5 KiB
39 lines
1.5 KiB
<div class="box"> |
|
<form nz-form [formGroup]="validateForm"> |
|
<nz-form-item> |
|
<nz-form-control> |
|
<nz-input-group> |
|
<input [(ngModel)]="data.userName" nz-input type="text" formControlName="account" placeholder="请输入账号" /> |
|
</nz-input-group> |
|
</nz-form-control> |
|
</nz-form-item> |
|
<nz-form-item> |
|
<nz-form-control> |
|
<nz-input-group> |
|
<input [(ngModel)]="data.name" nz-input type="text" formControlName="name" placeholder="请输入姓名" /> |
|
</nz-input-group> |
|
</nz-form-control> |
|
</nz-form-item> |
|
<nz-form-item> |
|
<nz-form-control> |
|
<nz-tree-select [(ngModel)]="data.organizationUnitId" formControlName="organization" [nzNodes]="nodes" nzPlaceHolder="请选择所属机构"> |
|
|
|
</nz-tree-select> |
|
</nz-form-control> |
|
</nz-form-item> |
|
<nz-form-item> |
|
<nz-form-control> |
|
<nz-select [(ngModel)]="data.roleNames" formControlName="role" nzPlaceHolder="请选择角色" nzMode="multiple"> |
|
<nz-option *ngFor="let item of listOfData" [nzValue]="item.normalizedName" [nzLabel]="item.displayName"></nz-option> |
|
</nz-select> |
|
</nz-form-control> |
|
</nz-form-item> |
|
<nz-form-item> |
|
<nz-form-control> |
|
<nz-input-group> |
|
<input [(ngModel)]="data.phoneNumber" nz-input type="text" formControlName="phonenum" placeholder="请输入手机号" /> |
|
</nz-input-group> |
|
</nz-form-control> |
|
</nz-form-item> |
|
</form> |
|
</div>
|
|
|