SanHQin 1 年之前
父节点
当前提交
723711bcd0
共有 2 个文件被更改,包括 5 次插入4 次删除
  1. 2 1
      src/views/pocAiClassroom/chatArea2.vue
  2. 3 3
      src/views/pocAiClassroom/pocClass.vue

+ 2 - 1
src/views/pocAiClassroom/chatArea2.vue

@@ -16,13 +16,14 @@ export default {
 			userId: this.$store.state.user.userinfo.userid,
       org: this.$store.state.user.userinfo.org,
       oid: this.$store.state.user.userinfo.organizeid,
-			src:"https://beta.cloud.cocorobo.cn/aigpt/#/js?muti_agent_id=90bec943-65cf-11ef-9db4-12e77c4cb76b&isPbl=false"
+			src:`https://beta.cloud.cocorobo.cn/aigpt/#/js?muti_agent_id=90bec943-65cf-11ef-9db4-12e77c4cb76b&isPbl=false`
     };
   },
   methods: {
 
   },
   mounted() {
+		this.src = `https://beta.cloud.cocorobo.cn/aigpt/#/js?muti_agent_id=90bec943-65cf-11ef-9db4-12e77c4cb76b&isPbl=false&session_id=${this.userId}-chat`
     console.log("聊聊天")
   }
 };

+ 3 - 3
src/views/pocAiClassroom/pocClass.vue

@@ -17,7 +17,7 @@ export default {
       org: this.$store.state.user.userinfo.org,
       oid: this.$store.state.user.userinfo.organizeid,
 			type:this.$route.query.type,
-			src:"https://beta.cloud.cocorobo.cn/aigpt/#/js?active_role=3"
+			src:"https://beta.cloud.cocorobo.cn/aigpt/#/js?muti_agent_id=798c3511-6b32-11ef-8ce0-12e77c4cb76b&isPbl=false&session_id=merenduihua444"
     };
   },
   methods: {
@@ -29,12 +29,12 @@ export default {
     if (this.type == 1) {
 			// 2.1
 			console.log("2.1课程")
-      this.src = `https://beta.cloud.cocorobo.cn/aigpt/#/js?muti_agent_id=798c3511-6b32-11ef-8ce0-12e77c4cb76b&isPbl=false`;
+      this.src = `https://beta.cloud.cocorobo.cn/aigpt/#/js?muti_agent_id=798c3511-6b32-11ef-8ce0-12e77c4cb76b&isPbl=false&session_id=${this.userId}-21`;
 			console.log("5")
     } else if (this.type == 2) {
 			//2.2
 			console.log("2.2课程")
-      this.src = `https://beta.cloud.cocorobo.cn/aigpt/#/js?muti_agent_id=a9883cc4-6c3d-11ef-8ce0-12e77c4cb76b&isPbl=false`;
+      this.src = `https://beta.cloud.cocorobo.cn/aigpt/#/js?muti_agent_id=a9883cc4-6c3d-11ef-8ce0-12e77c4cb76b&isPbl=false&session_id=${this.userId}-22`;
 			console.log(3)
     }
 		window.localStorage.setItem("showDialog",JSON.stringify({type:1,time:new Date().getTime()}))