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.
24 lines
881 B
24 lines
881 B
<form (ngSubmit)="onSubmit(form.value)" #form="ngForm" class="example-container"> |
|
|
|
<mat-form-field> |
|
<input matInput id="name" name="name" type='text' |
|
required |
|
ngModel #name="ngModel" placeholder="请输入组织名称"> |
|
</mat-form-field> |
|
|
|
<mat-form-field> |
|
<input matInput id="number" name="number" type='text' |
|
ngModel #number="ngModel" placeholder="请输入机构代码"> |
|
</mat-form-field> |
|
|
|
<mat-form-field> |
|
<input matInput id="division" name="division" type='text' |
|
ngModel #division="ngModel" placeholder="请输入区划"> |
|
</mat-form-field> |
|
|
|
<div class="btn"> |
|
<button type="submit" class="savebtn" mat-raised-button color="primary" [disabled]='form.invalid'>确定</button> |
|
<button type="button" mat-button (click)="onNoClick()" mat-raised-button>取消</button> |
|
</div> |
|
|
|
</form>
|
|
|