|
@@ -156,7 +156,7 @@
|
|
|
v-if="
|
|
|
scope.row.auditStatus != 'REJECT' &&
|
|
|
scope.row.auditStatus != 'AUDITING' &&
|
|
|
- scope.row.auditStatus != 'DRAFT' &&
|
|
|
+ scope.row.auditStatus != 'DRAFT' &&
|
|
|
teamStatus &&
|
|
|
scope.row.paymentType != 'MUSIC_APPLY' &&
|
|
|
scope.row.paymentType != 'ADD_STUDENT' &&
|
|
@@ -623,11 +623,13 @@ export default {
|
|
|
},
|
|
|
teamStatus() {
|
|
|
// let type = this.$route.query.type;
|
|
|
- return this.team_status == "PRE_BUILD_FEE" || this.team_status == "PROGRESS";
|
|
|
+ return (
|
|
|
+ this.team_status == "PRE_BUILD_FEE" || this.team_status == "PROGRESS"
|
|
|
+ );
|
|
|
+ },
|
|
|
+ team_status() {
|
|
|
+ return this.$route.query.team_status;
|
|
|
},
|
|
|
- team_status(){
|
|
|
- return this.$route.query.team_status
|
|
|
- }
|
|
|
},
|
|
|
// activated () {
|
|
|
// this.init();
|
|
@@ -640,16 +642,18 @@ export default {
|
|
|
musicGroupId: this.$route.query.id,
|
|
|
});
|
|
|
} catch (error) {}
|
|
|
- this.getTeamInfo()
|
|
|
+ this.getTeamInfo();
|
|
|
this.getList();
|
|
|
},
|
|
|
getTeamInfo() {
|
|
|
- getTeamBaseInfo({ musicGroupId: this.$route.query.id }).then((res) => {
|
|
|
- if (res.code == 200) {
|
|
|
- this.baseInfo = res.data;
|
|
|
- this.$emit("getBaseInfo",this.baseInfo);
|
|
|
- }
|
|
|
- });
|
|
|
+ if (this.$route.query.id) {
|
|
|
+ getTeamBaseInfo({ musicGroupId: this.$route.query.id }).then((res) => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ this.baseInfo = res.data;
|
|
|
+ this.$emit("getBaseInfo", this.baseInfo);
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
},
|
|
|
newUserPay() {
|
|
|
// 判断一下乐团是课程缴费 还是会员缴费 且乐团状态为创建缴费中
|
|
@@ -745,7 +749,7 @@ export default {
|
|
|
});
|
|
|
this.$message.success("取消审批成功");
|
|
|
this.getList();
|
|
|
- this.getTeamInfo()
|
|
|
+ this.getTeamInfo();
|
|
|
} catch {}
|
|
|
},
|
|
|
changeActive(val) {
|
|
@@ -869,7 +873,7 @@ export default {
|
|
|
if (res.code == 200) {
|
|
|
this.$message.success("修改成功");
|
|
|
this.payVisible = false;
|
|
|
- this.getTeamInfo()
|
|
|
+ this.getTeamInfo();
|
|
|
this.getList();
|
|
|
}
|
|
|
});
|
|
@@ -920,7 +924,7 @@ export default {
|
|
|
async payedSubmited(data) {
|
|
|
try {
|
|
|
await this.getList();
|
|
|
- this.getTeamInfo()
|
|
|
+ this.getTeamInfo();
|
|
|
// if (!this.isNewGropu) {
|
|
|
// this.chioseStudentVisible = true;
|
|
|
// if (data) {
|