|
@@ -927,94 +927,9 @@ export default {
|
|
|
this.title = "网管课申请";
|
|
|
this.$route.meta.title = "网管课申请";
|
|
|
this.hasOffline = false;
|
|
|
- // this.$router.push(
|
|
|
- // {
|
|
|
- // query: merge(this.$route.query, {
|
|
|
- // courseType:'PRACTICE'
|
|
|
- // })
|
|
|
- // },
|
|
|
- // (router) => {
|
|
|
- // console.log(router);
|
|
|
-
|
|
|
- // }
|
|
|
- // );
|
|
|
- // let sotrage = JSON.parse(localStorage.getItem(`newPractice`));
|
|
|
- // if (sotrage?.leftForm?.classOrganId) {
|
|
|
- // this.$confirm("检测到您有未提交的数据, 是否恢复?", "提示", {
|
|
|
- // confirmButtonText: "确定",
|
|
|
- // cancelButtonText: "取消",
|
|
|
- // closeOnClickModal: false,
|
|
|
- // type: "warning",
|
|
|
- // }).then(async () => {
|
|
|
- // this.activeStudentList = sotrage.activeStudentList;
|
|
|
- // this.centerForm = sotrage.centerForm;
|
|
|
- // this.leftForm = sotrage.leftForm;
|
|
|
- // this.rightForm = sotrage.rightForm;
|
|
|
- // this.timeTable = sotrage.timeTable;
|
|
|
- // this.educationList = sotrage.educationList;
|
|
|
- // this.courseTypeList = sotrage.courseTypeList;
|
|
|
- // // 为了刷新线上课单价和线下课单价
|
|
|
- // await vipGroupCategory({
|
|
|
- // organId: sotrage?.leftForm?.classOrganId,
|
|
|
- // }).then((res) => {
|
|
|
- // if (res.code == 200) {
|
|
|
- // this.courseTypeList = res.data;
|
|
|
- // }
|
|
|
- // });
|
|
|
- // this.scetionList = sotrage.scetionList;
|
|
|
- // this.studentList = sotrage.studentList;
|
|
|
- // this.activeList = sotrage.activeList;
|
|
|
- // this.studentLimit = sotrage.studentLimit;
|
|
|
- // this.teacherList = sotrage.teacherList;
|
|
|
- // this.isMusicTheory = sotrage.isMusicTheory;
|
|
|
- // this.chioseStudent = sotrage.chioseStudent;
|
|
|
- // this.maxCourseNum = sotrage.maxCourseNum;
|
|
|
- // this.minCourseNum = sotrage.minCourseNum;
|
|
|
- // if (this.leftForm?.courseType) {
|
|
|
- // this.changePrice(this.leftForm.courseType);
|
|
|
- // }
|
|
|
- // });
|
|
|
- // }
|
|
|
- // } else {
|
|
|
- // this.title = "VIP/乐理课申请";
|
|
|
- // this.$route.meta.title = "VIP/乐理课申请";
|
|
|
- // let sotrage = JSON.parse(localStorage.getItem(`newVip`));
|
|
|
- // if (sotrage?.leftForm?.classOrganId) {
|
|
|
- // this.$confirm("检测到您有未提交的数据, 是否恢复?", "提示", {
|
|
|
- // confirmButtonText: "确定",
|
|
|
- // cancelButtonText: "取消",
|
|
|
- // closeOnClickModal: false,
|
|
|
- // type: "warning",
|
|
|
- // }).then(async () => {
|
|
|
- // this.activeStudentList = sotrage.activeStudentList;
|
|
|
- // this.centerForm = sotrage.centerForm;
|
|
|
- // this.leftForm = sotrage.leftForm;
|
|
|
- // this.rightForm = sotrage.rightForm;
|
|
|
- // this.timeTable = sotrage.timeTable;
|
|
|
- // this.educationList = sotrage.educationList;
|
|
|
- // this.courseTypeList = sotrage.courseTypeList;
|
|
|
- // this.maxCourseNum = sotrage.maxCourseNum;
|
|
|
- // this.minCourseNum = sotrage.minCourseNum;
|
|
|
- // // 为了刷新线上课单价和线下课单价
|
|
|
- // await vipGroupCategory({
|
|
|
- // organId: sotrage?.leftForm?.classOrganId,
|
|
|
- // }).then((res) => {
|
|
|
- // if (res.code == 200) {
|
|
|
- // this.courseTypeList = res.data;
|
|
|
- // }
|
|
|
- // });
|
|
|
- // this.scetionList = sotrage.scetionList;
|
|
|
- // this.studentList = sotrage.studentList;
|
|
|
- // this.activeList = sotrage.activeList;
|
|
|
- // this.studentLimit = sotrage.studentLimit;
|
|
|
- // this.teacherList = sotrage.teacherList;
|
|
|
- // this.isMusicTheory = sotrage.isMusicTheory;
|
|
|
- // this.chioseStudent = sotrage.chioseStudent;
|
|
|
- // if (this.leftForm?.courseType) {
|
|
|
- // this.changePrice(this.leftForm.courseType);
|
|
|
- // }
|
|
|
- // });
|
|
|
- // }
|
|
|
+ }else{
|
|
|
+ this.title = "VIP申请";
|
|
|
+ this.$route.meta.title = "VIP申请";
|
|
|
}
|
|
|
|
|
|
this.init();
|