lsc 1 year ago
parent
commit
7647cd7f30

+ 1 - 1
dist/index.html

@@ -18,7 +18,7 @@
       border-radius: 10px;
       -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
       background-color: rgba(0, 0, 0, 0.1);
-    }</style><link href=./static/css/app.fb82ddf08fe44cda3ace146e9cabb7d8.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.8d7171b1fe858bda1433.js></script><script type=text/javascript src=./static/js/app.0ecd170586bb5ab4b9ac.js></script></body></html><script>function stopSafari() {
+    }</style><link href=./static/css/app.9eca6bc382527fe8a4f6b8083daef0f2.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.8d7171b1fe858bda1433.js></script><script type=text/javascript src=./static/js/app.83b405f05472d363c1b6.js></script></body></html><script>function stopSafari() {
     //阻止safari浏览器双击放大功能
     let lastTouchEnd = 0  //更新手指弹起的时间
     document.documentElement.addEventListener("touchstart", function (event) {

File diff suppressed because it is too large
+ 0 - 0
dist/static/css/app.9eca6bc382527fe8a4f6b8083daef0f2.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/app.9eca6bc382527fe8a4f6b8083daef0f2.css.map


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.0ecd170586bb5ab4b9ac.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.83b405f05472d363c1b6.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.83b405f05472d363c1b6.js.map


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/manifest.3ad1d5771e9b13dbdad2.js.map


+ 21 - 21
src/components/studyStudent.vue

@@ -5578,7 +5578,7 @@ export default {
           });
           this.studyJuri[0].cover = [];
           this.dialogVisible = false;
-          this.getCourseDetail();
+          this.getCourseDetail(2);
         })
         .catch((err) => {
           this.$message.error("提交失败");
@@ -5617,7 +5617,7 @@ export default {
           });
           this.plworkFile = [];
           this.dialogVisiblePl = false;
-          this.getCourseDetail();
+          this.getCourseDetail(2);
         })
         .catch((err) => {
           this.$message.error("提交失败");
@@ -5666,7 +5666,7 @@ export default {
           });
           this.studyJuri[0].cover = [];
           this.dialogVisibleGroupWork = false;
-          this.getCourseDetail();
+          this.getCourseDetail(2);
         })
         .catch((err) => {
           this.$message.error("提交失败");
@@ -5740,7 +5740,7 @@ export default {
           });
           this.studyJuri[0].cover = [];
           this.dialogVisibleWorks = false;
-          this.getCourseDetail();
+          this.getCourseDetail(2);
         })
         .catch((err) => {
           this.$message.error("提交失败");
@@ -8004,7 +8004,7 @@ export default {
       this.isClickNav = "";
       this.selectPz();
       this.getHomeWork();
-      this.getCourseDetail();
+      this.getCourseDetail(2);
       this.$forceUpdate();
     },
     openTask(s, n, i) {
@@ -8082,7 +8082,7 @@ export default {
       // }, 0);
       this.selectPz();
       this.getHomeWork();
-      this.getCourseDetail();
+      this.getCourseDetail(2);
     },
 
     get(i) {
@@ -8322,16 +8322,12 @@ export default {
             } else {
               this.isClickNav = "video0";
             }
-          } else {
-            this.courseDetail = res.data[0][0];
-            this.chapInfoList = JSON.parse(this.courseDetail.chapters);
           }
+          //  else {
+          //   this.courseDetail = res.data[0][0];
+          //   this.chapInfoList = JSON.parse(this.courseDetail.chapters);
+          // }
 
-          this.$nextTick(() => {
-            setTimeout(() => {
-              this.checkEva();
-            }, 1000);
-          });
           let _this = this;
           if (_this.timer) {
             clearInterval(_this.timer);
@@ -8356,7 +8352,11 @@ export default {
                   _this.taskCount
                 ].toolChoose[_this.toolindex].groupJson;
             }
-
+            _this.$nextTick(() => {
+            setTimeout(() => {
+              _this.checkEva();
+            }, 1000);
+          });
           _this.timer = setInterval(function () {
             // _this.getCourseDetail(2);
             if (_this.tcid) {
@@ -8673,7 +8673,7 @@ export default {
               this.navList[this.courseType].isOpen = true;
               this.taskCount = parseInt(_followC[1])
               this.navId = res.data[0][0].followC;
-              this.getCourseDetail()
+              this.getCourseDetail(2)
             }
           }
         })
@@ -9772,7 +9772,7 @@ export default {
             type: "success",
           });
           this.dialogVisibleSname = false;
-          this.getCourseDetail();
+          this.getCourseDetail(2);
           this.snameWid = "";
           this.worksSName = "";
         })
@@ -10209,7 +10209,7 @@ export default {
         .post(this.$store.state.api + "joinGroup", params)
         .then((res) => {
           this.$message.success("加入成功");
-          this.getCourseDetail();
+          this.getCourseDetail(2);
         })
         .catch((err) => {
           this.$message.error("网络不佳");
@@ -10230,7 +10230,7 @@ export default {
         .post(this.$store.state.api + "exitGroup", params)
         .then((res) => {
           this.$message.success("退出成功");
-          this.getCourseDetail();
+          this.getCourseDetail(2);
         })
         .catch((err) => {
           this.$message.error("网络不佳");
@@ -10279,7 +10279,7 @@ export default {
           this.checkChair = "";
           this.updateGroupArray = {};
           this.dialogVisibleUpdateGroup = false;
-          this.getCourseDetail();
+          this.getCourseDetail(2);
         })
         .catch((err) => {
           this.$message.error("网络不佳");
@@ -10316,7 +10316,7 @@ export default {
           this.deleteGroupArray = {};
           this.groupIndex = "";
           this.checkDeleteGroup = [];
-          this.getCourseDetail();
+          this.getCourseDetail(2);
         }
       }
     },

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