Commit Graph
207 Commits
Author SHA1 Message Date
17792275749andClaude Sonnet 4.6 9e8e26cb19 style(equipment): 设备操作按钮图标与文字尺寸微调
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-09-11 14:11:42 +08:00
17792275749andClaude Sonnet 4.6 6731ec2403 feat(supplementPersonal): 提交按钮文案改为"开始使用"
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-09-11 14:09:35 +08:00
17792275749andClaude Sonnet 4.6 fa0246d1e5 feat(equipment): 已配对设备行按钮重构,添加设备入口仅运维可见
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-09-11 14:09:35 +08:00
17792275749andClaude Sonnet 4.6 b3e2a11423 chore(config): trial 环境域名切换到正式网关
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-09-11 14:09:32 +08:00
17792275749andClaude Opus 4.7 69d8fa75a5 feat(userManagement): 长按标题弹窗确认后重置设备用户并上报
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-09-04 17:36:48 +08:00
17792275749andClaude Opus 4.7 507915f2c4 fix(lefu): 搜索时 UNAVAILABLE 抖动不再清空协议,修复返回后设备误判断开
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-09-03 17:29:49 +08:00
17792275749andClaude Opus 4.7 97bf4674c0 fix(connectedWifi): 修正密码显隐图标切换逻辑
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-09-03 16:03:29 +08:00
17792275749andClaude Opus 4.7 bf501de628 feat(detailedReport): 基础指标label写死缺失显示-、躯干四肢无数据隐藏
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-09-03 11:45:39 +08:00
17792275749andClaude Opus 4.7 fb7c33c05f feat(addUser): 身份证合法时未填姓名则前端先解析性别年龄生日
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-09-03 11:39:33 +08:00
17792275749andClaude Opus 4.7 8284bf107b feat(data): 体重差值按 weightDiff/weightTrend 动态渲染并区分增减颜色
- 差值图标与数值改用后端 weightDiff/weightTrend
- 首次测量/持平不显示差值块
- 增加红色、减少绿色

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-09-03 08:50:51 +08:00
17792275749andClaude Opus 4.7 e0f201f15c feat(supplementPersonal): 身高体重范围校验并失焦清空
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-09-02 19:44:56 +08:00
17792275749andClaude Opus 4.7 1dfda24645 feat(addUser): 生日不超今天、身高体重范围校验并失焦清空
- 出生年月 picker 限制到今天
- 身高 50-250cm、体重 20-300kg
- 失焦时越界值清空并提示

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-09-02 19:44:53 +08:00
17792275749andClaude Opus 4.7 55cdeae1ba fix(addUser): 家庭用户身份证查询报错时提交前重新查询并重置状态
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-09-02 19:34:36 +08:00
17792275749andClaude Opus 4.7 4e51432b8a feat(userManagement): 删除成员确认文字区分他人添加
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-09-02 19:15:20 +08:00
17792275749andClaude Opus 4.7 8f5ccdd7e3 fix(supplementPersonal): 查询报错时提交前重新查询直到成功
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-09-02 19:15:14 +08:00
17792275749andClaude Opus 4.7 00394bf8c4 feat(userManagement): 运维模式隐藏一键添加本人并优化本人卡片与同步弹框
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-09-02 18:29:08 +08:00
17792275749andClaude Opus 4.7 e595ff9f64 fix(connectedDevice): 绑定失败读取接口返回的 msg
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-09-02 18:29:05 +08:00
17792275749andClaude Opus 4.7 8e3da13d52 feat(userManagement): 员工隐藏编辑按钮
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-09-02 16:51:03 +08:00
17792275749andClaude Opus 4.7 df48e3919d chore(connectedWifi): 附近WiFi刷新按钮常显
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-09-02 16:11:37 +08:00
17792275749andClaude Opus 4.7 a462feaa62 chore(connectedDevice): 恢复找不到设备帮助文案并优化权限引导
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-09-02 15:30:40 +08:00
17792275749andClaude Opus 4.7 0ffb3740fb feat(data): 历史记录列表卡片化改版
- 新增记录列表标题与总条数
- 每条记录展示体重及增减徽标、BMI与体脂率
- 新增加减号图标资源

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-09-02 11:13:45 +08:00
17792275749andClaude Opus 4.7 7a1e8942a9 feat(detailedReport): 基础指标完善评分单位、健康评价等级与BMI状态
- 健康评分补"分"单位
- 健康评价展示等级文案(如"亚健康")替代数值
- BMI名称后跟体型状态胶囊,颜色取底部刻度色

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-09-02 10:36:23 +08:00
17792275749andClaude Sonnet 4.6 680794702e fix(equipment): 连接设备增加超时与失败兜底,避免加载一直转圈
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-09-01 18:10:39 +08:00
17792275749andClaude Sonnet 4.6 4be9712000 chore(selectMemberDrawer): 空态增加提示文案
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-09-01 17:24:10 +08:00
17792275749andClaude Sonnet 4.6 f7dba359d3 chore(equipment): 调整绑定设备文案与已配对区块显示
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-09-01 17:24:07 +08:00
17792275749andClaude Sonnet 4.6 6069367b90 feat(userManagement): 已删除成员禁止编辑删除并优化展示
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-09-01 17:24:03 +08:00
17792275749andClaude Sonnet 4.6 1ef5c5d834 chore(userManagementSync): 完成对勾加粗
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-09-01 17:02:31 +08:00
17792275749andClaude Sonnet 4.6 95b6b7679b chore: 升级 ppScale 插件版本至 0.0.32
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-09-01 17:02:28 +08:00
17792275749andClaude Sonnet 4.6 8d69249147 feat: 接口错误处理增强,统一打印并展示后端错误信息
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-09-01 16:57:28 +08:00
17792275749andClaude Sonnet 4.6 85523109f6 feat(userManagement): 添加用户上限 10 位校验
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-09-01 16:57:19 +08:00
17792275749andClaude Sonnet 4.6 b90c79df9f feat(userManagementSync): 同步弹框增加转圈圈与完成对勾
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-09-01 16:56:46 +08:00
17792275749andClaude Opus 4.7 effd4f2068 fix(addUser): 姓名输入框补绑 blur,先输身份证后输姓名也能触发计算
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-09-01 16:11:04 +08:00
17792275749andClaude Opus 4.7 bbd6781a27 chore(userManagement): 调整设备卡片展示字段与文案
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-09-01 15:18:39 +08:00
17792275749andClaude Opus 4.7 fe3e0a7f0a chore(selectMemberDrawer): 标题栏增加图标并调整文案
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-09-01 15:16:47 +08:00
17792275749andClaude Opus 4.7 90c0ff65da chore(equipment): 调整设备卡片展示字段与文案
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-09-01 12:42:30 +08:00
17792275749andClaude Opus 4.7 d5b1bfb31a chore(connectedDevice): 隐藏帮助文案与 deviceId 调试信息
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-09-01 12:42:01 +08:00
17792275749andClaude Opus 4.7 322440b9c7 fix(connectedDevice): 返回时恢复被扫描打断的连接
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-09-01 12:41:58 +08:00
17792275749andClaude Opus 4.7 c0bc61621b feat(connectedWifi): 配网成功展示完成并隐藏刷新,未配网展示跳过
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-09-01 11:57:28 +08:00
17792275749andClaude Opus 4.7 13d23376c2 fix(detailedReport): BMI 刻度落点按四段分界计算并计入色块间隙
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-08-28 15:49:08 +08:00
17792275749andClaude Opus 4.7 5a6281c9d8 fix(equipment): 取消配对时断开当前连接设备并清缓存
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-08-28 15:49:05 +08:00
17792275749andClaude Opus 4.7 5b9a66afc7 fix(addUser): 员工编号查询接口版本 v6 调整为 v5
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-08-28 15:49:01 +08:00
17792275749andClaude Opus 4.7 b94a6780f0 feat(env): 新增环境识别,网关地址按环境自动切换
- 新增 utils/env,用 wx.getAccountInfoSync().miniProgram.envVersion 识别 develop/trial/release
- request 与 lefu 的地址由硬编码改为按环境映射,develop/trial 走测试网关,release 走正式网关

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-08-28 11:59:44 +08:00
17792275749andClaude Opus 4.7 b4b2d2c7f3 fix(connectedDevice): 连接后等 SN 到位再绑定,拿不到 SN 时断开重置
- 连接成功后同时监听 deviceConnect 与 deviceInfo,两个信号都到位才调绑定接口,避免空 SN 绑定
- 15 秒超时仍拿不到 SN 时断开连接、清缓存、重置页面状态

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-08-28 11:38:52 +08:00
17792275749andClaude Opus 4.7 4d39449a0d fix(connectedDevice): 连接后绑定设备成功再跳转,失败时重置状态
- 手动/自动连接成功后 bindDevice 接口成功才缓存设备并跳配网
- bindDevice 失败时断开连接、清缓存、重置页面状态

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-08-27 18:16:41 +08:00
17792275749andClaude Opus 4.7 9a307783f9 feat(userManagement): 成员列表增加已删除状态展示
- delFlag=1 的成员显示「已删除」红色状态
- 已删除成员卡片半透明

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-08-27 14:48:34 +08:00
17792275749andClaude Opus 4.7 dbb2ab8423 fix: 修复蓝牙连接误报与 WiFi 列表获取问题,完善一键添加本人
- connectedDevice 忽略 connect 过程中的 UNAVAILABLE 抖动,避免误报蓝牙关闭
- getWifiList 加 settled 保护,onStartSearch 加防重入
- userManagement 一键添加本人(仅加后台、不下发设备)

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-08-27 14:02:21 +08:00
17792275749andClaude Opus 4.7 b4d3a034ba fix(detailedReport): 卡片无数据时隐藏整卡,wx:if 统一写 block 上
- 删除多余的 isEightElectrode 字段
- 各指标卡片 rows 为空时不渲染标题
- wx:if 统一移到 block 上,符合 wxml 规范

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-08-26 16:08:37 +08:00
17792275749andClaude Opus 4.7 92de746f9e fix(userManagement): 下发用户改用 userId,修正误用记录主键 id
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-08-26 14:32:31 +08:00
17792275749andClaude Opus 4.7 f771bb97d6 feat(userManagement): 同步支持删除标记,完成后统一刷新列表
- 列表含 delFlag=1 时清空设备后下发未删除用户并全量上报
- 长按标题清空重下发、不上报
- 同步完成统一重新拉取用户列表,前端不本地维护同步状态

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-08-26 09:53:22 +08:00
17792275749andClaude Opus 4.7 548c26cad5 feat: 数据补传改为整包上传,帮助中心补空状态
- equipment 数据补传一次上传整个列表(list 参数),注释掉 memberId
- helpCenter 问题列表补空数据展示
- userManagement 删除成员接口 v2 调整为 v6
- my 页面按钮字体加粗

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-08-26 09:07:35 +08:00