|
|
|
@ -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> |
|
|
|
@ -110,7 +110,7 @@ |
|
|
|
|
</template> |
|
|
|
|
<span v-else class="m-r-5">无</span> |
|
|
|
|
<i class="el-icon-edit icon" @click="selectPar(item)"></i> |
|
|
|
|
<el-tooltip v-if="stageTip.length && stageTip[i]" effect="dark" :content="stageTip[i]" |
|
|
|
|
<el-tooltip v-if="stageTip && stageTip[i + 1]" effect="dark" :content="stageTip[i + 1]" |
|
|
|
|
placement="bottom"> |
|
|
|
|
<el-tag type="danger" class="m-l-5">异常</el-tag> |
|
|
|
|
</el-tooltip> |
|
|
|
@ -230,6 +230,7 @@ export default { |
|
|
|
|
return { |
|
|
|
|
id: +this.$route.query.id, |
|
|
|
|
accountId: +this.$route.query.accountId, |
|
|
|
|
loading: false, |
|
|
|
|
status: 5, |
|
|
|
|
form: { |
|
|
|
|
competitionStage: [], |
|
|
|
@ -297,6 +298,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) |
|
|
|
@ -336,6 +338,7 @@ export default { |
|
|
|
|
}) |
|
|
|
|
this.info = info |
|
|
|
|
this.form.completeCompetitionSetup.competitionType && this.getErrorInfo() |
|
|
|
|
this.loading = false |
|
|
|
|
}).catch(err => { }); |
|
|
|
|
}, |
|
|
|
|
// 获取团队异常信息 |
|
|
|
@ -345,7 +348,7 @@ 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 |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
@ -530,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 |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|