feat(ai): Phase 2A-3 随访页 AI 辅助生成小结 — SSE 端点 + 前端集成
- AnalysisType 新增 FollowUpSummary 变体(as_str/prompt_name) - HealthDataProvider 新增 get_follow_up_summary_data() + FollowUpSummaryDataDto - erp-health 实现随访数据查询(task + records + PII 解密) - 新增 /ai/analyze/follow-up-summary SSE 端点 - SanitizationService 新增 sanitize_follow_up_data() - 前端 analysisSse.ts/AiAnalysisCard 支持 follow-up-summary 类型 - FollowUpTaskList 操作列新增「AI 小结」按钮
This commit is contained in:
@@ -426,6 +426,10 @@ impl AiModule {
|
||||
"/ai/analyze/report-summary",
|
||||
axum::routing::post(crate::handler::stream_report_summary),
|
||||
)
|
||||
.route(
|
||||
"/ai/analyze/follow-up-summary",
|
||||
axum::routing::post(crate::handler::stream_follow_up_summary),
|
||||
)
|
||||
.route(
|
||||
"/ai/analysis/history",
|
||||
axum::routing::get(crate::handler::list_analysis),
|
||||
|
||||
Reference in New Issue
Block a user