|
@@ -587,6 +587,8 @@ export default {
|
|
|
this.form.leixing = "1";
|
|
|
this.form.musicGroupOrganizationCourseSettingId =
|
|
|
res.data?.calender?.musicGroupOrganizationCourseSettingId;
|
|
|
+ this.isSetCourseSettingsId = true;
|
|
|
+
|
|
|
} else {
|
|
|
this.form.leixing = "2";
|
|
|
}
|
|
@@ -646,8 +648,9 @@ export default {
|
|
|
if (res.data?.course?.length > 0) {
|
|
|
this.$nextTick(() => {
|
|
|
this.teamCourse = true;
|
|
|
- this.isSetCourseSettingsId = true;
|
|
|
+
|
|
|
this.$set(this.form, "eclass", res.data?.course);
|
|
|
+ console.log([...res.data?.course],'res.data?.course')
|
|
|
this.initDetail = true;
|
|
|
this.$set(
|
|
|
this.form,
|
|
@@ -1223,7 +1226,7 @@ export default {
|
|
|
},
|
|
|
"form.eclass": {
|
|
|
handler(newValue,oldValue) {
|
|
|
-
|
|
|
+ // console.log("form.eclass",[...newValue])
|
|
|
let oldString = JSON.stringify(oldValue)
|
|
|
let newString = JSON.stringify(newValue)
|
|
|
if (this.initDetail || oldString == newString) {
|
|
@@ -1262,6 +1265,7 @@ export default {
|
|
|
...course,
|
|
|
};
|
|
|
});
|
|
|
+ console.log('获取musicGroupOrganizationCourseSettingId重置eclass')
|
|
|
this.$set(this.form, "eclass", res.data);
|
|
|
// this.syncAllMoney();
|
|
|
} catch (error) {}
|
|
@@ -1272,6 +1276,7 @@ export default {
|
|
|
this.cycles = [{}];
|
|
|
this.collapse = [0];
|
|
|
this.cycle = {};
|
|
|
+
|
|
|
if (val != "1") {
|
|
|
this.$set(
|
|
|
this.form,
|