24 lines
686 B
24 lines
686 B
<div class="functionalDomainContent"> |
|
<div mat-dialog-title> |
|
<label *ngIf="!data.parentId">新建处置节点</label> |
|
<label *ngIf="data.parentId">新建节点</label> |
|
</div> |
|
|
|
<form (ngSubmit)="onSubmit(form.value)" #form="ngForm" class="example-container"> |
|
|
|
<div class="keyMargin"> |
|
<mat-form-field> |
|
<input matInput name="name" required ngModel placeholder="名称"> |
|
</mat-form-field> |
|
</div> |
|
|
|
<div class="submitBottom"> |
|
<button mat-raised-button color="primary" type="submit" [disabled]="!form.form.valid"> |
|
确定 |
|
</button> |
|
<button mat-raised-button mat-dialog-close>取消</button> |
|
</div> |
|
|
|
</form> |
|
|
|
</div> |