|
@@ -406,28 +406,28 @@ export default {
|
|
let isShare = this.$route.query.temporary_link
|
|
let isShare = this.$route.query.temporary_link
|
|
? decodeURIComponent(this.$route.query.temporary_link)
|
|
? decodeURIComponent(this.$route.query.temporary_link)
|
|
: "";
|
|
: "";
|
|
- if (
|
|
|
|
- res.last_update_password_days >=
|
|
|
|
- res.sys_recommend_password_update_days &&
|
|
|
|
- !isShare
|
|
|
|
- ) {
|
|
|
|
- this.changeEmailTips(res.last_update_password_days);
|
|
|
|
- } else {
|
|
|
|
- this.$message.success(this.$t("Key442"));
|
|
|
|
- setI18nLang(this.language_type).then(() => {
|
|
|
|
- if (isShare) {
|
|
|
|
- location.href = isShare;
|
|
|
|
- } else if (
|
|
|
|
- res.popedom_code_list.indexOf(2000001) > -1 ||
|
|
|
|
- res.user_type == "STUDENT"
|
|
|
|
- ) {
|
|
|
|
- this.$message.warning(this.$t("Key247") + "....");
|
|
|
|
- location.href = `/GCLS-Learn/#/EnterSys`;
|
|
|
|
- } else {
|
|
|
|
- this.getChildSysList();
|
|
|
|
- }
|
|
|
|
- });
|
|
|
|
- }
|
|
|
|
|
|
+ // if (
|
|
|
|
+ // res.last_update_password_days >=
|
|
|
|
+ // res.sys_recommend_password_update_days &&
|
|
|
|
+ // !isShare
|
|
|
|
+ // ) {
|
|
|
|
+ // this.changeEmailTips(res.last_update_password_days);
|
|
|
|
+ // } else {
|
|
|
|
+ this.$message.success(this.$t("Key442"));
|
|
|
|
+ setI18nLang(this.language_type).then(() => {
|
|
|
|
+ if (isShare) {
|
|
|
|
+ location.href = isShare;
|
|
|
|
+ } else if (
|
|
|
|
+ res.popedom_code_list.indexOf(2000001) > -1 ||
|
|
|
|
+ res.user_type == "STUDENT"
|
|
|
|
+ ) {
|
|
|
|
+ this.$message.warning(this.$t("Key247") + "....");
|
|
|
|
+ location.href = `/GCLS-Learn/#/EnterSys`;
|
|
|
|
+ } else {
|
|
|
|
+ this.getChildSysList();
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ // }
|
|
})
|
|
})
|
|
.catch((err) => {
|
|
.catch((err) => {
|
|
this.isLogin = false;
|
|
this.isLogin = false;
|