| 
					
				 | 
			
			
				@@ -139,6 +139,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <script> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 //这里可以导入其它文件(比如:组件,工具js,第三方插件js,json文件,图片文件等等) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 //例如:import 《组件名称》from ‘《组件路径》'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import Cookies from "js-cookie"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import Login from "@/components/login/login"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import Registration from "@/components/login/registration"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import LoginNav2 from "@/components/login/LoginNav2"; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -394,18 +395,25 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             removeToken(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             this.userMessage = userInfor; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if ( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              userInfor.popedom_code_list.indexOf(2000001) > -1 || 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              userInfor.user_type == "STUDENT" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            ) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              this.isPc = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            console.log(Cookies.get("GCLSCode")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (Cookies.get("GCLSCode")) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               this.$message.warning(this.$t("Key247") + "...."); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              location.href = `/GCLS-Learn/#/EnterSys`; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              location.href = `/GCLS-LC/#/EnterSys`; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              this.isPc = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              this.LoginOrRegistration = ""; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              this.getChildSysList(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              if ( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                userInfor.popedom_code_list.indexOf(2000001) > -1 || 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                userInfor.user_type == "STUDENT" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              ) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.isPc = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.$message.warning(this.$t("Key247") + "...."); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                location.href = `/GCLS-Learn/#/EnterSys`; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.isPc = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.LoginOrRegistration = ""; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.getChildSysList(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             this.getLangList(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -434,14 +442,15 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       var bIsWM = sUserAgent.match(/windows mobile/i) == "windows mobile"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       if ( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        bIsIpad || 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        bIsIphoneOs || 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        bIsMidp || 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        bIsUc7 || 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        bIsUc || 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        bIsAndroid || 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        bIsCE || 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        bIsWM 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        (bIsIpad || 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          bIsIphoneOs || 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          bIsMidp || 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          bIsUc7 || 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          bIsUc || 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          bIsAndroid || 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          bIsCE || 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          bIsWM) && 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        !Cookies.get("GCLSCode") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       ) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         location.href = "/GCLS-Mobile/#/"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } else { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -463,7 +472,17 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         getContent(MethodName, user_code, user_type, session_id, {}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           .then((res) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (res.child_sys_list && res.child_sys_list.length > 0) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              this.projectList = res.child_sys_list; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              // this.projectList = res.child_sys_list; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              if (Cookies.get("GCLSCode")) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                _this.projectList = []; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                res.child_sys_list.forEach((item) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  if (item.key === "GCLS-LC" || item.key === "GCLS-Personal") { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    _this.projectList.push(item); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                _this.projectList = res.child_sys_list; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               // this.$message.warning("您没有任何权限,请联系您所在机构的管理员"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               this.$message.warning(this.$t("Key652")); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -529,20 +548,26 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             : ""; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           this.$message.success(this.$t("Key442")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           setI18nLang(this.language_type).then(() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (isShare) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              location.href = isShare; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } else if (localStorage.getItem("testLink")) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              location.href = localStorage.getItem("testLink"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              localStorage.removeItem("testLink"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } else if ( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              res.popedom_code_list.indexOf(2000001) > -1 || 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              res.user_type == "STUDENT" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            ) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            console.log(Cookies.get("GCLSCode")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (Cookies.get("GCLSCode")) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               this.$message.warning(this.$t("Key247") + "...."); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              location.href = `/GCLS-Learn/#/EnterSys`; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              location.href = `/GCLS-LC/#/EnterSys`; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              this.LoginOrRegistration = ""; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              this.getChildSysList(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              if (isShare) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                location.href = isShare; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              } else if (localStorage.getItem("testLink")) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                location.href = localStorage.getItem("testLink"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                localStorage.removeItem("testLink"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              } 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.LoginOrRegistration = ""; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.getChildSysList(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }) 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -642,11 +667,21 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // this.code = this.$route.query.code; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     if (this.code) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.getLoginClever(this.code); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      Cookies.set("GCLSCode", this.code); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      Cookies.remove("GCLSCode"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.getinstitutionList(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   //生命周期 - 挂载完成(可以访问DOM元素) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   mounted() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    this.code = window.location.search.split("?")[1]?.split("=")[1]; // 获取识别码 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    // this.code = this.$route.query.code; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    if (this.code) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      Cookies.set("GCLSCode", this.code); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      Cookies.remove("GCLSCode"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.browserRedirect(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   //生命周期-创建之前 
			 |