fix: 裁判长修改评分时传递venueId参数

配合后端修复,确保修改评分记录包含正确的场地ID
This commit is contained in:
DevOps
2025-12-25 10:55:22 +08:00
parent 96bc2d92a2
commit 88a931976d

View File

@@ -405,11 +405,16 @@ export default {
mask: true mask: true
}) })
// 获取场地ID
const app = getApp()
const venueId = app.globalData?.currentVenueId
const response = await dataAdapter.getData('modifyScore', { const response = await dataAdapter.getData('modifyScore', {
athleteId: this.athleteInfo.athleteId, athleteId: this.athleteInfo.athleteId,
modifierId: this.modifierId, modifierId: this.modifierId,
modifiedScore: this.currentScore, modifiedScore: this.currentScore,
note: this.note note: this.note,
venueId: venueId // 添加场地ID
}) })
uni.hideLoading() uni.hideLoading()