|
@@ -721,6 +721,7 @@
|
|
:mixList="mixList"
|
|
:mixList="mixList"
|
|
:highList="highList"
|
|
:highList="highList"
|
|
:snapList="snapList"
|
|
:snapList="snapList"
|
|
|
|
+ :highonlineList="highonlineList"
|
|
:musicGroupId="this.teamid"
|
|
:musicGroupId="this.teamid"
|
|
:organizationCourseUnitPriceSettings="
|
|
:organizationCourseUnitPriceSettings="
|
|
organizationCourseUnitPriceSettings
|
|
organizationCourseUnitPriceSettings
|
|
@@ -1132,30 +1133,35 @@ export default {
|
|
this.soundList = res.data;
|
|
this.soundList = res.data;
|
|
}
|
|
}
|
|
});
|
|
});
|
|
-
|
|
|
|
|
|
+ // this.getMusicClass()
|
|
// 获取乐团基本信息
|
|
// 获取乐团基本信息
|
|
getMusicGroup({ musicGroupId: this.teamid }).then(
|
|
getMusicGroup({ musicGroupId: this.teamid }).then(
|
|
(res) => (this.baseInfo = res.data)
|
|
(res) => (this.baseInfo = res.data)
|
|
);
|
|
);
|
|
// 获取乐团所有合奏课
|
|
// 获取乐团所有合奏课
|
|
- getMusicGroupAllClass({ musicGroupId: this.teamid }).then((res) => {
|
|
|
|
|
|
+
|
|
|
|
+ },
|
|
|
|
+ getMusicClass(){
|
|
|
|
+ getMusicGroupAllClass({ musicGroupId: this.teamid }).then((res) => {
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
this.classList = res.data;
|
|
this.classList = res.data;
|
|
this.signList = [];
|
|
this.signList = [];
|
|
this.mixList = [];
|
|
this.mixList = [];
|
|
this.highList = [];
|
|
this.highList = [];
|
|
this.snapList = [];
|
|
this.snapList = [];
|
|
- // else if (item.type == "HIGH_ONLINE") {
|
|
|
|
- // this.highonlineList.push(item);
|
|
|
|
- // }
|
|
|
|
|
|
+ this.highonlineList = [];
|
|
this.classList.forEach((item) => {
|
|
this.classList.forEach((item) => {
|
|
if (item.type == "NORMAL") {
|
|
if (item.type == "NORMAL") {
|
|
this.signList.push(item);
|
|
this.signList.push(item);
|
|
} else if (item.type == "MIX") {
|
|
} else if (item.type == "MIX") {
|
|
this.mixList.push(item);
|
|
this.mixList.push(item);
|
|
- } else if (item.type == "HIGH" || (item.type=="HIGH_ONLINE"&&item.studentNum<6)) {
|
|
|
|
|
|
+ } else if (item.type == "HIGH") {
|
|
this.highList.push(item);
|
|
this.highList.push(item);
|
|
- } else if (item.type == "SNAP") {
|
|
|
|
|
|
+ }
|
|
|
|
+ else if (item.type == "HIGH_ONLINE"&&item.studentNum<6) {
|
|
|
|
+ this.highonlineList.push(item);
|
|
|
|
+ }
|
|
|
|
+ else if (item.type == "SNAP") {
|
|
this.snapList.push(item);
|
|
this.snapList.push(item);
|
|
} else if (item.type == "MUSIC_NETWORK") {
|
|
} else if (item.type == "MUSIC_NETWORK") {
|
|
this.muiscnetworkList.push(item);
|
|
this.muiscnetworkList.push(item);
|
|
@@ -1736,7 +1742,11 @@ export default {
|
|
},
|
|
},
|
|
},
|
|
},
|
|
watch: {
|
|
watch: {
|
|
-
|
|
|
|
|
|
+ createUserPayVisible(val){
|
|
|
|
+ if(val){
|
|
|
|
+ this.getMusicClass()
|
|
|
|
+ }
|
|
|
|
+ },
|
|
"quitForm.isMaintenanceFee"(val) {
|
|
"quitForm.isMaintenanceFee"(val) {
|
|
if (val) {
|
|
if (val) {
|
|
this.quitForm.maintenanceFee = 300;
|
|
this.quitForm.maintenanceFee = 300;
|