|
|
|
@ -54,6 +54,7 @@ |
|
|
|
|
header-align="center" |
|
|
|
|
@selection-change="handleSelectionChange" |
|
|
|
|
row-key="id" |
|
|
|
|
v-loading="loading" |
|
|
|
|
@sort-change="sortChange"> |
|
|
|
|
<el-table-column type="selection" |
|
|
|
|
width="80" |
|
|
|
@ -437,7 +438,8 @@ export default { |
|
|
|
|
}, |
|
|
|
|
uploading: false, |
|
|
|
|
isBackstage: 0, |
|
|
|
|
exporting: false |
|
|
|
|
exporting: false, |
|
|
|
|
loading: false, |
|
|
|
|
}; |
|
|
|
|
}, |
|
|
|
|
watch: { |
|
|
|
@ -459,8 +461,9 @@ export default { |
|
|
|
|
this.getTeam() |
|
|
|
|
this.getClient() |
|
|
|
|
}, |
|
|
|
|
getData () { |
|
|
|
|
this.$post(this.api.queryRegistrationByCondition, { |
|
|
|
|
async getData () { |
|
|
|
|
this.loading = true |
|
|
|
|
const { data } = await this.$post(this.api.queryRegistrationByCondition, { |
|
|
|
|
pageNum: this.page, |
|
|
|
|
pageSize: this.pageSize, |
|
|
|
|
competitionId: this.id, |
|
|
|
@ -468,18 +471,17 @@ export default { |
|
|
|
|
isDisable: this.isDisable, |
|
|
|
|
schoolOrder: this.schoolOrder, |
|
|
|
|
teamOrder: this.teamOrder, |
|
|
|
|
}).then(({ data }) => { |
|
|
|
|
const list = data.records; |
|
|
|
|
list.map(e => { |
|
|
|
|
if (e.teacherDetails) { |
|
|
|
|
e.teachers = JSON.parse(e.teacherDetails) |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
this.listData = list |
|
|
|
|
this.total = data.total; |
|
|
|
|
this.$refs.table.clearSelection(); |
|
|
|
|
}).catch(res => { |
|
|
|
|
}); |
|
|
|
|
}) |
|
|
|
|
const list = data.records; |
|
|
|
|
list.map(e => { |
|
|
|
|
if (e.teacherDetails) { |
|
|
|
|
e.teachers = JSON.parse(e.teacherDetails) |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
this.listData = list |
|
|
|
|
this.total = data.total; |
|
|
|
|
this.$refs.table.clearSelection(); |
|
|
|
|
this.loading = false |
|
|
|
|
}, |
|
|
|
|
// 获取赛事信息 |
|
|
|
|
getInfo () { |
|
|
|
|