feat(medications): 添加AI用药分析功能
- 集成流式AI分析接口,支持实时展示分析结果 - 添加VIP权限校验和会员弹窗引导 - 使用Markdown渲染AI分析内容 - 优化底部按钮布局,AI分析按钮占2/3宽度 - 支持请求取消和错误处理 - 自动滚动到分析结果区域 - InfoCard组件优化,图标、标签和箭头排列在同一行
This commit is contained in:
@@ -42,6 +42,7 @@ export interface Medication {
|
||||
endDate?: string | null; // 结束日期 ISO(可选)
|
||||
repeatPattern: RepeatPattern; // 重复模式
|
||||
note?: string; // 备注
|
||||
aiAnalysis?: string; // AI 分析结果(Markdown 格式)
|
||||
isActive: boolean; // 是否激活
|
||||
deleted: boolean; // 是否已删除(软删除标记)
|
||||
createdAt: string; // 创建时间
|
||||
|
||||
Reference in New Issue
Block a user