{/* 趋势图 */}
{/* 最新记录摘要条 */}
{latest && (
最新记录({latest.record_date})
{latest.systolic_bp_morning != null && (
收缩压 {latest.systolic_bp_morning} mmHg
)}
{latest.diastolic_bp_morning != null && (
舒张压 {latest.diastolic_bp_morning} mmHg
)}
{latest.heart_rate != null && (
心率 {latest.heart_rate} bpm
)}
{latest.weight != null && (
体重 {latest.weight} kg
)}
{latest.blood_sugar != null && (
血糖 {latest.blood_sugar} mmol/L
)}
)}
{/* 操作栏 + 表格 */}
历史记录(共 {total} 条)
}
onClick={() => { form.resetFields(); setModalOpen(true); }}
size="small"
>
录入体征
refresh(p),
showTotal: (t) => `共 ${t} 条`,
size: 'small',
style: { margin: 0 },
}}
scroll={{ x: 600 }}
/>
setModalOpen(false)}
onOk={() => form.submit()}
confirmLoading={submitting}
destroyOnClose
width={600}
>
);
}