feat: 应用内通知系统 + 结构化手术史/用药等相关改动
- 新增用户通知 outbox 流水线(EfUserNotificationPipeline)与后台投递 worker - 通知中心页面及前端通知服务接入 - 健康指标异常、用药/运动提醒等事件统一产出站内通知 - 健康档案结构化手术史、用药提醒扫描、医生/用户端点等配套调整 - AppDbContext 注册通知相关实体
This commit is contained in:
@@ -1464,13 +1464,13 @@ class ChatMessagesView extends ConsumerWidget {
|
||||
? '${bp['systolic'] ?? '--'}/${bp['diastolic'] ?? '--'}'
|
||||
: null;
|
||||
final hr = healthData['HeartRate'];
|
||||
final hrText = hr is int ? '$hr' : null;
|
||||
final bs = healthData['BloodSugar'];
|
||||
final bsText = bs is num ? '$bs' : null;
|
||||
final bo = healthData['BloodOxygen'];
|
||||
final boText = bo is num ? '$bo' : null;
|
||||
final hrText = hr is Map && hr['value'] is num ? '${hr['value']}' : null;
|
||||
final bs = healthData['Glucose'];
|
||||
final bsText = bs is Map && bs['value'] is num ? '${bs['value']}' : null;
|
||||
final bo = healthData['SpO2'];
|
||||
final boText = bo is Map && bo['value'] is num ? '${bo['value']}' : null;
|
||||
final wt = healthData['Weight'];
|
||||
final wtText = wt is num ? '$wt' : null;
|
||||
final wtText = wt is Map && wt['value'] is num ? '${wt['value']}' : null;
|
||||
final allNull =
|
||||
bpText == null &&
|
||||
hrText == null &&
|
||||
|
||||
Reference in New Issue
Block a user