lsc 2 роки тому
батько
коміт
90176797d6
1 змінених файлів з 16 додано та 8 видалено
  1. 16 8
      src/components/pages/student/addCourse.vue

+ 16 - 8
src/components/pages/student/addCourse.vue

@@ -3036,7 +3036,8 @@ export default {
                         this.addWork();
                     } else {
                         if (this.userid != this.courseUserid) {
-                            this.updateWork2();
+                            // this.updateWork2();
+                            this.updateWork();
                         } else {
                             this.updateWork();
                         }
@@ -3103,7 +3104,8 @@ export default {
                         return;
                     }
                     if (this.userid != this.courseUserid) {
-                        this.updateWork2();
+                        // this.updateWork2();
+                        this.updateWork();
                     } else {
                         this.updateWork();
                     }
@@ -3180,7 +3182,8 @@ export default {
                         return;
                     }
                     if (this.userid != this.courseUserid) {
-                        this.updateWork2();
+                        // this.updateWork2();
+                        this.updateWork();
                     } else {
                         this.updateWork();
                     }
@@ -3265,7 +3268,8 @@ export default {
                                 this.steps++;
                             }
                             if (this.userid != this.courseUserid) {
-                                this.updateWork2();
+                                // this.updateWork2();
+                                this.updateWork();
                             } else {
                                 this.updateWork();
                             }
@@ -3273,7 +3277,8 @@ export default {
                     }
                 } else if (this.steps == 4) {
                     if (this.userid != this.courseUserid) {
-                        this.updateWork2();
+                        // this.updateWork2();
+                        this.updateWork();
                     } else {
                         this.updateWork();
                     }
@@ -3286,7 +3291,8 @@ export default {
                             this.addWork();
                         } else {
                             if (this.userid != this.courseUserid) {
-                                this.updateWork2();
+                                // this.updateWork2();
+                                this.updateWork();
                             } else {
                                 this.updateWork();
                             }
@@ -3342,7 +3348,8 @@ export default {
                                 this.steps++;
                             }
                             if (this.userid != this.courseUserid) {
-                                this.updateWork2();
+                                // this.updateWork2();
+                                this.updateWork();
                             } else {
                                 this.updateWork();
                             }
@@ -3350,7 +3357,8 @@ export default {
                     }
                 } else if (this.steps == 4) {
                     if (this.userid != this.courseUserid) {
-                        this.updateWork2();
+                        // this.updateWork2();
+                        this.updateWork();
                     } else {
                         this.updateWork();
                     }