Commit Graph
254 Commits
Author SHA1 Message Date
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
17792275749andClaude Opus 4.7 c4bde77fd1 style(userManagement): 设备图标加最小宽度
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-08-25 21:11:48 +08:00
17792275749andClaude Opus 4.7 f3f4d56ceb fix(equipment): 回前台自动重连后同步设备连接状态
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-08-25 21:11:42 +08:00
17792275749andClaude Opus 4.7 e95d28a87b feat(lefu): 切后台挂起连接、回前台自动重连
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-08-25 20:57:00 +08:00
17792275749andClaude Opus 4.7 3dea0382f7 feat(equipment): 数据补传读取并上传历史数据
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-08-25 20:18:38 +08:00
17792275749andClaude Opus 4.7 d59aad4f44 fix(userManagement): 编辑传主键id与成员来源标注
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-08-25 19:20:30 +08:00
17792275749andClaude Opus 4.7 48b75f37c9 feat(userManagement): 成员编辑删除与运维模式接口区分
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-08-25 19:06:03 +08:00
17792275749andClaude Opus 4.7 2afe598881 feat(ops): 设备与绑定接口接入运维模式路径区分
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-08-25 19:05:58 +08:00
17792275749andClaude Opus 4.7 431be11ecd feat(equipment): 设备WIFI跳转与数据补传入口
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-08-25 16:12:00 +08:00
17792275749andClaude Opus 4.7 2595080d9a feat(userManagement): 同步前读设备主用户并支持长按清空重新下发
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-08-25 16:11:55 +08:00
17792275749andClaude Opus 4.7 f6d6591c69 feat(equipment): 接入运维模式开关与编辑用户 mode 字段
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-08-25 14:12:29 +08:00
17792275749andClaude Opus 4.7 2e07a7fcee feat(equipment): 设备列表升级 v6 接口并接入取消配对
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-08-25 13:51:15 +08:00
17792275749andClaude Opus 4.7 5572c2212a style(selectMemberDrawer): 简化成员头像为性别图片
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-08-25 11:49:01 +08:00
17792275749andClaude Opus 4.7 f8047c3eef style: 头像改用性别图片
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-08-25 11:46:47 +08:00
17792275749andClaude Opus 4.7 0bf50f7ff4 style(selectMemberDrawer): 调整选择用户抽屉布局
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-08-25 11:21:47 +08:00
17792275749andClaude Opus 4.7 76879270ba feat(home): 首页接入最新测量数据与空态
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-08-25 11:00:58 +08:00
17792275749andClaude Opus 4.7 e69db66eab feat(my): 个人信息页回显缓存用户信息与单位部门字段
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-08-25 10:43:47 +08:00
17792275749andClaude Opus 4.7 18704cbb76 feat(data): 历史数据页接入统计与历史接口,切换用户抽屉接真实成员
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-08-25 10:43:44 +08:00
17792275749andClaude Sonnet 4.6 0fcb6eebef feat(my): 我的页新增退出登录,清空 lefu 与本地信息
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-08-24 19:39:42 +08:00
17792275749andClaude Sonnet 4.6 4b61c882a1 feat(addUser): 添加用户模块接入员工查询与身份证复用
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-08-24 19:31:04 +08:00
17792275749andClaude Sonnet 4.6 a80a5cd939 feat(userManagement): 设备成员管理接入成员列表接口与同步标记
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-08-24 19:00:36 +08:00
17792275749andClaude Sonnet 4.6 f750d15150 fix(device): 修复设备切换连接订阅累积与自动重连,连接后更新缓存
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-08-24 17:06:27 +08:00
17792275749andClaude Sonnet 4.6 6ffda3f3f3 feat(equipment): 设备列表接入真实接口并调整字段映射
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-08-24 15:44:55 +08:00
17792275749andClaude Sonnet 4.6 17113759b8 feat(device): 连接设备后订阅设备信息并绑定 SN 到用户
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-08-24 15:31:46 +08:00