feat(web): Web 前端功能完善 — API 扩展 + 组件优化

- 新增 AI 透析分析 API + 药物提醒 API
- MediaPicker/ThemeSwitcher/usePaginatedData 优化
- 健康管理页面组件增强(Banner/Consultation/Doctor/MediaLibrary 等)
- PluginCRUDPage 导入优化
This commit is contained in:
iven
2026-05-13 23:28:22 +08:00
parent 616e0a1539
commit e4e5ef04d4
36 changed files with 332 additions and 69 deletions

View File

@@ -73,7 +73,7 @@ export default function MediaPicker({ open, onClose, onSelect, accept = 'image/*
onCancel={onClose}
footer={null}
width={720}
destroyOnClose
destroyOnHidden
>
<div style={{ display: 'flex', gap: 8, marginBottom: 16 }}>
<Input

View File

@@ -55,7 +55,7 @@ export default function ThemeSwitcher() {
);
return (
<Dropdown dropdownRender={() => content} trigger={['click']} placement="bottomRight">
<Dropdown popupRender={() => content} trigger={['click']} placement="bottomRight">
<div className="erp-header-btn" title="切换主题">
<BgColorsOutlined style={{ fontSize: 16 }} />
</div>