|
|
|
@ -6,7 +6,7 @@ |
|
|
|
|
</div> |
|
|
|
|
</el-card> |
|
|
|
|
|
|
|
|
|
<el-card shadow="hover" class="m-b-20"> |
|
|
|
|
<el-card shadow="hover" class="m-b-20" v-loading="loading"> |
|
|
|
|
<div style="display: flex;align-items: center"> |
|
|
|
|
<table v-if="form.completeCompetitionSetup.competitionType" class="table m-b-20 m-r-10"> |
|
|
|
|
<tr> |
|
|
|
@ -229,6 +229,7 @@ export default { |
|
|
|
|
return { |
|
|
|
|
id: +this.$route.query.id, |
|
|
|
|
accountId: +this.$route.query.accountId, |
|
|
|
|
loading: false, |
|
|
|
|
status: 5, |
|
|
|
|
form: { |
|
|
|
|
competitionStage: [], |
|
|
|
@ -296,6 +297,7 @@ export default { |
|
|
|
|
}, |
|
|
|
|
methods: { |
|
|
|
|
getData () { |
|
|
|
|
this.loading = true |
|
|
|
|
this.$post(`${this.api.getCompetition}?competitionId=${this.id}`).then(({ competition }) => { |
|
|
|
|
this.form = competition |
|
|
|
|
this.timer = setInterval(this.handleStatus, 1000) |
|
|
|
@ -335,6 +337,7 @@ export default { |
|
|
|
|
}) |
|
|
|
|
this.info = info |
|
|
|
|
this.form.completeCompetitionSetup.competitionType && this.getErrorInfo() |
|
|
|
|
this.loading = false |
|
|
|
|
}).catch(err => { }); |
|
|
|
|
}, |
|
|
|
|
// 获取团队异常信息 |
|
|
|
@ -344,7 +347,8 @@ export default { |
|
|
|
|
teamId: this.info.teamId |
|
|
|
|
}) |
|
|
|
|
this.teamErrors = res.teamTip.split(';').filter(e => e) |
|
|
|
|
if (Object.keys(res.stageTip)) { |
|
|
|
|
|
|
|
|
|
if (Object.keys(res.stageTip).length) { |
|
|
|
|
this.stageTip = res.stageTip |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
@ -529,7 +533,7 @@ export default { |
|
|
|
|
this.chooses = this.info.teamDetail |
|
|
|
|
} |
|
|
|
|
this.curRow = row |
|
|
|
|
this.checkedMembers = row.participants.map(e => e.id) |
|
|
|
|
this.checkedMembers = row.participants ? row.participants.map(e => e.id) : [] |
|
|
|
|
this.chooseVisible = true |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|