fix: 全面修复 - 实时通讯、报告AI流程、健康概览、用药运动提醒

- SignalR Hub消息持久化+防重复+跨端广播
- 报告VLM+LLM真实AI流程(验证→提取→解读)
- 医生审核页重构(严重程度/建议模板/综合评语)
- 健康概览五合一趋势图(fl_chart+指标切换)
- 用药提醒时区修复+跨午夜+过期提醒
- 运动打卡DayOfWeek映射修复+计划覆盖查询
- 体重与其他四指标同级(Abnormal检查/确认卡牌)
- AI Agent支持多种类多时段批量录入
- 删除硬编码假数据(张三/假医生/假AI解读)
- 随访/报告审核数据链路全部打通
This commit is contained in:
MingNian
2026-06-07 23:04:23 +08:00
parent d0d7d8428d
commit 287eab80a9
67 changed files with 1765 additions and 680 deletions

View File

@@ -25,7 +25,7 @@ Widget buildPage(RouteInfo route) {
case 'home':
return const HomePage();
case 'trend':
return TrendPage(metricType: params['type'] ?? '');
return TrendPage(metricType: params['type']?.isNotEmpty == true ? params['type'] : null);
case 'calendar':
return const HealthCalendarPage();
case 'medications':
@@ -37,7 +37,7 @@ Widget buildPage(RouteInfo route) {
case 'reportDetail':
return ReportDetailPage(id: params['id']!);
case 'aiAnalysis':
return const AiAnalysisPage();
return AiAnalysisPage(id: params['id']!);
case 'doctors':
return const DoctorListPage();
case 'consultation':