Commit Graph
256 Commits
Author SHA1 Message Date
fengpu 14a80cb167 feat: 优化营养模块净菜联动与小程序登录 2026-06-18 09:54:31 +08:00
zhangyanandClaude Opus 4.6 e663b7e827 feat: 时间格式统一为年月日时间,配比秤详情页增加订单类型
- clean-veg-ratio-scale/01: 任务截止时间从 HH:MM 改为 YYYY-MM-DD HH:MM
- ratio-scale/01: 期望到货→任务截止时间,格式改为年月日时间
- ratio-scale/02: 订单信息区增加内供/外售订单类型标签,去掉任务号

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-17 17:38:13 +08:00
zhangyanandClaude Opus 4.6 8effdb2e15 fix: 配比秤已完成订单不再显示"全部完成"按钮
已完成状态仅保留状态徽章,去掉冗余的不可用按钮。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-17 17:12:25 +08:00
zhangyanandClaude Opus 4.6 0f3566f990 feat: 配比秤增加订单类型标签,加工秤去掉冗余按钮
- ratio-scale/01: 新增内供/外售订单类型标签(蓝/橙),移除任务号及每份用量列(8→7列)
- clean-veg-ratio-scale/01: 去掉刷新、保存、保存并继续按钮及相关逻辑

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-17 17:10:41 +08:00
zhangyanandClaude Opus 4.6 c94658f083 refactor: 净菜配比秤数据结构扁平化 & 配比确认弹窗改造
- 01/02 页:任务改为一对多(mealPacks数组),支持净菜包+餐品净菜包混合
- 01 页:表格6列→8列,新增净菜/餐品、包装规格列
- 02 页:食材清单表格→卡片布局,AI识别后弹窗确认替代自动称重
- 03 页:候选列表按置信度降序排列
- 营养秤PRD:返回路径改为三级优先级(referer→document.referrer→index.html)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-17 12:01:18 +08:00
zhangyanandClaude Opus 4.6 1120bac840 fix: index.html 净菜验收 → 净菜加工
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-17 11:05:48 +08:00
zhangyanandClaude Opus 4.6 c74c573a97 fix: 删除净菜卡片右上角 × 按钮
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-17 09:51:17 +08:00
zhangyanandClaude Opus 4.6 0dbeab8192 fix: 处理进度(斤) → 累计加工(斤)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-17 09:51:02 +08:00
zhangyanandClaude Opus 4.6 143b38ffca fix: 处理进度(斤) → 累计加工
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-17 09:50:22 +08:00
zhangyanandClaude Opus 4.6 15ce29e7a3 fix: 期望到货改名任务截止时间,移至净菜名称后
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-17 09:50:08 +08:00
zhangyanandClaude Opus 4.6 c30805c103 fix: 增强卡片删除按钮可见性,加边框和更大尺寸
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-17 09:47:24 +08:00
zhangyanandClaude Opus 4.6 ae12cd3710 feat: 卡片按上游期望到货时间排序,新增到达时间展示
- mockFoods/foodDatabase 全部食材新增 arrivalTime 字段
- renderFoodCards 按到达时间升序排列
- 每张卡片新增「期望到货 HH:MM」信息展示
- 获取任务/搜索/候选添加均携带到达时间

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-17 09:46:53 +08:00
zhangyanandClaude Opus 4.6 80a81175c9 feat: 任务获取改为自动轮询,全部完成后才拉取新任务
- 自动轮询每5秒检查,全部卡片完成则自动获取新任务
- 手动「获取任务」按钮:有未完成任务时提示等待
- 确保新获取的任务进度均未完成

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-17 09:45:11 +08:00
zhangyanandClaude Opus 4.6 f3a3701397 feat: 获取任务新增未完成净菜卡片,进度100%自动隐藏
- 「获取任务」按钮新增随机未完成净菜加工任务(进度0~70%)
- 卡片进度=100%时自动隐藏
- 使用唯一ID定位删除,避免索引错位
- 顶部「刷新」按钮保留,用于对已有卡片弹窗确认重量

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-17 09:43:12 +08:00
zhangyanandClaude Opus 4.6 700495771b feat: 右列卡片区上方新增醒目的「获取任务」按钮
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-17 09:39:52 +08:00
zhangyanandClaude Opus 4.6 6256f7b9fa fix: 加工确认弹窗重量改为固定值展示+刷新按钮,不可手动编辑
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-17 09:35:22 +08:00
zhangyanandClaude Opus 4.6 769fcd5721 feat: 「下一步」改为「配比完成」,点击直接返回任务列表
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-17 09:18:32 +08:00
zhangyanandClaude Opus 4.6 d03f845622 refactor: 全局文案「称重」改为「配比」——配比任务、去配比、待配比
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-17 09:17:42 +08:00
zhangyanandClaude Opus 4.6 23388a8e9a feat: 净菜验收页改为净菜加工,卡片布局+累计数据+重量确认弹窗
- 菜单页按钮「净菜验收」改名「净菜加工」
- 页面标题改为「净菜加工」,顶部栏新增「刷新」按钮
- 右列表格改为两列卡片布局,展示处理进度(斤)和进度条
- 数据模型改为累计模式:processed/target
- 新增重量确认弹窗:识别/搜索/刷新后弹窗确认本次加工重量
- 确认后重量累加到卡片 processed,支持手动修改

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-17 09:14:56 +08:00
zhangyan 4dd064dd36 Revert "refactor: 去除订单维度,任务与餐品净菜包一对多,称重页按钮改为打包完成"
This reverts commit dc45b51430.
2026-06-17 09:13:43 +08:00
zhangyan c33e0c52d1 Revert "feat: 称重页支持多餐品包同时打包,任务列表按钮改为任务级"
This reverts commit dd0477f110.
2026-06-17 09:13:43 +08:00
fengpu 1a3cd3334e 冲突合并 2026-06-17 08:43:26 +08:00
fengpu d08ae27779 feat:记忆文件同步 2026-06-17 08:41:27 +08:00
liuyunqinandClaude Opus 4.8 7d64cc0dd7 feat: 体重管理Web管理端活动计划管理全面重构
- 新增 action-overview-detail.html(赛况明细,716行)含计划选择区/双维度Tab/多行表头表格
- 新增 plan-edit.html(新增/编辑计划,1092行)含表单/多Tab交互
- action-overview.html CSS重构为组件分段注释,新增计划选择区/筛选栏/单位部门双列面板/表格重构(多行表头+固定列+横向滚动),标签「行动总览」→「活动总览」
- action-record.html 全面重构,新增计划选择区/统计卡片/Tab切换/筛选栏/分页
- plan-list.html 全面重构,新增筛选栏/操作列固定/标签/分页/弹窗/人员筛选弹窗
- registration-tracking.html 全面重构,新增计划选择区/Tab切换/数值运算符筛选/单位部门双列面板
- target-weight-review.html 全面重构,新增计划选择区/Tab切换/审核按钮/数值运算符筛选/单位部门双列面板
- activity-statistics/detail-data/weight-ranking 侧边栏文字同步「行动总览」→「活动总览」
- index.html SITE_MAP 补全新增页面与标签更新
- 新增 doc/CHANGELOG.md

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-16 19:50:11 +08:00
zhangyanandClaude Opus 4.6 dd0477f110 feat: 称重页支持多餐品包同时打包,任务列表按钮改为任务级
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-16 16:42:13 +08:00
zhangyanandClaude Opus 4.6 dc45b51430 refactor: 去除订单维度,任务与餐品净菜包一对多,称重页按钮改为打包完成
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-16 16:32:38 +08:00
zhangyanandClaude Opus 4.6 801a75d7f3 feat: 称重打包页新增秤重显示、操作列、下一步弹窗流程,全局精简文案
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-16 16:11:51 +08:00
zhangyanandClaude Opus 4.6 2465e051dd fix: 菜单页精简为仅保留「净菜验收」入口
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-16 11:58:02 +08:00
zhangyanandClaude Opus 4.6 07be7fb86e fix: 净菜验收页删除验收进度条及相关逻辑
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-16 11:57:23 +08:00
zhangyanandClaude Opus 4.6 810a817e47 fix: 净菜验收页验收进度条加粗,增强可见性
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-16 11:53:22 +08:00
zhangyanandClaude Opus 4.6 aafecd719e refactor: 净菜加工秤模块重构为单一验收功能,拆分登录/菜单页面
- 重写 00-welcome.html 为独立居中登录页,登录成功跳转 01-menu.html
- 新建 01-menu.html 独立功能菜单页(净菜验收/验收记录/设置)
- 新建 01-accept.html 净菜验收主操作页,替代原任务列表/称重/切配三页
- 净菜列表新增删除按钮,允许移除已验收净菜
- 导航页 index.html 精简为「员工登录」和「净菜验收」两个入口
- 子页面返回按钮统一指向 01-menu.html,退出指向 00-welcome.html
- 删除旧页面:01-cutting-tasks、02-weighing、03-cutting

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-16 11:40:46 +08:00
zhangyanandClaude Opus 4.6 0da2f87505 refactor: 加工毛菜秤首页删除「称重录入」和「清洗操作」入口
删除这两个功能卡片及对应的子页面文件(02-weighing.html、03-washing.html),
仅保留员工登录、今日清洗任务、清洗记录、设备设置四个入口。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-16 08:33:20 +08:00
zhangyanandClaude Opus 4.6 dac2f771d2 refactor: 清洗任务页删除顶部"去处理"按钮
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-15 17:46:48 +08:00
fengpu 26681149b9 feat: 更新卫生供应存储方式联动 2026-06-15 17:45:54 +08:00
zhangyanandClaude Opus 4.6 b1c5a6cd5c feat: 来料过秤页面清单列表增加表头,优化重量展示
- 添加表头:食材名称、应取量、实取量、状态
- 应取量/实取量只显示数字,表头标明含义
- 状态列统一显示"待称重"/"已完成"

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-15 17:39:15 +08:00
zhangyanandClaude Opus 4.6 373c5f3d49 refactor: 清洗任务页已完成卡片删除冗余状态标签
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-15 17:35:35 +08:00
zhangyanandClaude Opus 4.6 25d7216534 feat: 所有业务页面添加返回按钮,实现从哪来回哪去
- 营养秤:开餐、餐品展示、取餐(单屏/双屏)、设置、采样、采样历史
- 验收秤:验收操作、设置、验收历史、食材采样、采样历史
- 加工毛菜秤:清洗任务、来料过秤、称重、清洗、净菜过秤、操作记录、设置
- 配比秤:打包任务、称重打包、打包记录、设置
- 净菜配比秤:切割任务、称重、切割、历史记录、设置

返回逻辑:优先 URL 参数 referer → document.referrer → index.html

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-15 17:34:48 +08:00
zhangyanandClaude Opus 4.6 130ad63094 feat: 今日清洗任务页面增加已录入重量列
- 在食材行中添加"已录入重量"列,显示每种食材的实际录入重量
- 已完成任务单显示完整已录入重量(绿色)
- 待处理任务单显示已录入重量(绿色)
- 新到达任务单显示"未录入"(灰色)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-15 17:29:08 +08:00
zhangyanandClaude Opus 4.6 4ffc38cd21 refactor: 验收秤采样历史页面删除采样备注字段
- 删除数据中的 note 字段
- 删除详情弹窗中的采样备注展示

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-15 17:19:38 +08:00
zhangyanandClaude Opus 4.6 5303fafd66 feat: 三端设备index页恢复员工登录入口卡片
- 验收秤index: 添加员工登录卡片
- 营养秤index: 添加员工登录卡片
- 加工毛菜秤index: 添加员工登录卡片

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-15 17:08:45 +08:00
zhangyanandClaude Opus 4.6 08b701feda refactor: 三端设备index页删除员工登录/功能菜单入口
- 营养秤index: 删除员工登录、功能菜单卡片,删除back-btn CSS
- 验收秤index: 删除员工登录卡片
- 加工毛菜秤index: 删除员工登录、功能菜单卡片

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-15 17:06:17 +08:00
zhangyanandClaude Opus 4.6 b4a6bff21f fix: 修复删除返回按钮后JS报错导致数据不渲染
- 01-verify-inspection.html 添加 topBackBtn 空值保护
- 避免 document.getElementById('topBackBtn') 返回 null 时 JS 崩溃

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-15 17:03:31 +08:00
zhangyanandClaude Opus 4.6 235505020f refactor: 毛菜验收秤导航页删除功能菜单卡片
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-15 17:00:08 +08:00
zhangyanandClaude Opus 4.6 2207a244a4 refactor: 全模块删除返回按钮
- 50个HTML页面移除top-bar中的返回(back-btn)元素
- 涉及餐线营养秤、毛菜验收秤、加工毛菜秤、清洗比例秤、比例秤及所有占位导航页

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-15 16:57:31 +08:00
fengpu 93230c567f Merge branch 'master' of https://gitea.rk-health.com/yixiong/platform-prototype 2026-06-15 16:31:54 +08:00
fengpu 3ab21c3f50 feat:记忆文件同步 2026-06-15 16:31:50 +08:00
zhangyanandClaude Opus 4.6 f74c3520bb refactor: 加工毛菜秤功能菜单删除来料过秤入口
- 来料过秤不再作为菜单独立入口,改由今日任务卡片"处理"按钮直接进入
- 设备设置描述从"设备参数配置"改为"设备信息查看、系统版本"

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-15 15:50:45 +08:00
zhangyanandClaude Opus 4.6 f8af6b4747 refactor: 毛菜验收秤—删除采样备注、验收溯源码、支付方式、历史详情抽屉
- 01-verify-inspection.html: 删除不合格处理说明文本域、食材行溯源标签、订单卡片付款模式徽章、汇总弹窗付款模式文字
- 03-verify-history.html: 删除验收详情抽屉(HTML/CSS/JS)、支付方式列、操作(详情)列
- index.html: 验收记录卡片描述更新
- CHANGELOG 同步

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-15 15:49:28 +08:00
zhangyanandClaude Opus 4.6 3c50fa83a4 feat: 营养秤登录/菜单页创建 + 来料过秤预填修复 + 多模块SITE_MAP同步
- 营养秤新增 00-login.html(人脸/账号密码登录)和 00-welcome.html(功能菜单)
- 修复 02-batch-weighing.html 预填逻辑:initTaskList 调用移至 batchItems 声明之后
- 验收秤/营养秤 index.html 新增登录页和菜单页卡片条目
- 清洗比例秤、比例秤等模块导航页完善

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-15 15:35:18 +08:00
liuyunqinandClaude Opus 4.8 00f2ef7e73 feat: 体重管理子页面补充—饮食/运动/体重打卡与记录、建议页、排行榜、报告页
- weight-main.html: 右上角三点菜单支持三种页面类型切换(已参加活动/已设置个人目标/未参加未设置),各类型卡片显隐控制
- 每日打卡三卡片(吃/动/体重)添加点击跳转至对应打卡页
- 膳食建议/运动建议/体重报告卡片添加跳转,报告卡片携带当前类型参数
- 排行榜新增缺省占位状态(未参加活动时显示空态提示)
- 新增10个子页面: diet-advice/eat-checkin/eat-history/exercise-advice/exercise-checkin/exercise-history/weight-checkin/weight-history/weight-ranking/weight-report
- employee-app/home/index.html 每日打卡卡片同步添加点击跳转
- index.html SITE_MAP 体重管理模块新增10个页面条目

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-12 18:08:29 +08:00