feat(workbench): 「患者召回」重构为「今日待办」看板 #200
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/today-todo-board"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
把「患者召回」从营销召回语义重构为**「今日待办」每日处理看板**(用户拍板)。纯前端,不改后端/路由 path/集群。
决策
改动(2 文件)
WorkbenchShell.tsx:菜单 label + icon。recall/RecallBoardPage.tsx:整页重构(文件名/导出/路由 import 保留,零路由风险)。顶部 4 类计数汇总卡;4 个 tab 各带未处理计数徽标:listRecallCandidates(保留定期/术后复查+间隔月作查看筛选;单条「创建召回任务」/「去档案」,无批量生成)getTomorrowReminders+复用 ReminderCard(perm appointment:reminder:read)listFollowupBoard(仅未结案 open/rescheduled;逾期红标;跳随访看板处理)listRecalls('pending')+复用 RecallTaskCard+updateRecallStatus删除:转化分析(getRecallConversion/LineChart 等)、generateRecalls 批量、状态 Segmented。无权限 tab 不显示、不 crash。
验证
🤖 Generated with Claude Code
将偏营销运营的患者召回页改造为前台每日待办清单,语义从「召回」转为 「今日待办」:治疗/复查临期患者自动进入,去掉运营功能。 - 侧栏菜单「患者召回」→「今日待办」(path 不变,换待办清单图标) - 4 类待办 tab(带未处理计数徽标): ① 治疗·复查临期 listRecallCandidates(类型/间隔仅作查看筛选, 操作=单条创建召回 / 去患者档案,去掉一键批量生成) ② 明日到诊 getTomorrowReminders + ReminderCard(需 appointment:reminder:read) ③ 随访到期 listFollowupBoard(仅 open/rescheduled,逾期红标,跳随访页/档案; 需 treatment:followup:read 或 treatment:plan:read) ④ 召回跟进 listRecalls('pending') + RecallTaskCard + updateRecallStatus - 顶部 4 类计数汇总卡(随访逾期>0 标红) - 删除「转化分析」tab(移除 getRecallConversion/LineChart/Statistic 相关代码) - 删除「一键批量生成召回」(generateRecalls) 批量运营操作 - 无权限的 tab 不显示,整页不 crash Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.