|
@@ -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);
|
|
|
}
|
|
|
}
|
|
|
},
|