lsc 2 years ago
parent
commit
2a87eb5f4a
2 changed files with 196 additions and 476 deletions
  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
       ].toolChoose[this.toolIndex].answerQ = this.answerQ;
       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() {
       if (this.answerQ == "") {
@@ -4294,6 +4300,12 @@ export default {
         this.taskCount
       ].toolChoose[this.toolIndex].rateJson = this.rateJson;
       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() {
       if (this.selectJson.url == "") {

File diff suppressed because it is too large
+ 184 - 476
src/components/pages/addCourseGM.vue


Some files were not shown because too many files changed in this diff