lsc 1 năm trước cách đây
mục cha
commit
2fa21500c9

+ 8 - 0
src/components/easy2/studyStudent.vue

@@ -10201,6 +10201,10 @@ export default {
         }
         this.plworkFile = [];
         this.uploadCid = this.tcid ? this.tcid : this.courseDetail.juri
+        if(!this.uploadCid){
+          this.$message.error("提示:批量上传未添加班级权限,请添加班级或从班级入口进入。");
+          return;
+        }
         this.selectUploadStudent();
         this.dialogVisiblePl = true;
       } else if (t == 8) {
@@ -10780,6 +10784,10 @@ export default {
       this.worksSName = n;
       this.toolindex = i
       this.uploadCid = this.tcid ? this.tcid : this.courseDetail.juri
+      if(!this.uploadCid){
+          this.$message.error("提示:批量上传未添加班级权限,请添加班级或从班级入口进入。");
+          return;
+        }
       this.selectUploadStudent()
       this.dialogVisibleSname = true;
     },

+ 1 - 1
src/components/group/group.vue

@@ -502,7 +502,7 @@ export default {
         },
         deleteCourseGroup() {
             this.$confirm(
-                "确定删除该分组么?删除后分组将会被清空!",
+                "您确定要删除该分组吗? 分组删除后将被清空并且无法恢复。",
                 "提示",
                 {
                     confirmButtonText: "确定",

+ 8 - 0
src/components/studyStudent.vue

@@ -14452,6 +14452,10 @@ export default {
         }
         this.plworkFile = [];
         this.uploadCid = this.tcid ? this.tcid : this.courseDetail.juri;
+        if(!this.uploadCid){
+          this.$message.error("提示:批量上传未添加班级权限,请添加班级或从班级入口进入。");
+          return;
+        }
         // this.uploadCid =
         //   this.chapInfoList[this.courseType].chapterInfo[0].taskJson[
         //     index
@@ -15053,6 +15057,10 @@ export default {
       this.worksSName = n;
       this.toolindex = i;
       this.uploadCid = this.tcid ? this.tcid : this.courseDetail.juri;
+      if(!this.uploadCid){
+          this.$message.error("提示:批量上传未添加班级权限,请添加班级或从班级入口进入。");
+          return;
+        }
       this.selectUploadStudent();
       this.dialogVisibleSname = true;
     },