17792275749 and Claude 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
17792275749 and Claude Opus 4.7
5a6281c9d8
fix(equipment): 取消配对时断开当前连接设备并清缓存
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-08-28 15:49:05 +08:00
17792275749 and Claude 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
17792275749 and Claude 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
17792275749 and Claude 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
17792275749 and Claude 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
17792275749 and Claude 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
17792275749 and Claude 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
17792275749 and Claude 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
17792275749 and Claude 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
17792275749 and Claude 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
17792275749 and Claude 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
17792275749 and Claude Opus 4.7
c4bde77fd1
style(userManagement): 设备图标加最小宽度
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-08-25 21:11:48 +08:00
17792275749 and Claude Opus 4.7
f3f4d56ceb
fix(equipment): 回前台自动重连后同步设备连接状态
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-08-25 21:11:42 +08:00
17792275749 and Claude Opus 4.7
e95d28a87b
feat(lefu): 切后台挂起连接、回前台自动重连
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-08-25 20:57:00 +08:00
17792275749 and Claude Opus 4.7
3dea0382f7
feat(equipment): 数据补传读取并上传历史数据
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-08-25 20:18:38 +08:00
17792275749 and Claude 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
17792275749 and Claude Opus 4.7
48b75f37c9
feat(userManagement): 成员编辑删除与运维模式接口区分
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-08-25 19:06:03 +08:00
17792275749 and Claude Opus 4.7
2afe598881
feat(ops): 设备与绑定接口接入运维模式路径区分
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-08-25 19:05:58 +08:00
17792275749 and Claude 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
17792275749 and Claude Opus 4.7
2595080d9a
feat(userManagement): 同步前读设备主用户并支持长按清空重新下发
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-08-25 16:11:55 +08:00
17792275749 and Claude 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
17792275749 and Claude 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
17792275749 and Claude Opus 4.7
5572c2212a
style(selectMemberDrawer): 简化成员头像为性别图片
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-08-25 11:49:01 +08:00
17792275749 and Claude Opus 4.7
f8047c3eef
style: 头像改用性别图片
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-08-25 11:46:47 +08:00
17792275749 and Claude Opus 4.7
0bf50f7ff4
style(selectMemberDrawer): 调整选择用户抽屉布局
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-08-25 11:21:47 +08:00
17792275749 and Claude Opus 4.7
76879270ba
feat(home): 首页接入最新测量数据与空态
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-08-25 11:00:58 +08:00
17792275749 and Claude Opus 4.7
e69db66eab
feat(my): 个人信息页回显缓存用户信息与单位部门字段
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-08-25 10:43:47 +08:00
17792275749 and Claude Opus 4.7
18704cbb76
feat(data): 历史数据页接入统计与历史接口,切换用户抽屉接真实成员
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-08-25 10:43:44 +08:00
17792275749 and Claude 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
17792275749 and Claude Sonnet 4.6
4b61c882a1
feat(addUser): 添加用户模块接入员工查询与身份证复用
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-08-24 19:31:04 +08:00
17792275749 and Claude Sonnet 4.6
a80a5cd939
feat(userManagement): 设备成员管理接入成员列表接口与同步标记
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-08-24 19:00:36 +08:00
17792275749 and Claude Sonnet 4.6
f750d15150
fix(device): 修复设备切换连接订阅累积与自动重连,连接后更新缓存
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-08-24 17:06:27 +08:00
17792275749 and Claude Sonnet 4.6
6ffda3f3f3
feat(equipment): 设备列表接入真实接口并调整字段映射
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-08-24 15:44:55 +08:00
17792275749 and Claude 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
17792275749 and Claude Sonnet 4.6
e25e797b35
feat(home,my): 首页和我的页从缓存回显用户信息
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-08-24 15:31:12 +08:00
17792275749 and Claude Sonnet 4.6
90f84cc7df
feat(user): 补充个人信息页接入身份证已存在复用弹框与登录引导
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-08-24 11:54:33 +08:00
17792275749 and Claude Sonnet 4.6
9911dea32f
feat(lefu): 配网状态码描述映射,失败按状态码返回对应提示
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-08-24 10:31:28 +08:00
17792275749 and Claude Sonnet 4.6
31b745f2ab
feat(device): 引导检查附近设备权限,点击拉起系统授权设置
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-08-24 10:05:19 +08:00
17792275749 and Claude Sonnet 4.6
6fe36f59fe
fix(device): 扫描前检查系统蓝牙/定位开关,定位关闭时主动提示
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-08-24 09:12:10 +08:00
17792275749 and Claude Opus 4.7
9a81092c99
feat(userManagement): 接入用户同步到设备,恢复清空设备用户能力
...
- service 恢复 clearDeviceMembers/syncMembersToDevice,操作中断开立即失败
- syncMembersToDevice 只负责逐个下发,参数由业务层组装
- _doReconnect 增加蓝牙不可用判断
- userManagement 接入真实同步(连接状态实时同步 + 进度弹框)
- equipment 页增加用户管理入口
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-08-21 11:08:04 +08:00
17792275749 and Claude Opus 4.7
db865748f2
fix(device): 修复设备连接与配网多场景问题,同名设备用 deviceId 区分
...
- 连接中关闭蓝牙立即结束 loading,不再卡到超时
- onShow 已连接时同步标记,重新搜索不误标已连接设备
- 连接中防重入,搜索中切后台重置状态
- 配网成功立即退出配网模式,密码必填且 8-16 位
- 配网失败重试定时器可清理
- 同名设备改用 deviceId 唯一标识并展示
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-08-21 09:35:18 +08:00
17792275749 and Claude Opus 4.7
d6e59df4e9
feat: 详细报告接入 v3 测量历史接口,设备列表接入设备接口
...
- 详细报告按 scaleType 区分 4/8 电极渲染,节段卡片 8 电极专属
- 设备列表改为接口驱动并新增空态
- 登录后统一跳首页,请求层兼容 code 0 返回风格
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-08-20 17:20:07 +08:00
17792275749
fce9701254
feat(helpCenter): 帮助中心列表接入内容接口、问题详情页富文本渲染
2026-08-20 17:13:57 +08:00
17792275749 and Claude Opus 4.7
f53f11e6e9
feat(lefu): 迁移乐福体脂秤 SDK,接入设备扫描连接与 WiFi 配网
...
- 新增 lefu 服务层(扫描/连接/断开/保活重连/测量回调/WiFi 配网),事件回调支持多监听
- connectedDevice 接入真实蓝牙扫描连接,修复断线重连 UI 未同步、蓝牙/定位开关误判
- connectedWifi 接入真实 WiFi 配网,补连接状态校验与退出配网模式
- 新增 5 张设备图标并调整应用入口
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-08-20 15:57:16 +08:00
17792275749 and Claude Sonnet 4.6
feb494080c
feat(supplementPersonal): 保存后跳转首页、身高标必填、sn 参数改为可选
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-08-20 14:09:51 +08:00
17792275749 and Claude Sonnet 4.6
e5f76fc0a9
fix(request): 接口响应字段由 data 统一为 result 并调整成功码判断
...
ApiResponse 业务数据字段由 data 改为 result,成功码由字符串 '00000' 改为数字 200,
登录与补充资料页面同步改为读取 res.result。
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-08-20 11:19:03 +08:00
17792275749 and Claude Opus 4.7
cdef8e6513
fix(detailedReport): 基础指标刻度条补充当前值标记圆圈
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-08-20 10:40:36 +08:00
17792275749 and Claude Opus 4.7
090b33d0b3
feat(detailedReport): 新增躯干四肢脂肪与肌肉进阶成分网格卡片
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-08-20 10:34:48 +08:00
17792275749 and Claude Opus 4.7
1f5cc2c743
feat(detailedReport): 详细报告身体指标卡片静态实现
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-08-20 10:18:33 +08:00
17792275749 and Claude Opus 4.7
01bbcdecaf
feat(detailedReport): 完善详细报告指标数据与卡片结构
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-08-20 10:03:26 +08:00
17792275749 and Claude Opus 4.7
92b395b8bd
feat(detailedReport): 完善详细报告页面布局与图标资源
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-08-20 09:28:26 +08:00
17792275749 and Claude Opus 4.7
f13edf31b7
feat(navBar): 新增自定义导航栏组件,接入详细报告与我的页面
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-08-20 08:42:21 +08:00
17792275749 and Claude Opus 4.7
48ac39f0e0
feat(userManagement): 用户列表按本人/员工/家庭用户分组展示
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-08-19 16:33:48 +08:00
17792275749 and Claude Opus 4.7
97dffd9893
feat(equipment): 设备页用户按钮接入用户管理入口
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-08-19 16:01:45 +08:00
17792275749 and Claude Opus 4.7
3e0d260fdc
feat(userManagement): 用户管理新增空态与同步进度弹框组件
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-08-19 15:58:28 +08:00
17792275749 and Claude Opus 4.7
9040fc4fba
feat(userManagement): 新增用户管理页面并接入导航
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-08-19 15:29:53 +08:00
17792275749 and Claude Opus 4.7
b66caf515e
feat(addUser): 新增添加用户页面
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-08-19 15:20:55 +08:00
17792275749 and Claude Opus 4.7
21020a23b3
feat(equipment): 弹框组件新增转圈加载图标
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-08-19 14:42:27 +08:00
17792275749 and Claude Opus 4.7
eaec08a6e4
feat(equipment): 实现设备管理页面,新增运维模式与配对/补传弹框
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-08-19 14:27:51 +08:00
17792275749 and Claude Opus 4.7
3a67b26ed6
feat(my): 新增个人信息、帮助中心、问题详情页面并接入导航
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-08-19 09:53:56 +08:00
17792275749 and Claude Opus 4.7
cd11d711d5
style(data): 选择成员抽屉对齐设计稿样式并填充静态成员数据
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-08-19 09:13:37 +08:00
17792275749 and Claude Sonnet 4.6
7105363e13
feat(device): 新增搜索设备与 WiFi 配网页面,暂用假数据填充
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-08-17 18:19:38 +08:00
17792275749 and Claude Sonnet 4.6
3c62c31b5d
feat(data): 数据页接入选择成员抽屉,简化抽屉实现并复用空态组件
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-08-17 15:59:41 +08:00
17792275749 and Claude Sonnet 4.6
0c8285f390
feat(data,my): 实现数据页与我的页界面,新增选择成员抽屉组件
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-08-17 15:48:07 +08:00
17792275749 and Claude Sonnet 4.6
6ad51b00b1
style(home): 替换首页背景图并调整卡片样式,新增设备连接入口
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-08-17 15:06:07 +08:00
17792275749 and Claude Sonnet 4.6
8069b2767b
refactor(home): 重构首页布局与样式,改用静态示例数据占位
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-08-17 14:47:43 +08:00
17792275749 and Claude Sonnet 4.6
b264205cf4
feat: 新增首页、设备、数据、我的页面及底部 tabBar 导航
...
扩展应用结构,接入底部导航;完善个人信息页提交文案与校验代码风格。
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-08-17 13:46:52 +08:00
17792275749 and Claude Sonnet 4.6
83d909b95b
refactor: 项目重构,仅保留 login 和 supplementPersonal 页面
...
删除 11 个旧页面、组件、lefu SDK、旧资源文件。
新增 request 封装(GET/POST/PUT)、api 层、utils/common 身份证工具。
重写 login(登录流程提取到 app.ts) 和 supplementPersonal(简化表单逻辑)。
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-08-10 14:21:00 +08:00
17792275749 and Claude Sonnet 4.6
439f560218
fix(lefu): 完善蓝牙连接状态处理,修复断开后 UI 不同步问题
...
- connectState 回调增加 UNAVAILABLE 清理和 READY 自动重连
- disconnect() 增加 _intentionalConnect 标记避免误重连
- deviceWillDisconnect 增加 _activeProtocol 防重入判断
- connectedDevice/equipment/connectedWifi 增加断开状态响应
- connectedWifi 设备断开后自动退出配网页
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-07-21 09:43:49 +08:00
17792275749 and Claude Opus 4.7
15e089f5e3
fix(equipment): 进入页面不再信任缓存的蓝牙连接状态,每次走真实扫描
...
- _checkAndAutoConnect 去掉 isConnected+deviceInfo 缓存短路,始终走 autoConnect
- autoConnect 去掉 isConnected 短路,每次真实扫描
- connect() 先断开旧连接再建新连接,避免新旧连接冲突
- connectState CONNECTFAILED 时重置 _intentionalConnect,防止标记卡死
- deviceConnect handler 移除冗余的 _connectState 赋值
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-07-20 16:08:53 +08:00
17792275749 and Claude Opus 4.7
5705f9e622
fix(connectedDevice): 注释掉帮助文案区块
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-06-15 13:47:35 +08:00
17792275749 and Claude Opus 4.7
f8fc84b8e7
fix(addMember, editMember): 身份证查询 flag=101/null 分支补充回填 sex 和 birthday
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-06-15 11:58:38 +08:00
17792275749 and Claude Opus 4.7
587dfc1f3a
fix(addMember, editMember): 身份证查询无结果时补充设置 sex 和 birthday
...
fetchUserInfoByIdCard 查无此人时 parseIdCard 返回了 gender/age/sex/birthday
四个字段,原来只设了 gender 和 age,漏了 sex 和 birthday。
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-06-12 18:14:08 +08:00
17792275749 and Claude Opus 4.7
9b669aa486
fix(addMember): 员工编号查询结果保存完整数据,提交时作为 base 合并
...
员工 tab 提交时使用 employeeQueryResult(getUserInfoByWkno 返回的完整数据)
作为 payload base,确保 userId、deviceId 等字段不丢失。
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-06-12 18:09:44 +08:00
17792275749 and Claude Opus 4.7
24fda6becc
fix(equipmentMember): 移除删除主用户时的子用户检查限制
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-06-12 17:33:28 +08:00
17792275749 and Claude Opus 4.7
f10ce6656f
fix(addMember, editMember): 身份证号输入时同步更新性别、年龄、sex、出生年月
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-06-12 17:19:58 +08:00
17792275749 and Claude Opus 4.7
e8d40d7dfc
fix: API升级v5、错误提示优化、体重必填移除等
...
- selectMemberDrawer: v3→v5 API升级
- lefu/service: 统一错误提示文案
- equipmentMember: 修复删除确认弹框文案
- home: 优化加载中提示
- supplementPersonal: 移除体重必填校验
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-06-12 15:57:43 +08:00
17792275749 and Claude Opus 4.7
ea8f828702
fix(addMember, editMember): 身份证号输入时立即解析性别年龄,不再清空已有值
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-06-12 11:08:56 +08:00
17792275749 and Claude Opus 4.7
9b011b82a7
feat(editMember): 家庭用户编辑时接入身份证查询与确认弹框
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-06-12 08:33:39 +08:00
17792275749 and Claude Opus 4.7
c3b031aed4
feat(addMember, editMember): 接入员工编号查询,部门展示改用secondDepart/thirdDepart
...
- onQueryEmployee 接入 GET /weighingScale/v5/getUserInfoByWkno
- 单位展示由 workNo 改为 secondDepart / thirdDepart 拼接
- birthday 员工查询时回填,提交统一取值
- edit/user 接口 v3 升级到 v5
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-06-11 17:57:35 +08:00
17792275749 and Claude Opus 4.7
cb626c7c88
fix(addMember): 员工tab未查询到信息时隐藏底部按钮
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-06-11 14:01:55 +08:00
17792275749 and Claude Opus 4.7
e5871af764
refactor(addMember): 移除编辑逻辑,addMember改为纯新增页
...
- 删除SysUserDevice/isEdit/userId/onLoad等编辑回填逻辑
- onSubmit统一走添加流程
- ghost-btn去掉isEdit条件
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-06-11 13:38:28 +08:00
17792275749 and Claude Opus 4.7
4e4afd6958
feat(addMember): 员工/家庭双tab完整改造,状态机控制查询展示
...
- 员工tab:编号输入+查询→三种状态(未查询/查不到/查到展示)
- 家庭tab:familyInfo_卡片包裹,昵称/身份证/性别切换/出生年月/身高体重同行
- 切换tab或改编号即时清空查询结果
- 提交区分员工/家庭双模式校验,dataType写入payload
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-06-11 13:32:55 +08:00
17792275749 and Claude Opus 4.7
57950bd7c2
feat(addMember): 添加用户页改造,员工/家庭双tab + 员工编号查询表单
...
- 顶部胶囊式 tabs(员工/家庭用户)切换
- 员工 tab:员工编号输入 + 确认查询 → 回填用户信息 → 补充身高体重
- 家庭 tab:待实现
- 表单宽度调整为 100% 自适应
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-06-11 11:48:11 +08:00
17792275749 and Claude Opus 4.7
fd93f37d72
refactor(editMember): 编辑用户页独立,区分家庭/非家庭双模式表单
...
- 家庭用户:昵称(必填)、身份证(选填)、性别(切换按钮)、出生年月(date picker)、身高(必填)、体重(选填)
- 非家庭用户:姓名、单位、性别、年龄只读展示,身高(必填)、体重(选填)
- 提交时完整展开接口原始数据覆盖修改字段
- 去掉新增页专属的抽屉选择、确认弹框、身份证校验
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-06-11 10:16:13 +08:00
17792275749 and Claude Sonnet 4.6
05a5a438e3
feat(editMember): 新增独立编辑用户页面,编辑入口指向editMember
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-11 08:47:47 +08:00
17792275749 and Claude Opus 4.7
44659a6ae4
feat(selectMemberDrawer): 用户列表新增本人/员工/家庭用户标签展示
...
- ExistingMember 补充 dataType/relationType 字段
- API 映射层透传 dataType 与 relationType
- member-type 区域按类型展示对应颜色标签
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-06-10 17:16:22 +08:00
17792275749 and Claude Opus 4.7
0fab5259c9
chore: 切回测试环境,弹窗样式微调,文案精简
...
- 域名切回测试环境,超时提示统一
- 删除弹窗样式调整(宽度/圆角/按钮颜色)
- 删除确认文案精简,同步 loading 文案统一为"加载中"
- 移除 connectedWifi 调试背景色
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-06-10 16:59:25 +08:00
17792275749 and Claude Opus 4.7
099b7613fe
feat(equipmentMember): 用户列表拆分本人/员工/家庭成员三个分区
...
- 按 dataType 拆分:0=员工 1=家庭成员,relationType=1 归入本人
- 本人区块保留设备容量头部,仅支持编辑
- 员工/家庭成员区块独立显示,空列表自动隐藏
- badge 规则:本人/他人添加显示,自己添加不显示
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-06-10 16:36:36 +08:00
17792275749 and Claude Opus 4.7
485725a486
refactor: 统一术语「成员」→「用户」,代码格式化
...
- 页面文案、注释、Toast 提示统一改为"用户"
- lefu 模块缩进格式化(空格→Tab)
- selectMemberDrawer 组件注释统一
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-06-10 15:18:58 +08:00
17792275749 and Claude Opus 4.7
97c135786c
feat(equipmentMember): 删除确认改为自定义弹窗,他人添加用户红色加粗警示
...
- 删除确认弹窗替代原生 wx.showModal,仿原生风格
- 他人添加成员删除时显示红色加粗警示文案
- 成员列表操作区统一展示编辑/删除按钮
- 名字旁补充「本人」「他人添加」标签
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-06-10 15:05:51 +08:00
17792275749 and Claude Sonnet 4.6
d44e0a9e76
style(device): 设备列表容器添加 overflow hidden
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-28 19:56:19 +08:00
17792275749 and Claude Opus 4.7
3187cc48df
fix: 切换生产环境域名;scroll-view 补充 scroll-y 属性
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-28 17:17:23 +08:00
17792275749 and Claude Opus 4.7
77e768f6c7
feat(addMember): 选择已有成员补服务端校验;表单加scroll-view;上限10人限制
...
- onSelectMember 选中后调用 fetchUserInfoByIdCard 走服务端校验
- 表单区域包裹 scroll-view,适配小屏滚动
- equipmentMember 添加按钮超10人弹 toast 提示
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-28 16:52:59 +08:00
17792275749 and Claude Sonnet 4.6
dc5010350c
fix(app): 恢复启动时自动跳过登录页逻辑
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-28 14:53:19 +08:00
17792275749 and Claude Sonnet 4.6
9960a17cac
fix(addMember): 查无此人时提示未查询到用户信息,接口开启 loading
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-28 14:37:13 +08:00
17792275749 and Claude Sonnet 4.6
5f0f8ae9d0
fix(addMember): serverResult 为 null 时本地解析身份证补偿性别年龄
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-28 14:23:18 +08:00
17792275749 and Claude Sonnet 4.6
2827869801
fix(addMember): flag 判断改为宽松相等
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-28 13:55:35 +08:00
17792275749 and Claude Sonnet 4.6
241ce67e26
fix(addMember): 身份证查询结果改为 flag 字段判断
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-28 13:37:49 +08:00