Commit aec23193 authored by 吴冠's avatar 吴冠

忘记密码模块

parent 47dfeb47
......@@ -32,11 +32,11 @@
<!-- 重置密码 -->
<div class="reset" v-if="active==1">
<el-form ref="organ" :model="organ" label-width="2rem" :rules="rules">
<el-form-item label="输入密码" prop="password" class="item" show-password>
<el-input v-model="organ.password" placeholder="请输入密码" style="width:3.4rem" key="password" maxlength="30"></el-input>
<el-form-item label="输入密码" prop="password" class="item" >
<el-input v-model="organ.password" placeholder="请输入密码" style="width:3.4rem" key="organ.password" maxlength="30" show-password></el-input>
</el-form-item>
<el-form-item label="请再次输入密码" prop="isPassword" class="item" show-password>
<el-input v-model="organ.isPassword" placeholder="请再次输入密码" style="width:3.4rem" key="isPassword" maxlength="30"></el-input>
<el-form-item label="请再次输入密码" prop="isPassword" class="item" >
<el-input v-model="organ.isPassword" placeholder="请再次输入密码" style="width:3.4rem" key="organ.isPassword" maxlength="30" show-password></el-input>
</el-form-item>
</el-form>
</div>
......@@ -177,7 +177,11 @@
let phonemes = {}
phonemes.phone = this.form.phone
phonemes.type = 2
const {data} = await sendSms(phonemes)
const {data,code} = await sendSms(phonemes)
//code返回为500时 友情提示账户未注册
if(code ==500){
this.$message.error('该手机号没有注册oVo');
}
}else{
alert("验证码输入有误!请重新输入")
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment