|
@@ -303,6 +303,11 @@ export default {
|
|
|
studentCompetitionPage(cleanDeep(obj)).then(res => {
|
|
|
if (res.code == 200) {
|
|
|
this.pageInfo.total = res.data.total;
|
|
|
+ let rows = res.data && res.data.rows ? res.data.rows : []
|
|
|
+ rows.forEach(row => {
|
|
|
+ row.score = row.score == -1 ? null : row.score
|
|
|
+ row.prizeLevel = row.prizeLevel == -1 ? null : row.prizeLevel
|
|
|
+ });
|
|
|
this.tableList = res.data.rows
|
|
|
}
|
|
|
})
|