SanHQin 8 ay önce
ebeveyn
işleme
9991823404

+ 1 - 1
src/components/classRoomHelper/component/dialogArea.vue

@@ -882,7 +882,7 @@ export default {
         this.ajax
           .post("https://gpt4.cocorobo.cn/get_agent_park_chat", params)
           .then(res => {
-            let _data = JSON.parse(res.data.FunctionResponse);
+            let _data = JSON.parse(res.data.FunctionResponse).response;
             if (_data.length > 0) {
               let _chatList = [];
               for (let i = 0; i < _data.length; i++) {

+ 8 - 1
src/components/classRoomHelper/component/searchArea.vue

@@ -2565,7 +2565,7 @@ ${_atList
         this.ajax
           .post("https://gpt4.cocorobo.cn/get_agent_park_chat", params)
           .then(res => {
-            let _data = JSON.parse(res.data.FunctionResponse);
+            let _data = JSON.parse(res.data.FunctionResponse).response;
             if (_data.length > 0) {
               let _chatList = [];
               for (let i = 0; i < _data.length; i++) {
@@ -2623,6 +2623,13 @@ ${_atList
         this.chatList.find(i => i.uid == _uuid2).loading = false;
 				return;
 			}
+
+			if(_uuid2 && !this.$parent.getWangLoading){
+				let _index = this.chatList.findIndex(i=>i.uid==_uuid2)
+				if(_index>-1){
+					this.chatList.splice(_index,1)
+				}
+			}
       let _uuid = uuidv4();
 
       let _msg = `

+ 3 - 1
src/components/classRoomHelper/index.vue

@@ -696,7 +696,9 @@ ${_textData}
           })
           .catch(e => {
             this.showTipsLoading = false;
-            this.$message.error("获取课堂小贴士失败");
+						console.log("获取课堂小贴士失败")
+						// this.getTipsListTime(1000)
+            // this.$message.error("获取课堂小贴士失败");
             console.log(e);
           });
       });

+ 8 - 6
src/components/components/choseWorksDetailDialog.vue

@@ -759,12 +759,14 @@ export default {
         this.noWorksStudent = JSON.parse(
           JSON.stringify(this.noWorksSData[this.toolIndex])
         );
-        let _tempData = this.chapInfoListData[this.courseType].chapterInfo[0]
-          .taskJson[this.taskCount].toolChoose[this.toolIndex];
-        this.testData = _tempData ? _tempData : null;
-        this.testJson = this.testData.testJson
-          ? this.testData.testJson.testJson
-          : null;
+        if(this.toolType===45){
+          let _tempData = this.chapInfoListData[this.courseType].chapterInfo[0]
+            .taskJson[this.taskCount].toolChoose[this.toolIndex];
+          this.testData = _tempData ? _tempData : null;
+          this.testJson = this.testData.testJson
+            ? this.testData.testJson.testJson
+            : null;
+        }
       }
     },
     close() {

+ 5 - 7
src/components/easy2/studyStudent.vue

@@ -24502,16 +24502,16 @@ export default {
     setClassRoomHelperWidth(width) {
       this.classRoomHelperWidth = width;
     },
-    openChoseWorksDetailDialog(tooC, toolIndex, taskCount) {
+    openChoseWorksDetailDialog(tooC, toolIndex, taskCount,tooc) {
       this.$refs.choseWorksDetailDialogRef.open({
-				toolType:45,
+				toolType:tooc,
         tType: this.tType,
         toolIndex: toolIndex
       });
       this.changeSplitScreenBehavior({
         code: 1,
         form: {
-					toolType:45,
+					toolType:tooc,
           toolIndex: toolIndex,
           courseType: this.courseType,
           taskCount: this.taskCount,
@@ -24543,7 +24543,7 @@ export default {
         toolIndex: toolIndex
       });
     },
-		async splitScreenBehavior(type = 0) {
+    async splitScreenBehavior(type = 0) {
       // return;
       if (this.splitScreenData.loading)
         return this.$message.info("操作过快,请稍等");
@@ -24637,7 +24637,7 @@ export default {
           console.log("获取分屏数出错:", e);
         });
     },
-		doSplitScreenBehavior() {
+    doSplitScreenBehavior() {
       if (
         this.splitScreenData.isOpen &&
         this.splitScreenData.uid != this.splitScreenData.myUid
@@ -24687,7 +24687,6 @@ export default {
       }
     },
     updateSplitScreenData(empty = 0) {
-      // return
       return new Promise(resolve => {
 				if(this.userid!==this.courseDetail.userid){
 					if(!this.courseDetail.userid){
@@ -24727,7 +24726,6 @@ export default {
               resoleve(0);
             });
         } else if (empty == 2 && this.tType == 1) {
-					console.log("清空清空清空清空")
           let params = [
             {
               cid: this.id,