|
@@ -382,6 +382,13 @@ export default {
|
|
user_code = userInfor.user_code;
|
|
user_code = userInfor.user_code;
|
|
user_type = userInfor.user_type;
|
|
user_type = userInfor.user_type;
|
|
session_id = userInfor.session_id;
|
|
session_id = userInfor.session_id;
|
|
|
|
+ if (user_type === "APP") {
|
|
|
|
+ this.userMessage = null;
|
|
|
|
+ this.isPc = true;
|
|
|
|
+ this.LoginOrRegistration = "login";
|
|
|
|
+ removeToken();
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
let MethodName = "login_control-Is_Effective_User";
|
|
let MethodName = "login_control-Is_Effective_User";
|
|
getAcsCode(MethodName, {
|
|
getAcsCode(MethodName, {
|
|
UserCode: user_code,
|
|
UserCode: user_code,
|
|
@@ -400,7 +407,8 @@ export default {
|
|
location.href = `/GCLS-LC/#/EnterSys`;
|
|
location.href = `/GCLS-LC/#/EnterSys`;
|
|
} else {
|
|
} else {
|
|
if (
|
|
if (
|
|
- userInfor.popedom_code_list.indexOf(2000001) > -1 ||
|
|
|
|
|
|
+ (userInfor.popedom_code_list &&
|
|
|
|
+ userInfor.popedom_code_list.indexOf(2000001) > -1) ||
|
|
userInfor.user_type == "STUDENT"
|
|
userInfor.user_type == "STUDENT"
|
|
) {
|
|
) {
|
|
this.isPc = false;
|
|
this.isPc = false;
|
|
@@ -561,7 +569,8 @@ export default {
|
|
location.href = localStorage.getItem("testLink");
|
|
location.href = localStorage.getItem("testLink");
|
|
localStorage.removeItem("testLink");
|
|
localStorage.removeItem("testLink");
|
|
} else if (
|
|
} else if (
|
|
- res.popedom_code_list.indexOf(2000001) > -1 ||
|
|
|
|
|
|
+ (res.popedom_code_list &&
|
|
|
|
+ res.popedom_code_list.indexOf(2000001) > -1) ||
|
|
res.user_type == "STUDENT"
|
|
res.user_type == "STUDENT"
|
|
) {
|
|
) {
|
|
this.$message.warning(this.$t("Key247") + "....");
|
|
this.$message.warning(this.$t("Key247") + "....");
|