Merge branch 'develop' of https://gitlab.eascs.com/tms-ui/tms-obc-web into develop

This commit is contained in:
Taric Xin
2022-01-10 17:21:56 +08:00
3 changed files with 6 additions and 7 deletions

View File

@ -1,7 +1,7 @@
<!--
* @Author: your name
* @Date: 2021-11-29 11:06:01
* @LastEditTime: 2021-12-28 14:11:58
* @LastEditTime: 2022-01-10 17:01:56
* @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: \tms-obc-web\src\app\routes\account\components\edit-name\edit-name.component.html

View File

@ -80,8 +80,8 @@ export class AccountComponentsEditNameComponent implements OnInit, AfterViewInit
widget: 'custom',
placeholder: '请输入验证码',
errors: {
required: '请输入6位验证码',
minLength: '请输入6位验证码',
required: '请输入6位数字验证码',
minLength: '请输入6位数字验证码',
},
},
},
@ -215,8 +215,6 @@ export class AccountComponentsEditNameComponent implements OnInit, AfterViewInit
const params = {
smsVerifyCode: this.sf.value.smsVerifyCode,
};
// this.modal.close();
this.isVisibleView = true
this.service.http.post(this.service.$api_get_verifyPhone, params).subscribe((res) => {
console.log(res, 'submitForm');

View File

@ -1,11 +1,12 @@
<!--
* @Author: your name
* @Date: 2021-11-29 13:50:46
* @LastEditTime: 2021-12-28 14:02:39
* @LastEditTime: 2022-01-10 16:51:33
* @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: \tms-obc-web\src\app\routes\account\components\edit\edit.component.html
-->
<nz-alert style="margin-bottom: 15px;" nzType="info" nzMessage="密码为字母和数字组成的8-16个字符支持符号“_”和“-”。" nzShowIcon></nz-alert>
<form nz-form [formGroup]="validateForm">
<nz-form-item>
<nz-form-label nzRequired>新密码</nz-form-label>
@ -59,7 +60,7 @@
>
<div nz-row [nzGutter]="8">
<div nz-col [nzSpan]="12">
<input nz-input formControlName="smsVerifyCode" id="smsVerifyCode" />
<input nz-input [maxlength]="6" formControlName="smsVerifyCode" id="smsVerifyCode" />
</div>
<div nz-col [nzSpan]="12" style="display: flex; align-items: center;">
<button nz-button *ngIf="count < 1;" (click)="getCaptcha($event)">获取验证码</button>