|
@@ -685,6 +685,7 @@ import {
|
|
|
createClass,
|
|
|
pushMessage,
|
|
|
coursePostpone,
|
|
|
+ musicGroupSchoolTermCourseDetail,
|
|
|
} from "@/api/buildTeam";
|
|
|
import {
|
|
|
getClassAllStudent,
|
|
@@ -877,7 +878,7 @@ export default {
|
|
|
options: this.processDate(),
|
|
|
team_status: "",
|
|
|
activeList: [],
|
|
|
- courseViewType:''
|
|
|
+ courseViewType: "",
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
@@ -897,14 +898,14 @@ export default {
|
|
|
if (this.musicGroupInfo) {
|
|
|
this.organId = this.musicGroupInfos.organId;
|
|
|
this.chargeTypeId = this.musicGroupInfos.chargeTypeId;
|
|
|
- this.courseViewType = this.musicGroupInfos.courseViewType
|
|
|
+ this.courseViewType = this.musicGroupInfos.courseViewType;
|
|
|
} else {
|
|
|
getTeamBaseInfo({ musicGroupId: this.teamid }).then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
this.musicGroupInfos = res.data.musicGroup;
|
|
|
this.organId = this.musicGroupInfos.organId;
|
|
|
this.chargeTypeId = this.musicGroupInfos.chargeTypeId;
|
|
|
- this.courseViewType = this.musicGroupInfos.courseViewType
|
|
|
+ this.courseViewType = this.musicGroupInfos.courseViewType;
|
|
|
}
|
|
|
});
|
|
|
}
|
|
@@ -1076,7 +1077,7 @@ export default {
|
|
|
},
|
|
|
changeMixClass(val) {
|
|
|
// 根据合奏班id获取合奏班下的所有声部班
|
|
|
- console.log(val)
|
|
|
+ console.log(val);
|
|
|
this.getList(val);
|
|
|
this.activeMixClass = val;
|
|
|
},
|
|
@@ -1718,13 +1719,20 @@ export default {
|
|
|
this.activeClass = row.id;
|
|
|
this.postponeVisible = true;
|
|
|
},
|
|
|
- gotoMemberCourse(){
|
|
|
+ async gotoMemberCourse() {
|
|
|
// 这里跳转到课表
|
|
|
- this.$router.push({
|
|
|
- path:'/business/memberClassList',
|
|
|
- query:{...this.$route.query}
|
|
|
- })
|
|
|
- }
|
|
|
+ try {
|
|
|
+ const res = await musicGroupSchoolTermCourseDetail({
|
|
|
+ musicGroupId: this.teamid,
|
|
|
+ });
|
|
|
+ this.$router.push({
|
|
|
+ path: "/business/memberClassList",
|
|
|
+ query: { ...this.$route.query },
|
|
|
+ });
|
|
|
+ } catch (e) {
|
|
|
+ console.log(e);
|
|
|
+ }
|
|
|
+ },
|
|
|
},
|
|
|
|
|
|
watch: {
|