feat(userManagement): 接入用户同步到设备,恢复清空设备用户能力

- service 恢复 clearDeviceMembers/syncMembersToDevice,操作中断开立即失败
- syncMembersToDevice 只负责逐个下发,参数由业务层组装
- _doReconnect 增加蓝牙不可用判断
- userManagement 接入真实同步(连接状态实时同步 + 进度弹框)
- equipment 页增加用户管理入口

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
17792275749
2026-08-21 11:08:04 +08:00
co-authored by Claude Opus 4.7
parent db865748f2
commit 9a81092c99
6 changed files with 233 additions and 10 deletions
@@ -21,6 +21,13 @@
<view class="ops-btn ops-btn--red" bind:tap="onUnpairAll">取消全部配对</view>
</view>
<view class="device-action-btn" bind:tap="onTapUser">
<view>
<image src="/images/equipment/users.png"/>
</view>
<view>用户</view>
</view>
<!-- 设备列表 -->
<block wx:if="{{ devices && devices.length }}">
<block wx:for="{{ devices }}" wx:key="id">