feat(order): 订单池接单与共享入口,实习陪诊师只读
列表展示未分配/共享给我标记并新增接单按钮;详情页支持接单与共享给在职陪诊师,实习仅可查看脱敏信息。
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user