| | |
| | | <div nz-form-explain *ngIf="validateForm.controls.accountName.dirty && validateForm.controls.accountName.hasError('unique')">账号不允许重复!</div> |
| | | </div> |
| | | <div nz-form-label nz-col [nzSpan]="4"> |
| | | <label nz-form-item-required>电话</label> |
| | | <label>电话</label> |
| | | </div> |
| | | <div nz-form-control nz-col [nzSpan]="8" nzHasFeedback> |
| | | <input nz-input maxlength="11" formControlName="mobile" required/> |
| | | <input nz-input maxlength="11" formControlName="mobile" /> |
| | | </div> |
| | | </div> |
| | | <div nz-form-item nz-row class="mb-sm"> |
| | |
| | | </div> |
| | | <div nz-form-item nz-row class="mb-sm"> |
| | | <div nz-form-label nz-col [nzSpan]="4"> |
| | | <label>组织</label> |
| | | <label nz-form-item-required>组织</label> |
| | | </div> |
| | | <div nz-form-control nz-col [nzSpan]="8" > |
| | | <!-- <input nz-input formControlName="organizationId" maxlength="20" placeholder="20字以内" /> --> |
| | | <nz-select style="width: 290px;" nzAllowClear [nzPlaceHolder]="'input search text'" [nzFilter]="true" nzShowSearch |
| | | formControlName="organizationId" (nzSearchChange)="searchChange($event)" [nzNotFoundContent]="'无法找到'" > |
| | | <div nz-form-control nz-col [nzSpan]="8" nzHasFeedback> |
| | | <nz-select style="width: 290px;" nzAllowClear [nzPlaceHolder]="'input search text'" [nzFilter]="false" nzShowSearch |
| | | formControlName="organizationId" (nzSearchChange)="searchChange($event)" [nzNotFoundContent]="'无法找到'" required> |
| | | <nz-option *ngFor="let option of searchOptions" [nzLabel]="option['name']" [nzValue]="option['id']"> </nz-option> |
| | | </nz-select> |
| | | </div> |
| | |
| | | </div> |
| | | <div class="modal-footer"> |
| | | <button nz-button type="button" (click)="close()">关闭</button> |
| | | <button nz-button [nzLoading]="http.loading" [nzType]="'primary'" [disabled]="!validateForm.valid">保存</button> |
| | | <button nz-button [nzType]="'primary'" [disabled]="!validateForm.valid">保存</button> |
| | | </div> |
| | | </form> |