lsc 1 kuukausi sitten
vanhempi
commit
4e1ec45c6e

+ 1 - 1
dist/index.html

@@ -27,7 +27,7 @@
     html,
     body{
       font-family: '黑体';
-    }</style><link href=./static/css/app.c1132b8dffb25393de4a534884eb1fda.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.b2299056e030e9dd4cb8.js></script><script type=text/javascript src=./static/js/app.cedabd43560ed6781099.js></script></body></html><script>function stopSafari() {
+    }</style><link href=./static/css/app.b97840032ed3009157aa9d60f661cf2b.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.b2299056e030e9dd4cb8.js></script><script type=text/javascript src=./static/js/app.ee00c28ff4adee9e36fd.js></script></body></html><script>function stopSafari() {
     //阻止safari浏览器双击放大功能
     let lastTouchEnd = 0  //更新手指弹起的时间
     document.documentElement.addEventListener("touchstart", function (event) {

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/static/css/app.b97840032ed3009157aa9d60f661cf2b.css


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/static/css/app.b97840032ed3009157aa9d60f661cf2b.css.map


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/static/js/app.ee00c28ff4adee9e36fd.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/static/js/app.ee00c28ff4adee9e36fd.js.map


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/static/js/manifest.3ad1d5771e9b13dbdad2.js.map


+ 32 - 8
src/components/components/cocoFlowDia.vue

@@ -15,7 +15,7 @@
             </div>
            
             <div class="markDialog">
-                <template v-if="listData.length && listData[0].messages.length">
+                <template v-if="listData.length && showListData(listData)">
                     <div v-for="(item,index) in listData" :key="index">
                         <div class="BodyCon" v-if="item.messages.length"  >
                             <div class="BodyConTit">节点{{ index + 1}}</div>
@@ -62,16 +62,40 @@ import MarkdownIt from "markdown-it";
             }
         },
         computed: {
+            showListData(){
+                return function (val) {
+                   let kk = val.map(e=> e.messages).flat()
+                   console.log('kk',kk);
+                   if (kk.length == 0) {
+                    return false
+                   }
+                   return true
+                };
+            },
             MarkdownT() {
                 return function (c) {
+                    
                     let md = new MarkdownIt({
-  html: true, // 允许渲染 HTML
-  linkify: true, // 自动将URL链接转化为可点击链接
-  typographer: true, // 启用排版规则(如替换 `"` 为 “)
-});
-                    return c
-                    ? md.render(c) : "";
-                };
+                        html: true, // 允许渲染 HTML
+                        linkify: true, // 自动将URL链接转化为可点击链接 
+                        typographer: true, // 启用排版规则(如替换 `"` 为 “)
+                    });
+                    const renderedContent = c ? md.render(c) : "";
+
+                    // 使用正则表达式替换链接
+                    const result = renderedContent.replace(/<a href="([^"]+)">([^<]*)<\/a>/g, (match, url, text) => {
+                        // 判断链接是否为图片格式
+                        if (/\.(png|jpg|jpeg|gif|bmp|svg)$/i.test(url)) {
+                            // 返回<img>标签
+                            return `<img src="${url}" alt="${text}" />`;
+                        } else {
+                            // 返回原来的<a>标签
+                            return match;
+                        }
+                    });
+
+                    return result;
+                }
             }
         },
         methods: {

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

@@ -5196,7 +5196,7 @@
                       <div
                         v-for="(s, sIndex) in noWorksS[toolIndex]"
                         :key="sIndex"
-                        class="noWorksName"
+                        class="noWorksName2"
                         @click="teacherWorkSubmit(72, toolIndex, taskCount, s)"
                       >
                         <el-tooltip
@@ -16820,7 +16820,14 @@ export default {
       },
       confirmOpenDig:false,
       confirmOpenDigData:'',
-      diffKey:"1"
+      diffKey:"1",
+      getCourseGroupLoading: false,
+      selectSWorksLoading:false,
+      selectStudentLoading:false,
+      selectSLookLoading:false,
+      getPickLoading:false,
+      selectPzLoading:false,
+      getSplitScreenDataLoading:false,
     };
   },
   watch:{
@@ -16842,11 +16849,11 @@ export default {
     },
     worksStudent: {
       handler(newVal, oldVal) {
-          const sum1 = newVal.reduce((total, subArr) => total + subArr.length, 0);
-          const sum2 = oldVal.reduce((total, subArr) => total + subArr.length, 0);
+          // const sum1 = newVal.reduce((total, subArr) => total + subArr.length, 0);
+          // const sum2 = oldVal.reduce((total, subArr) => total + subArr.length, 0);
           // console.log('worksStudent',sum1,sum2);
           
-          if(sum1 != sum2){
+          if(JSON.stringify(newVal) !=  JSON.stringify(oldVal)){
               this.AIloading = [];
               this.loopLoading = [];
 
@@ -17797,6 +17804,8 @@ export default {
         }
       }
 
+      console.log('6666');
+
       this.navList[i].task[j].tool[k].isTool = !this.navList[i].task[j].tool[k]
         .isTool;
       var a = document.scrollingElement;
@@ -19012,6 +19021,8 @@ export default {
         });
     },
     selectStudent() {
+      if (this.selectStudentLoading) return
+      this.selectStudentLoading = true
       //学生查看自己作业
       let params = {
         uid: this.userid,
@@ -19333,8 +19344,12 @@ export default {
               }
             }
           }
+          this.selectStudentLoading = false
+          
         })
         .catch(err => {
+          this.selectStudentLoading = false
+
           console.error(err);
         });
     },
@@ -19773,6 +19788,8 @@ export default {
       return lang;
     },
     selectSWorks(gindex) {
+      if (this.selectSWorksLoading) return
+      this.selectSWorksLoading = true
       //教师查看全部作业
       let params = {
         cid: this.id,
@@ -20891,8 +20908,12 @@ export default {
               }, 0);
             });
           }
+          this.selectSWorksLoading = false
+
         })
         .catch(err => {
+          this.selectSWorksLoading = false
+
           console.error(err);
         });
     },
@@ -22477,6 +22498,8 @@ export default {
         });
     },
     getCourseGroup(gindex) {
+      if(this.getCourseGroupLoading) return
+      this.getCourseGroupLoading = true
       let params = {
         cid: this.id,
         classid: this.tcid ? this.tcid : "1"
@@ -22526,8 +22549,10 @@ export default {
             this.selectSWorks(gindex);
             this.isGroup = false;
           }
+          this.getCourseGroupLoading = false
         })
         .catch(err => {
+          this.getCourseGroupLoading = false
           // this.$message.error("网络不佳");
           console.error(err);
         });
@@ -22699,6 +22724,8 @@ export default {
       this.selectPz();
     },
     selectPz() {
+      if(this.selectPzLoading) return
+      this.selectPzLoading = true
       let params = {
         cid: this.id,
         s: this.courseType,
@@ -22721,8 +22748,12 @@ export default {
               }
             }
           }
+          this.selectPzLoading = false
+
         })
         .catch(err => {
+          this.selectPzLoading = false
+
           console.error(err);
         });
     },
@@ -22876,6 +22907,8 @@ export default {
         });
     },
     selectSLook() {
+      if(this.selectSLookLoading) return
+      this.selectSLookLoading = true
       let params = {
         cid: this.id
       };
@@ -22909,8 +22942,12 @@ export default {
               this.getCourseDetail(2);
             }
           }
+          this.selectSLookLoading = false
+
         })
         .catch(err => {
+          this.selectSLookLoading = false
+
           console.error(err);
         });
     },
@@ -24256,6 +24293,9 @@ export default {
       );
     },
     teacherWorkSubmit(t, i, index, s) {
+      console.log('t',t);
+      if(t == 72) return
+      
       this.sStudent = s;
       this.toolindex = i;
       this.sTool = t;
@@ -25758,6 +25798,8 @@ export default {
         });
     },
     getPick() {
+      if(this.getPickLoading) return
+      this.getPickLoading = true
       let params = {
         cid: this.id
       };
@@ -25795,8 +25837,10 @@ export default {
               })
               .catch(() => {});
           }
+          this.getPickLoading = false
         })
         .catch(err => {
+          this.getPickLoading = false
           this.$message.error("网络不佳");
           console.error(err);
         });
@@ -25993,6 +26037,8 @@ export default {
     getSplitScreenData() {
       // return;
       // if (this.tType != 1) return;
+      if(this.getSplitScreenDataLoading) return
+      this.getSplitScreenDataLoading = true
       let params = {
         cid: this.id
       };
@@ -26060,8 +26106,12 @@ export default {
                 .catch(() => {});
             }
           }
+          this.getSplitScreenDataLoading = false
+          
         })
         .catch(e => {
+          this.getSplitScreenDataLoading = false
+
           console.log("获取分屏数出错:", e);
         });
     },
@@ -28403,6 +28453,31 @@ export default {
   white-space: nowrap;
 }
 
+.noWorksName2 {
+  background: #fff;
+  color: #0061ff;
+  width: 90px;
+  height: 25px;
+  text-align: center;
+  line-height: 25px;
+  border-radius: 4px;
+  margin: 10px 15px 10px 0;
+  white-space: nowrap;
+  overflow: hidden;
+  padding: 5px;
+  text-overflow: ellipsis;
+  cursor: pointer;
+  border: 1px solid #0061ff;
+}
+
+.noWorksName2 > span {
+  max-width: 100%;
+  display: block;
+  overflow: hidden;
+  text-overflow: ellipsis;
+  white-space: nowrap;
+}
+
 .isWorksName2 {
   width: 100px;
   height: 40px;

+ 78 - 2
src/components/easy3/studyStudent.vue

@@ -3916,7 +3916,7 @@
                       <div
                         v-for="(s, sIndex) in noWorksS[toolIndex]"
                         :key="sIndex"
-                        class="noWorksName"
+                        class="noWorksName2"
                         @click="teacherWorkSubmit(72, toolIndex, taskCount, s)"
                       >
                         <el-tooltip
@@ -13139,7 +13139,14 @@ export default {
       },
       confirmOpenDig:false,
       confirmOpenDigData:'',
-      diffKey:"1"
+      diffKey:"1",
+      getCourseGroupLoading: false,
+      selectSWorksLoading:false,
+      selectStudentLoading:false,
+      selectSLookLoading:false,
+      getPickLoading:false,
+      selectPzLoading:false,
+      getSplitScreenDataLoading:false,
     };
   },
   methods: {
@@ -14609,6 +14616,8 @@ export default {
         });
     },
     selectStudent() {
+      if(this.selectStudentLoading) return
+      this.selectStudentLoading = true
       //学生查看自己作业
       let params = {
         uid: this.userid,
@@ -14931,8 +14940,12 @@ export default {
               }
             }
           }
+          this.selectStudentLoading = false
+
         })
         .catch((err) => {
+          this.selectStudentLoading = false
+
           console.error(err);
         });
     },
@@ -15288,6 +15301,8 @@ export default {
         .catch(() => {});
     },
     selectSWorks(gindex) {
+      if(this.selectSWorksLoading) return
+      this.selectSWorksLoading = true
       //教师查看全部作业
       let params = {
         cid: this.id,
@@ -16387,8 +16402,12 @@ export default {
               }, 0)
             })
           }
+          this.selectSWorksLoading = false
+          
         })
         .catch((err) => {
+          this.selectSWorksLoading = false
+
           console.error(err);
         });
     },
@@ -17883,6 +17902,8 @@ export default {
         });
     },
     getCourseGroup(gindex) {
+      if(this.getCourseGroupLoading) return
+      this.getCourseGroupLoading = true
       let params = {
         cid: this.id,
         classid: this.tcid ? this.tcid : "1",
@@ -17932,8 +17953,12 @@ export default {
             this.selectSWorks(gindex);
             this.isGroup = false;
           }
+          this.getCourseGroupLoading = false
+
         })
         .catch((err) => {
+          this.getCourseGroupLoading = false
+
           // this.$message.error("网络不佳");
           console.error(err);
         });
@@ -18103,6 +18128,8 @@ export default {
       this.selectPz();
     },
     selectPz() {
+      if(this.selectPzLoading) return
+      this.selectPzLoading = true
       let params = {
         cid: this.id,
         s: this.courseType,
@@ -18125,8 +18152,12 @@ export default {
               }
             }
           }
+          this.selectPzLoading = false
+
         })
         .catch((err) => {
+          this.selectPzLoading = false
+
           console.error(err);
         });
     },
@@ -18280,6 +18311,8 @@ export default {
         });
     },
     selectSLook() {
+      if(this.selectSLookLoading) return
+      this.selectSLookLoading = true
       let params = {
         cid: this.id,
       };
@@ -18312,8 +18345,12 @@ export default {
               this.getCourseDetail(2);
             }
           }
+          this.selectSLookLoading = false
+
         })
         .catch((err) => {
+          this.selectSLookLoading = false
+
           console.error(err);
         });
     },
@@ -19629,6 +19666,8 @@ export default {
 			this.insertMemorandum(`点击工作区<span class="variable">工具${index+1}:${this.toolsList[t]}</span>`)
     },
     teacherWorkSubmit(t, i, index, s) {
+      console.log('t',t);
+      if(t == 72) return
       this.sStudent = s;
       this.toolindex = i;
       this.sTool = t;
@@ -21102,6 +21141,9 @@ export default {
         });
     },
     getPick() {
+      if(this.getPickLoading) return
+      this.getPickLoading = true
+
       let params = {
         cid: this.id,
       };
@@ -21139,8 +21181,12 @@ export default {
               })
               .catch(() => {});
           }
+          this.getPickLoading = false
+
         })
         .catch((err) => {
+          this.getPickLoading = false
+
           this.$message.error("网络不佳");
           console.error(err);
         });
@@ -21327,6 +21373,8 @@ export default {
     getSplitScreenData() {
       // return;
       // if (this.tType != 1) return;
+      if(this.getSplitScreenDataLoading) return
+      this.getSplitScreenDataLoading = true
       let params = {
         cid: this.id
       };
@@ -21393,8 +21441,12 @@ export default {
                 .catch(() => {});
             }
           }
+          this.getSplitScreenDataLoading = false
+
         })
         .catch(e => {
+          this.getSplitScreenDataLoading = false
+
           console.log("获取分屏数出错:", e);
         });
     },
@@ -23688,6 +23740,30 @@ export default {
   text-overflow: ellipsis;
   white-space: nowrap;
 }
+.noWorksName2 {
+  background: #fff;
+  color: #0061ff;
+  width: 90px;
+  height: 25px;
+  text-align: center;
+  line-height: 25px;
+  border-radius: 4px;
+  margin: 10px 15px 10px 0;
+  white-space: nowrap;
+  overflow: hidden;
+  padding: 5px;
+  text-overflow: ellipsis;
+  cursor: pointer;
+  border: 1px solid #0061ff;
+}
+
+.noWorksName2 > span {
+  max-width: 100%;
+  display: block;
+  overflow: hidden;
+  text-overflow: ellipsis;
+  white-space: nowrap;
+}
 
 .isWorksName2 {
   width: 100px;

+ 1 - 1
src/components/index.vue

@@ -243,7 +243,7 @@ export default {
 
   data() {
     return {
-      gotype:(window.topU && window.topU.gotype) ?  window.topU.gotype : '',
+      gotype: sessionStorage.getItem('gotype'),
       zoneList: [],
       zoneClass: [],
       page: 1,

+ 76 - 1
src/components/studyStudent.vue

@@ -3867,7 +3867,7 @@
                       <div
                         v-for="(s, sIndex) in noWorksS[toolIndex]"
                         :key="sIndex"
-                        class="noWorksName"
+                        class="noWorksName2"
                         @click="teacherWorkSubmit(72, toolIndex, taskCount, s)"
                       >
                         <el-tooltip
@@ -13067,6 +13067,13 @@ export default {
       confirmOpenDigData:'',
       canUseCourseId: ['bfbe1913-2f87-11ef-bf55-005056b86db5','3a64b199-d2eb-11ef-a2d1-005056b86db5', 'bb0b1995-0207-11ef-b534-005056b86db5', 'f77921c8-d2f1-11ef-a2d1-005056b86db5'],
       diffKey:"1",
+      getCourseGroupLoading: false,
+      selectSWorksLoading:false,
+      selectStudentLoading:false,
+      selectSLookLoading:false,
+      getPickLoading:false,
+      selectPzLoading:false,
+      getSplitScreenDataLoading:false,
     };
   },
   methods: {
@@ -14531,6 +14538,8 @@ export default {
         });
     },
     selectStudent() {
+      if(this.selectStudentLoading) return
+      this.selectStudentLoading = true
       //学生查看自己作业
       let params = {
         uid: this.userid,
@@ -14853,8 +14862,12 @@ export default {
               }
             }
           }
+          this.selectStudentLoading = false
+
         })
         .catch((err) => {
+          this.selectStudentLoading = false
+
           console.error(err);
         });
     },
@@ -15213,6 +15226,8 @@ export default {
         .catch(() => {});
     },
     selectSWorks(gindex) {
+      if(this.selectSWorksLoading) return
+      this.selectSWorksLoading = true
       //教师查看全部作业
       let params = {
         cid: this.id,
@@ -16313,8 +16328,12 @@ export default {
               }, 0)
             })
           }
+          this.selectSWorksLoading = false
+
         })
         .catch((err) => {
+          this.selectSWorksLoading = false
+
           console.error(err);
         });
     },
@@ -17816,6 +17835,8 @@ export default {
         });
     },
     getCourseGroup(gindex) {
+      if(this.getCourseGroupLoading) return
+      this.getCourseGroupLoading = true
       let params = {
         cid: this.id,
         classid: this.tcid ? this.tcid : "1",
@@ -17865,8 +17886,12 @@ export default {
             this.selectSWorks(gindex);
             this.isGroup = false;
           }
+          this.getCourseGroupLoading = false
+
         })
         .catch((err) => {
+          this.getCourseGroupLoading = false
+
           // this.$message.error("网络不佳");
           console.error(err);
         });
@@ -18037,6 +18062,8 @@ export default {
       this.selectPz();
     },
     selectPz() {
+      if(this.selectPzLoading) return
+      this.selectPzLoading = true
       let params = {
         cid: this.id,
         s: this.courseType,
@@ -18059,8 +18086,12 @@ export default {
               }
             }
           }
+          this.selectPzLoading = false
+
         })
         .catch((err) => {
+          this.selectPzLoading = false
+
           console.error(err);
         });
     },
@@ -18214,6 +18245,8 @@ export default {
         });
     },
     selectSLook() {
+      if(this.selectSLookLoading) return
+      this.selectSLookLoading = true
       let params = {
         cid: this.id,
       };
@@ -18246,8 +18279,12 @@ export default {
               this.getCourseDetail(2);
             }
           }
+          this.selectSLookLoading = false
+
         })
         .catch((err) => {
+          this.selectSLookLoading = false
+
           console.error(err);
         });
     },
@@ -19562,6 +19599,8 @@ export default {
 			this.insertMemorandum(`点击工作区<span class="variable">工具${index+1}:${this.toolsList[t]}</span>`)
     },
     teacherWorkSubmit(t, i, index, s) {
+      console.log('t',t);
+      if(t == 72) return
       this.sStudent = s;
       this.toolindex = i;
       this.sTool = t;
@@ -21030,6 +21069,8 @@ export default {
         });
     },
     getPick() {
+      if(this.getPickLoading) return
+      this.getPickLoading = true
       let params = {
         cid: this.id,
       };
@@ -21067,8 +21108,12 @@ export default {
               })
               .catch(() => {});
           }
+          this.getPickLoading = false
+
         })
         .catch((err) => {
+          this.getPickLoading = false
+
           this.$message.error("网络不佳");
           console.error(err);
         });
@@ -21255,6 +21300,8 @@ export default {
     getSplitScreenData() {
       // return;
       // if (this.tType != 1) return;
+      if(this.getSplitScreenDataLoading) return
+      this.getSplitScreenDataLoading = true
       let params = {
         cid: this.id
       };
@@ -21321,8 +21368,12 @@ export default {
                 .catch(() => {});
             }
           }
+          this.getSplitScreenDataLoading = false
+
         })
         .catch(e => {
+          this.getSplitScreenDataLoading = false
+
           console.log("获取分屏数出错:", e);
         });
     },
@@ -23611,6 +23662,30 @@ export default {
   text-overflow: ellipsis;
   white-space: nowrap;
 }
+.noWorksName2 {
+  background: #fff;
+  color: #0061ff;
+  width: 90px;
+  height: 25px;
+  text-align: center;
+  line-height: 25px;
+  border-radius: 4px;
+  margin: 10px 15px 10px 0;
+  white-space: nowrap;
+  overflow: hidden;
+  padding: 5px;
+  text-overflow: ellipsis;
+  cursor: pointer;
+  border: 1px solid #0061ff;
+}
+
+.noWorksName2 > span {
+  max-width: 100%;
+  display: block;
+  overflow: hidden;
+  text-overflow: ellipsis;
+  white-space: nowrap;
+}
 
 .isWorksName2 {
   width: 100px;

+ 81 - 5
src/components/studySutdentClass/studyStudent.vue

@@ -5192,7 +5192,7 @@
                       <div
                         v-for="(s, sIndex) in noWorksS[toolIndex]"
                         :key="sIndex"
-                        class="noWorksName"
+                        class="noWorksName2"
                         @click="teacherWorkSubmit(72, toolIndex, taskCount, s)"
                       >
                         <el-tooltip
@@ -16399,7 +16399,14 @@ export default {
       languageSetting: 0, //0中文 1繁体 2英文
       toolListS: [],
       commentDetailCopy: "",
-      diffKey:"1"
+      diffKey:"1",
+      getCourseGroupLoading: false,
+      selectSWorksLoading:false,
+      selectStudentLoading:false,
+      selectSLookLoading:false,
+      getPickLoading:false,
+      selectPzLoading:false,
+      getSplitScreenDataLoading:false,
     };
   },
   watch:{
@@ -16421,11 +16428,11 @@ export default {
     },
     worksStudent: {
       handler(newVal, oldVal) {
-          const sum1 = newVal.reduce((total, subArr) => total + subArr.length, 0);
-          const sum2 = oldVal.reduce((total, subArr) => total + subArr.length, 0);
+          // const sum1 = newVal.reduce((total, subArr) => total + subArr.length, 0);
+          // const sum2 = oldVal.reduce((total, subArr) => total + subArr.length, 0);
           // console.log('worksStudent',sum1,sum2);
           
-          if(sum1 != sum2){
+          if(JSON.stringify(newVal) !=  JSON.stringify(oldVal)){
               this.AIloading = [];
               this.loopLoading = [];
 
@@ -18557,6 +18564,8 @@ export default {
         });
     },
     selectStudent() {
+      if(this.selectStudentLoading) return
+      this.selectStudentLoading = true
       //学生查看自己作业
       let params = {
         uid: this.userid,
@@ -18879,8 +18888,12 @@ export default {
               }
             }
           }
+          this.selectStudentLoading = false
+
         })
         .catch((err) => {
+          this.selectStudentLoading = false
+
           console.error(err);
         });
     },
@@ -19250,6 +19263,8 @@ export default {
       return lang;
     },
     selectSWorks(gindex) {
+      if(this.selectSWorksLoading) return
+      this.selectSWorksLoading = true
       //教师查看全部作业
       let params = {
         cid: this.id,
@@ -20361,8 +20376,12 @@ export default {
               }, 0);
             });
           }
+          this.selectSWorksLoading = false
+
         })
         .catch(err => {
+          this.selectSWorksLoading = false
+
           console.error(err);
         });
     },
@@ -21934,6 +21953,8 @@ export default {
         });
     },
     getCourseGroup(gindex) {
+      if(this.getCourseGroupLoading) return
+      this.getCourseGroupLoading = true
       let params = {
         cid: this.id,
         classid: this.tcid ? this.tcid : "1",
@@ -21983,8 +22004,12 @@ export default {
             this.selectSWorks(gindex);
             this.isGroup = false;
           }
+          this.getCourseGroupLoading = false
+
         })
         .catch((err) => {
+          this.getCourseGroupLoading = false
+
           // this.$message.error("网络不佳");
           console.error(err);
         });
@@ -22154,6 +22179,8 @@ export default {
       this.selectPz();
     },
     selectPz() {
+      if(this.selectPzLoading) return
+      this.selectPzLoading = true
       let params = {
         cid: this.id,
         s: this.courseType,
@@ -22176,8 +22203,12 @@ export default {
               }
             }
           }
+          this.selectPzLoading = false
+
         })
         .catch((err) => {
+          this.selectPzLoading = false
+
           console.error(err);
         });
     },
@@ -22331,6 +22362,8 @@ export default {
         });
     },
     selectSLook() {
+      if(this.selectSLookLoading) return
+      this.selectSLookLoading = true
       let params = {
         cid: this.id,
       };
@@ -22363,8 +22396,12 @@ export default {
               this.getCourseDetail(2);
             }
           }
+          this.selectSLookLoading = false
+
         })
         .catch((err) => {
+          this.selectSLookLoading = false
+
           console.error(err);
         });
     },
@@ -23679,6 +23716,8 @@ export default {
 			this.insertMemorandum(`点击工作区<span class="variable">工具${index+1}:${this.toolsList[t]}</span>`)
     },
     teacherWorkSubmit(t, i, index, s) {
+      console.log('t',t);
+      if(t == 72) return
       this.sStudent = s;
       this.toolindex = i;
       this.sTool = t;
@@ -25154,6 +25193,9 @@ export default {
         });
     },
     getPick() {
+      if(this.getPickLoading) return
+      this.getPickLoading = true
+
       let params = {
         cid: this.id,
       };
@@ -25191,8 +25233,12 @@ export default {
               })
               .catch(() => {});
           }
+          this.getPickLoading = false
+
         })
         .catch((err) => {
+          this.getPickLoading = false
+
           this.$message.error("网络不佳");
           console.error(err);
         });
@@ -25379,6 +25425,8 @@ export default {
     getSplitScreenData() {
       // return;
       // if (this.tType != 1) return;
+      if(this.getSplitScreenDataLoading) return
+      this.getSplitScreenDataLoading = true
       let params = {
         cid: this.id
       };
@@ -25445,8 +25493,12 @@ export default {
                 .catch(() => {});
             }
           }
+          this.getSplitScreenDataLoading = false
+
         })
         .catch(e => {
+          this.getSplitScreenDataLoading = false
+
           console.log("获取分屏数出错:", e);
         });
     },
@@ -27723,6 +27775,30 @@ export default {
   text-overflow: ellipsis;
   white-space: nowrap;
 }
+.noWorksName2 {
+  background: #fff;
+  color: #0061ff;
+  width: 90px;
+  height: 25px;
+  text-align: center;
+  line-height: 25px;
+  border-radius: 4px;
+  margin: 10px 15px 10px 0;
+  white-space: nowrap;
+  overflow: hidden;
+  padding: 5px;
+  text-overflow: ellipsis;
+  cursor: pointer;
+  border: 1px solid #0061ff;
+}
+
+.noWorksName2 > span {
+  max-width: 100%;
+  display: block;
+  overflow: hidden;
+  text-overflow: ellipsis;
+  white-space: nowrap;
+}
 
 .isWorksName2 {
   width: 100px;

Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä