Browse Source

修改学生刷新识别码登录问题,添加荔园专属跳转传参

11wqe1 10 hours ago
parent
commit
d12c173313
2 changed files with 9 additions and 5 deletions
  1. 7 4
      src/components/topPage.vue
  2. 2 1
      src/views/HomeView.vue

+ 7 - 4
src/components/topPage.vue

@@ -494,14 +494,17 @@ import { myMixin } from "@/mixins/mixin.js"
                 let _url = url + queryString
                 if(val.toolId == 'study' && this.roleUser.type == 2){
                     _url = _url.replace(/([?&])classId=([^&]*)/, '$1cid=$2');
-                }else if (val.toolId == "AIPopCourse" || val.toolId == "artintellCou") {
-                    // 为了隐藏侧边栏与顶部 
+                }else if (val.toolId == "AIPopCourse") {
+                    // 为了隐藏ai6侧边栏与顶部 
                     _url = _url +'&gotype=1'
+                }else if (val.toolId == "artintellCou") {
+                    // 笔架山ai6专属样式
+                    _url = _url +'&gotype=bjs'
                 }else if (val.toolId == "classroomOb") {
-                    // 为了隐藏侧边栏与顶部 
+                    // 新版课堂观察
                     _url = url + queryString +'&showIntroduceType=1'
                 } else if (val.toolId == "crossstysys") {
-                    // 为了隐藏侧边栏与顶部 
+                    // 协同建构,跨学科学习系统版本
                     _url = url + queryString +'&ly=1&person=liyuan'
                 }
                 console.log('_url',_url);

+ 2 - 1
src/views/HomeView.vue

@@ -298,7 +298,7 @@ export default {
 			clearifa: "",
 			msgNum: 0,
 			cocoNoteType: this.$route.query.type,
-			courseId: this.$route.query.courseid,
+			courseId: this.$route.query["courseid"],
 			// 荔园集团下的学校
 			mergedList: [
 				"3823a6a5-1b6e-11f0-a66a-005056924926",
@@ -883,6 +883,7 @@ export default {
 			
 			return
 		}else if (this.courseId) {
+			console.log('ok了');
 			// 随机码登录跳转
 			this.openApp2({
 				stateL: true,