perf(health): 随访列表内联负责人名称 — 消除 N+1 查询
follow_up list_tasks 批量查询 users 表获取 assigned_to_name, 前端移除 doctorLabels 逐条请求缓存,直接使用后端内联字段。
This commit is contained in:
@@ -7,6 +7,7 @@ export interface FollowUpTask {
|
||||
patient_id: string;
|
||||
assigned_to?: string;
|
||||
patient_name?: string;
|
||||
assigned_to_name?: string;
|
||||
follow_up_type: string;
|
||||
planned_date: string;
|
||||
status: string;
|
||||
|
||||
Reference in New Issue
Block a user