lsc hace 3 años
padre
commit
2a87eb5f4a
Se han modificado 2 ficheros con 196 adiciones y 476 borrados
  1. 12 0
      src/components/pages/addCourse.vue
  2. 184 476
      src/components/pages/addCourseGM.vue

+ 12 - 0
src/components/pages/addCourse.vue

@@ -4267,6 +4267,12 @@ export default {
         this.taskCount
         this.taskCount
       ].toolChoose[this.toolIndex].answerQ = this.answerQ;
       ].toolChoose[this.toolIndex].answerQ = this.answerQ;
       this.dialogVisible8 = false;
       this.dialogVisible8 = false;
+
+      if (this.unitJson[this.unitIndex].chapterInfo[0].taskJson[
+        this.taskCount
+      ].toolChoose[this.toolIndex].tool != 15) {
+        this.addTools(15, this.taskCount, this.toolIndex)
+      }
     },
     },
     addMp3Answer() {
     addMp3Answer() {
       if (this.answerQ == "") {
       if (this.answerQ == "") {
@@ -4294,6 +4300,12 @@ export default {
         this.taskCount
         this.taskCount
       ].toolChoose[this.toolIndex].rateJson = this.rateJson;
       ].toolChoose[this.toolIndex].rateJson = this.rateJson;
       this.dialogVisibleRate = false;
       this.dialogVisibleRate = false;
+
+      if (this.unitJson[this.unitIndex].chapterInfo[0].taskJson[
+        this.taskCount
+      ].toolChoose[this.toolIndex].tool != 40) {
+        this.addTools(40, this.taskCount, this.toolIndex)
+      }
     },
     },
     addSelectAnswer() {
     addSelectAnswer() {
       if (this.selectJson.url == "") {
       if (this.selectJson.url == "") {

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 184 - 476
src/components/pages/addCourseGM.vue


Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio