Forráskód Böngészése

修改ai应用作业老师不能帮忙提交

11wqe1 1 hónapja
szülő
commit
7fc94d3e79

+ 29 - 1
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
@@ -24291,6 +24291,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;
@@ -28448,6 +28451,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;

+ 27 - 1
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
@@ -19666,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;
@@ -23738,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;

+ 27 - 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
@@ -19599,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;
@@ -23660,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;

+ 27 - 1
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
@@ -23716,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;
@@ -27773,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;