|
@@ -110,7 +110,7 @@
|
|
/>
|
|
/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div class="verificationCode-box">
|
|
|
|
|
|
+ <!-- <div class="verificationCode-box">
|
|
<input
|
|
<input
|
|
type="text"
|
|
type="text"
|
|
:class="'input'"
|
|
:class="'input'"
|
|
@@ -123,7 +123,7 @@
|
|
:class="VerificationCodeShow ? 'waitTime' : 'getVerification'">
|
|
:class="VerificationCodeShow ? 'waitTime' : 'getVerification'">
|
|
{{ VerificationCodeShow ? time+'s' : $t("Key93") }}
|
|
{{ VerificationCodeShow ? time+'s' : $t("Key93") }}
|
|
</div>
|
|
</div>
|
|
- </div>
|
|
|
|
|
|
+ </div> -->
|
|
</template>
|
|
</template>
|
|
<!-- 验证码登录 v-show="loginType == '验证码'"
|
|
<!-- 验证码登录 v-show="loginType == '验证码'"
|
|
-->
|
|
-->
|
|
@@ -225,7 +225,7 @@ import { setI18nLang } from "@/utils/i18n";
|
|
export default {
|
|
export default {
|
|
//import引入的组件需要注入到对象中才能使用
|
|
//import引入的组件需要注入到对象中才能使用
|
|
components: { UserAgreement },
|
|
components: { UserAgreement },
|
|
- props: ["ForgetType", "changeLoginReg", "changeLoginType", "getChildSysList","changeEmailTips"],
|
|
|
|
|
|
+ props: ["ForgetType", "changeLoginReg", "changeLoginType", "getChildSysList"],
|
|
data() {
|
|
data() {
|
|
//这里存放数据
|
|
//这里存放数据
|
|
return {
|
|
return {
|
|
@@ -362,9 +362,9 @@ export default {
|
|
password: md5(this.password).toUpperCase(),
|
|
password: md5(this.password).toUpperCase(),
|
|
verification_code_image_text: this.verificationCode,
|
|
verification_code_image_text: this.verificationCode,
|
|
verification_code_image_id: this.verificationCodeimgID,
|
|
verification_code_image_id: this.verificationCodeimgID,
|
|
- dynamic_verification_type:'EMAIL',
|
|
|
|
- phone_or_email: this.email_phone,
|
|
|
|
- dynamic_verification_code: this.emailCode
|
|
|
|
|
|
+ // dynamic_verification_type:'EMAIL',
|
|
|
|
+ // phone_or_email: this.email_phone,
|
|
|
|
+ // dynamic_verification_code: this.emailCode
|
|
};
|
|
};
|
|
if (this.rememberMe) {
|
|
if (this.rememberMe) {
|
|
} else {
|
|
} else {
|
|
@@ -385,10 +385,7 @@ export default {
|
|
};
|
|
};
|
|
localStorage.setItem("user_name", JSON.stringify(obj));
|
|
localStorage.setItem("user_name", JSON.stringify(obj));
|
|
}
|
|
}
|
|
- setToken(res);
|
|
|
|
- if(res.last_update_password_days>=res.sys_recommend_password_update_days){
|
|
|
|
- this.changeEmailTips(res.last_update_password_days)
|
|
|
|
- }else{
|
|
|
|
|
|
+ setToken(res);
|
|
this.$message.success(this.$t("Key442"));
|
|
this.$message.success(this.$t("Key442"));
|
|
setI18nLang(this.language_type).then(() => {
|
|
setI18nLang(this.language_type).then(() => {
|
|
if (
|
|
if (
|
|
@@ -401,7 +398,6 @@ export default {
|
|
this.getChildSysList();
|
|
this.getChildSysList();
|
|
}
|
|
}
|
|
});
|
|
});
|
|
- }
|
|
|
|
})
|
|
})
|
|
.catch((err) => {
|
|
.catch((err) => {
|
|
this.isLogin = false;
|
|
this.isLogin = false;
|