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:
@@ -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 }
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user