[AI Generated]: feat(*): 对接v3设备列表及成员管理接口,补全字段并接入蓝牙连接状态

This commit is contained in:
17792275749
2026-05-14 21:06:32 +08:00
parent d8621ebce6
commit 422d645c00
4 changed files with 184 additions and 78 deletions
+5 -3
View File
@@ -30,6 +30,8 @@ interface DeviceRecord {
remark: string | null
relationType: string | null
sex_dictText: string
/** 设备连接信息 JSON 字符串,与登录接口返回格式一致 */
connectDeviceInfo: string
}
/** 展示用设备项 */
@@ -76,11 +78,11 @@ Page({
})
},
/* 点击「成员管理」→ 跳转成员管理页 */
/* 点击「成员管理」→ 跳转成员管理页,传 SN;userId 由目标页从缓存读取 */
onTapMember(e: WechatMiniprogram.TouchEvent) {
const id = e.currentTarget.dataset.id as string
const sn = e.currentTarget.dataset.sn as string
wx.navigateTo({
url: `/pages/equipmentMember/equipmentMember?id=${id}`
url: `/pages/equipmentMember/equipmentMember?sn=${sn}`
})
},