feat(attendants): 支持陪诊师阶段与等级展示及转正调级
- 列表新增阶段/等级列,实习/正式与青铜~钻石及星级可见 - 新增阶段与等级弹窗,调用 /employee/:id/level 完成转正、调级与设星
This commit is contained in:
@@ -33,4 +33,14 @@ export const employeeApi = {
|
||||
method: 'PATCH',
|
||||
body: { status },
|
||||
}),
|
||||
|
||||
/** 实习转正 / 调级 / 钻石设星 */
|
||||
updateLevel: (
|
||||
id: string,
|
||||
body: { stage?: 'intern' | 'certified'; grade?: string; star?: number }
|
||||
) =>
|
||||
request<{ employee: Employee }>(`/health/employee/${id}/level`, {
|
||||
method: 'PATCH',
|
||||
body,
|
||||
}),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user