feat(order): 订单池接单与共享入口,实习陪诊师只读

列表展示未分配/共享给我标记并新增接单按钮;详情页支持接单与共享给在职陪诊师,实习仅可查看脱敏信息。
This commit is contained in:
lik
2026-11-10 12:28:06 +08:00
parent 51b6ef497b
commit d70d9703ad
8 changed files with 473 additions and 24 deletions
+6
View File
@@ -184,6 +184,11 @@ function getRoleSync() {
return cachedRole
}
// 陪诊师阶段/等级快照(仅展示用),需先调用 ensureRole/ensureRoleSafe
function getAttendantSync() {
return cachedAttendant
}
/**
* 退出登录 / 清除缓存后重置,避免沿用上一个账号的角色
*/
@@ -236,6 +241,7 @@ module.exports = {
ensureRole,
ensureRoleSafe,
getRoleSync,
getAttendantSync,
resetRole,
queryOrders,
guardAdminPage