|
@@ -882,6 +882,7 @@ export default {
|
|
|
this.studentList = sotrage.studentList;
|
|
|
this.activeList = sotrage.activeList;
|
|
|
this.studentLimit = sotrage.studentLimit;
|
|
|
+ this.teacherList = sotrage.teacherList
|
|
|
});
|
|
|
}
|
|
|
this.init();
|
|
@@ -1637,8 +1638,9 @@ export default {
|
|
|
};
|
|
|
// 新增
|
|
|
createVip(obj).then((res) => {
|
|
|
+
|
|
|
if (res.code == 200) {
|
|
|
- localStorage.removeItem("newVip");
|
|
|
+ this.resetFrom()
|
|
|
if (res.data == "ING") {
|
|
|
this.$confirm(
|
|
|
"课程提交成功,已提交运营主管审批,审批通过后,课程创建成功!",
|
|
@@ -1670,7 +1672,6 @@ export default {
|
|
|
});
|
|
|
}
|
|
|
}
|
|
|
- console.log(res);
|
|
|
if (res.code == 206) {
|
|
|
this.$confirm(res.msg, "提示", {
|
|
|
confirmButtonText: "确定",
|
|
@@ -1679,7 +1680,7 @@ export default {
|
|
|
obj.allowOverstepActivityStudentNum = 1;
|
|
|
createVip(obj).then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
- localStorage.removeItem("newVip");
|
|
|
+ this.resetFrom()
|
|
|
this.$message.success("提交成功");
|
|
|
this.$store.dispatch("delVisitedViews", this.$route);
|
|
|
this.$router.push({
|