|
|
@ -449,14 +449,13 @@ export default { |
|
|
|
this.$post(this.api.batchDeleteContestGrade, { |
|
|
|
this.$post(this.api.batchDeleteContestGrade, { |
|
|
|
ids: [this.method == 2 ? row.scoreId : row.reportId], |
|
|
|
ids: [this.method == 2 ? row.scoreId : row.reportId], |
|
|
|
competitionId: this.id, |
|
|
|
competitionId: this.id, |
|
|
|
stageId: row.stageId |
|
|
|
stageId: this.stageId |
|
|
|
}).then(res => { |
|
|
|
}).then(res => { |
|
|
|
util.successMsg("删除成功"); |
|
|
|
util.successMsg("删除成功"); |
|
|
|
this.getData(); |
|
|
|
this.getData(); |
|
|
|
}).catch(res => { |
|
|
|
}).catch(res => { |
|
|
|
}); |
|
|
|
}); |
|
|
|
}).catch(() => { |
|
|
|
}).catch(() => { }); |
|
|
|
}); |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
delAllData () { // 批量删除 |
|
|
|
delAllData () { // 批量删除 |
|
|
|
const list = this.multipleSelection |
|
|
|
const list = this.multipleSelection |
|
|
|