lsc 2 năm trước cách đây
mục cha
commit
553019dd3d
1 tập tin đã thay đổi với 8 bổ sung7 xóa
  1. 8 7
      src/components/pages/addCourse.vue

+ 8 - 7
src/components/pages/addCourse.vue

@@ -2839,8 +2839,8 @@
         <editor-bar v-model="wordJson.text"></editor-bar>
       </el-form>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisibleWord = false">取 消</el-button>
-        <el-button type="primary" @click="addWordJson">确定</el-button>
+        <!-- <el-button @click="dialogVisibleWord = false">取 消</el-button> -->
+        <el-button type="primary" @click="addWordJson">上传模板</el-button>
       </span>
     </el-dialog>
     <el-dialog title="添加班级" :visible.sync="dialogVisibleMoreUpload" :append-to-body="true" width="30%"
@@ -6862,9 +6862,9 @@ export default {
       this.unitJson[this.unitIndex].chapterInfo[0].taskJson[
         this.taskCount
       ].toolChoose[this.toolIndex].tableJson = this.tableJson;
-      this.tableJson = [{ text: "" }];
-      this.dialogVisibleTable = false;
-
+      // this.tableJson = [{ text: "" }];
+      // this.dialogVisibleTable = false;
+      this.$message.success('上传成功')
       if (
         this.unitJson[this.unitIndex].chapterInfo[0].taskJson[this.taskCount]
           .toolChoose[this.toolIndex].tool != 48
@@ -6876,8 +6876,9 @@ export default {
       this.unitJson[this.unitIndex].chapterInfo[0].taskJson[
         this.taskCount
       ].toolChoose[this.toolIndex].wordJson = this.wordJson;
-      this.wordJson = [{ text: "" }];
-      this.dialogVisibleWord = false;
+      // this.wordJson = [{ text: "" }];
+      // this.dialogVisibleWord = false;
+      this.$message.success('上传成功')
 
       if (
         this.unitJson[this.unitIndex].chapterInfo[0].taskJson[this.taskCount]