|
|
|
@ -11,13 +11,14 @@
|
|
|
|
|
|
|
|
|
|
<div mat-dialog-content> |
|
|
|
|
<mat-form-field> |
|
|
|
|
<input type="text" pattern="^[1-9]\d{7}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}$|^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$" matInput required [(ngModel)]="identityCard" name="identityCard" placeholder="身份证号码"> |
|
|
|
|
<!-- pattern="^[1-9]\d{7}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}$|^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$" --> |
|
|
|
|
<input type="text" matInput [(ngModel)]="identityCard" name="identityCard" placeholder="身份证号码"> |
|
|
|
|
</mat-form-field> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div mat-dialog-content> |
|
|
|
|
<mat-form-field> |
|
|
|
|
<input type="text" matInput required [(ngModel)]="realName" name="user" placeholder="真实姓名"> |
|
|
|
|
<input type="text" matInput [(ngModel)]="realName" name="user" placeholder="真实姓名"> |
|
|
|
|
</mat-form-field> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
@ -29,8 +30,8 @@
|
|
|
|
|
|
|
|
|
|
<div mat-dialog-content> |
|
|
|
|
<mat-form-field> |
|
|
|
|
<input type="tel" matInput pattern="^(?:\+?86)?1(?:3\d{3}|5[^4\D]\d{2}|8\d{3}|7(?:[0-35-9]\d{2}|4(?:0\d|1[0-2]|9\d))|9[0-35-9]\d{2}|6[2567]\d{2}|4(?:[14]0\d{3}|[68]\d{4}|[579]\d{2}))\d{6}$" |
|
|
|
|
[(ngModel)]="phone" name="phone" placeholder="联系电话"> |
|
|
|
|
<!-- pattern="^(?:\+?86)?1(?:3\d{3}|5[^4\D]\d{2}|8\d{3}|7(?:[0-35-9]\d{2}|4(?:0\d|1[0-2]|9\d))|9[0-35-9]\d{2}|6[2567]\d{2}|4(?:[14]0\d{3}|[68]\d{4}|[579]\d{2}))\d{6}$" --> |
|
|
|
|
<input type="tel" matInput [(ngModel)]="phone" name="phone" placeholder="联系电话"> |
|
|
|
|
</mat-form-field> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|