feat(attendants): 支持陪诊师阶段与等级展示及转正调级

- 列表新增阶段/等级列,实习/正式与青铜~钻石及星级可见

- 新增阶段与等级弹窗,调用 /employee/:id/level 完成转正、调级与设星
This commit is contained in:
lik
2026-11-10 12:02:07 +08:00
parent c30ca3ed41
commit 9f7ab62a06
4 changed files with 140 additions and 3 deletions
+18
View File
@@ -102,6 +102,24 @@ export const EMPLOYEE_STATUS_VARIANTS: Record<string, string> = {
suspended: 'warning',
}
/** 陪诊师阶段:实习只看单,转正后才能接单 */
export const ATTENDANT_STAGE_LABELS: Record<string, string> = {
intern: '实习',
certified: '正式',
}
export const ATTENDANT_STAGE_VARIANTS: Record<string, string> = {
intern: 'info',
certified: 'success',
}
export const ATTENDANT_GRADE_LABELS: Record<string, string> = {
bronze: '青铜',
silver: '白银',
gold: '黄金',
diamond: '钻石',
}
export const ACCOUNT_STATUS_LABELS: Record<string, string> = {
normal: '正常',
lock: '已锁定',