上海采集平台
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.
 
 
 
 

23 lines
959 B

<form (ngSubmit)="onSubmit(form.value)" #form="ngForm" class="example-container">
<span mat-dialog-title>创建素材库</span>
<mat-form-field>
<input matInput id="name" name="name" type='text'
required minlength="3"
ngModel #name="ngModel" placeholder="请输入素材名称">
</mat-form-field>
<mat-form-field>
<mat-select required [(ngModel)]="data.tag" name="tag" placeholder='素材库录入源'>
<mat-option value="INPUT">信息录入</mat-option>
<mat-option value="PLAN">预案管理</mat-option>
<mat-option value="COMMAND">指挥系统</mat-option>
</mat-select>
</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>