11wqe1 4 mesiacov pred
rodič
commit
b4286f58b5

+ 2 - 1
src/components/pages/components/studentWorksDetail.vue

@@ -1841,13 +1841,14 @@ export default {
     },
     // 子元素调用父元素 按任务查看导出作业集
     childExportPdfSetBtn(val) {
-      this.addOp3('1', "", { courseid: val.con.id ,type: "course_homeWork_export" }, "success")
 
       this.worksDialog = true;
       this.worksDialogCon = val.con;
       this.exportPdfSetUid = val.uid;
       this.digNum = 0;
       this.exportW++
+      this.addOp3('1', "", { courseid: val.con.id ,type: "course_homeWork_export" }, "success")
+
     },
     backPage(){
       this.$emit("StuCancel");

+ 7 - 4
src/components/pages/components/worksDetail2.vue

@@ -2010,7 +2010,6 @@ export default {
     },
     // 按任务查看导出作业集
     exportPdfSetBtn(uid, con) {
-      this.addOp3('1', "", { courseid: this.id ,type: "course_homeWork_export" }, "success")
 
       this.worksDialog = true;
       this.worksDialogCon = con;
@@ -2018,33 +2017,37 @@ export default {
       this.digNum = 0
 
       this.exportW++
+      this.addOp3('1', "", { courseid: this.id ,type: "course_homeWork_export" }, "success")
     },
     // 子元素调用父元素 按任务查看导出作业集
     childExportPdfSetBtn(val) {
-      this.addOp3('1', "", { courseid: val.con.id ,type: "course_homeWork_export" }, "success")
       this.worksDialog = true;
       this.worksDialogCon = val.con;
       this.exportPdfSetUid = val.uid;
       this.digNum = 0
 
       this.exportW++
+      this.addOp3('1', "", { courseid: val.con.id ,type: "course_homeWork_export" }, "success")
+
     },
     // 导出所有作业
     exportPdfSetAllWork(){
-      this.addOp3('1', "", { courseid: this.id ,type: "course_homeWork_exportS" }, "success")
 
       this.worksDialog = true;
       this.digNum = 1
       this.exportW++
+      this.addOp3('1', "", { courseid: this.id ,type: "course_homeWork_exportS" }, "success")
+
     },
    // 批量导出作业
    exportPdfSetBatchWork(){
       if (!this.multipleSelection.length) return
-      this.addOp3('1', "", { courseid: this.id ,type: "course_homeWork_exportSList" }, "success")
 
       this.worksDialog = true;
       this.digNum = 2
       this.exportW++
+      this.addOp3('1', "", { courseid: this.id ,type: "course_homeWork_exportSList" }, "success")
+
     },
    
  

+ 2 - 1
src/components/pages/studentManage/student.vue

@@ -513,7 +513,6 @@ export default {
             message: "新增成功",
             type: "success",
           });
-          this.addOp3('1', "", { type: "student_user_add" }, "success")
 
           this.dialogVisible = false;
           this.sPhone = "";
@@ -522,6 +521,8 @@ export default {
           this.sByClass = [];
           this.sMail = "";
           this.getStudent();
+          this.addOp3('1', "", { type: "student_user_add" }, "success")
+
         })
         .catch((err) => {
           this.isLoading = false;

+ 5 - 1
src/components/pages/synergyCourse/course.vue

@@ -529,7 +529,6 @@ export default {
       return param= param<10?('0'+param):param
     },
     goToCourseSimple(){
-      this.addOp3('1', "", { type: "CocoNote_fast_add" }, "success")
 
       let params = [
         {
@@ -566,10 +565,13 @@ export default {
           });
           this.getCourse();
           this.open(res.data.courseId, this.userid)
+          this.addOp3('1', "", { type: "CocoNote_fast_add" }, "success")
+
         })
         .catch((err) => {
           this.$message.error("网络不佳");
           console.error(err);
+          this.addOp3('1', "", { type: "CocoNote_fast_add" }, err)
         });
     },
     tableRowClassName({ row, rowIndex }) {
@@ -646,6 +648,8 @@ export default {
         .catch((err) => {
           this.$message.error("网络不佳");
           console.error(err);
+          this.addOp3('1', "", { courseid: cid , type: "CocoNote_open" }, err)
+
         });
     },
     jump(cid) {