|
|
|
@ -12,7 +12,7 @@ |
|
|
|
<!-- 手机号 --> |
|
|
|
<view class="form-item"> |
|
|
|
<input class="form-item--input" type="number" v-model="mobile" maxlength="11" autocomplete="off" |
|
|
|
placeholder="输入手机号码" @input="onInputStepper($event, item)" /> |
|
|
|
placeholder="输入手机号码" /> |
|
|
|
</view> |
|
|
|
<!-- 验证码 --> |
|
|
|
<view class="form-item"> |
|
|
|
@ -53,6 +53,8 @@ |
|
|
|
export default { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
// 正在加载 |
|
|
|
isLoading: false, |
|
|
|
// 需要重置密码的手机号 |
|
|
|
mobile: '', |
|
|
|
// 手机验证码 |
|
|
|
@ -196,7 +198,7 @@ |
|
|
|
let data = { |
|
|
|
accountId: app.mobile, |
|
|
|
verifyCode: app.chkcode, |
|
|
|
password: $.md5(app.vpass).toUpperCase(), |
|
|
|
password: app.$md5(app.vpass).toUpperCase(), |
|
|
|
passMd5ed: true, |
|
|
|
st: "2", |
|
|
|
} |
|
|
|
@ -208,7 +210,11 @@ |
|
|
|
}else{ |
|
|
|
app.$toast(res.resultMsg) |
|
|
|
} |
|
|
|
}); |
|
|
|
}) |
|
|
|
.catch(err => { |
|
|
|
console.log("err",err) |
|
|
|
}) |
|
|
|
.finally(() => app.isLoading = false) |
|
|
|
}, |
|
|
|
/** |
|
|
|
* 跳转回原页面 |
|
|
|
@ -220,7 +226,7 @@ |
|
|
|
delta: Number(delta || 1) |
|
|
|
}) |
|
|
|
} else { |
|
|
|
this.$navTo('pages/index/index') |
|
|
|
this.$navTo('pages/login/index') |
|
|
|
} |
|
|
|
}, |
|
|
|
// 调整到登录页面 |
|
|
|
|