|  |  |  | 
|---|
|  |  |  | <div class="modal-header"> | 
|---|
|  |  |  | <div class="modal-title">{{alarmUser.id > 0 ? '编辑' : '添加'}} - 报警用户</div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <form #f="ngForm" (ngSubmit)="save()" nz-form [nzType]="'horizontal'" [formGroup]="validateForm"> | 
|---|
|  |  |  | <form (ngSubmit)="save()" nz-form [nzType]="'horizontal'" [formGroup]="validateForm"> | 
|---|
|  |  |  | <div nz-form-item nz-row class="mb-sm"> | 
|---|
|  |  |  | <div nz-form-label nz-col [nzSpan]="4"> | 
|---|
|  |  |  | <label>用户名</label> | 
|---|
|  |  |  | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="modal-footer"> | 
|---|
|  |  |  | <button nz-button type="button" (click)="close()">关闭</button> | 
|---|
|  |  |  | <button nz-button [nzLoading]="http.loading" [nzType]="'primary'">保存</button> | 
|---|
|  |  |  | <button nz-button  [nzType]="'primary'">保存</button> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </form> | 
|---|