Skip to content
topology.component.html 1.47 KiB
Newer Older
wangqinghua's avatar
wangqinghua committed
<nz-modal [(nzVisible)]="isVisible" nzTitle="{{title}}" (nzOnCancel)="handleCancel()" (nzOnOk)="handleOk()">
wangqinghua's avatar
wangqinghua committed
  <form [formGroup]="validateForm" nz-form>
wangqinghua's avatar
wangqinghua committed
    <nz-form-item>
      <nz-form-label [nzSpan]="7" nzRequired nzFor="name">拓扑图名称</nz-form-label>
      <nz-form-control [nzSpan]="12">
wangqinghua's avatar
wangqinghua committed
        <input type="text" nz-input name="name" formControlName="name" placeholder="名称" >
wangqinghua's avatar
wangqinghua committed
        <nz-form-explain *ngIf="validateForm.get('name').dirty && validateForm.get('name').errors">请输入拓扑图名称</nz-form-explain>
wangqinghua's avatar
wangqinghua committed
      </nz-form-control>
    </nz-form-item>
    <nz-form-item>
wangqinghua's avatar
wangqinghua committed
      <nz-form-label [nzSpan]="7" nzRequired nzFor="refreshRete">刷新频率</nz-form-label>
wangqinghua's avatar
wangqinghua committed
      <nz-form-control [nzSpan]="12">
wangqinghua's avatar
wangqinghua committed
        <input style="width: 100px;margin-right: 10px" type="text" nz-input formControlName="refreshRete" placeholder="名称" >分钟
        <nz-form-explain *ngIf="validateForm.get('refreshRete').dirty && validateForm.get('refreshRete').errors">请输入刷新频率</nz-form-explain>
wangqinghua's avatar
wangqinghua committed
      </nz-form-control>
    </nz-form-item>
    <nz-form-item>
wangqinghua's avatar
wangqinghua committed
      <nz-form-label [nzSpan]="7" nzRequired nzFor="json">共享角色</nz-form-label>
wangqinghua's avatar
wangqinghua committed
      <nz-form-control [nzSpan]="12">
wangqinghua's avatar
wangqinghua committed
        <input type="text" nz-input name="json" formControlName="json" placeholder="名称" >
        <nz-form-explain *ngIf="validateForm.get('json').dirty && validateForm.get('json').errors">请输入分组名称</nz-form-explain>
wangqinghua's avatar
wangqinghua committed
      </nz-form-control>
    </nz-form-item>
  </form>
</nz-modal>