feat: add estimated duration field and exception status persistence

- Add estimatedDuration field to project form with validation
- Add estimatedDuration column to project table
- Add updateCheckInStatus API for exception status persistence
- Call backend API when marking/removing exception status
This commit is contained in:
Z-WICK
2025-12-29 15:08:29 +08:00
parent cc6762a4f4
commit e39553baea
3 changed files with 53 additions and 3 deletions
+13
View File
@@ -194,3 +194,16 @@ export const exportSchedulePlans = (params) => {
responseType: 'blob'
})
}
/**
* 更新参赛者签到状态
* @param {Number} participantId - 参赛者ID
* @param {String} status - 状态:未签到/已签到/异常
*/
export const updateCheckInStatus = (participantId, status) => {
return request({
url: '/api/blade-martial/schedule/update-check-in-status',
method: 'post',
data: { participantId, status }
})
}