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