fix(health): 走查止血 — 患者名显示修复 + 枚举补全 + 医护统计 + 设备选择器
后端: - alert_service: list_alerts 批量查询 patient_name 填充 AlertResponse - consultation_service: list_sessions 批量查询 patient_name/doctor_name - erp-ai handler: list_analysis 通过 raw SQL 查询 patient_name 前端: - AlertList/AlertDashboard: 使用后端返回的 patient_name 替代 ID 截断 - ConsultationDetail: 使用 patient_name/doctor_name 替代 ID 截断 - AiAnalysisList: 使用 patient_name 替代 ID 截断 - constants/health: SEVERITY 补 high/medium, STATUS 补 active - AdminDashboard: 医护人数改为 API 查询(useStatsData 新增 doctorCount) - DeviceManage: 患者 ID 输入改为 PatientSelect 搜索选择器
This commit is contained in:
@@ -74,6 +74,7 @@ pub struct AcknowledgeAlertRequest {
|
||||
pub struct AlertResponse {
|
||||
pub id: Uuid,
|
||||
pub patient_id: Uuid,
|
||||
pub patient_name: Option<String>,
|
||||
pub rule_id: Uuid,
|
||||
pub severity: String,
|
||||
pub title: String,
|
||||
|
||||
Reference in New Issue
Block a user