fix: 裁判长修改评分时传递venueId参数
配合后端修复,确保修改评分记录包含正确的场地ID
This commit is contained in:
@@ -405,11 +405,16 @@ export default {
|
||||
mask: true
|
||||
})
|
||||
|
||||
// 获取场地ID
|
||||
const app = getApp()
|
||||
const venueId = app.globalData?.currentVenueId
|
||||
|
||||
const response = await dataAdapter.getData('modifyScore', {
|
||||
athleteId: this.athleteInfo.athleteId,
|
||||
modifierId: this.modifierId,
|
||||
modifiedScore: this.currentScore,
|
||||
note: this.note
|
||||
note: this.note,
|
||||
venueId: venueId // 添加场地ID
|
||||
})
|
||||
|
||||
uni.hideLoading()
|
||||
|
||||
Reference in New Issue
Block a user