From ca32be59be3f5866e9a0e2203738b8121e5ac1aa Mon Sep 17 00:00:00 2001 From: iven Date: Tue, 28 Apr 2026 01:34:16 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20UI/UX=20=E8=AE=BE=E8=AE=A1=E8=A7=84?= =?UTF-8?q?=E6=A0=BC=E4=BA=8C=E8=BD=AE=E4=BF=AE=E8=AE=A2=20=E2=80=94=20?= =?UTF-8?q?=E5=A1=AB=E5=85=85=E8=A1=A8=E5=8D=95=E5=88=86=E7=BB=84=E8=A1=A8?= =?UTF-8?q?=E3=80=81=E4=BF=AE=E6=AD=A3=20any=E2=86=92unknown?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../specs/2026-04-28-ui-ux-overhaul-design.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/superpowers/specs/2026-04-28-ui-ux-overhaul-design.md b/docs/superpowers/specs/2026-04-28-ui-ux-overhaul-design.md index 76a6507..6a0e1c9 100644 --- a/docs/superpowers/specs/2026-04-28-ui-ux-overhaul-design.md +++ b/docs/superpowers/specs/2026-04-28-ui-ux-overhaul-design.md @@ -298,7 +298,7 @@ interface DrawerFormProps { title: string; // 抽屉标题 open: boolean; onClose: () => void; - onSubmit: (values: Record) => Promise; + onSubmit: (values: Record) => Promise; initialValues?: Record; loading?: boolean; width?: number | string; // 默认 640 @@ -330,6 +330,15 @@ interface FilterBarProps { ### 3.5 表单分组规范 +中等/复杂表单必须分组,每组有标题: + +| 表单 | 分组 1 | 分组 2 | 分组 3 | 分组 4 | +|------|--------|--------|--------|--------| +| 患者 | 基本信息(姓名/性别/出生日期/血型) | 联系方式(手机/身份证/地址) | 医疗信息(过敏史/备注) | 紧急联系人(姓名/电话/关系) | +| 预约 | 患者信息(患者/类型/日期) | 医生信息(医生/时段/排班状态) | — | — | +| 随访 | 基本信息(患者/计划日期/类型) | 填写内容(执行人/结果/备注) | — | — | +| 积分商品 | 基本信息(名称/类型/积分/库存) | 展示(图片/描述/上架状态) | — | — | + ### 3.6 表单交互规范 - 所有表单字段编辑时必须完整回填(当前患者编辑缺失 allergy_history/notes)