|
@@ -118,6 +118,7 @@ export default {
|
|
const [hours, minutes] = timePart.split(":");
|
|
const [hours, minutes] = timePart.split(":");
|
|
return `${parseInt(month)}月${parseInt(day)}日${hours}:${minutes}`;
|
|
return `${parseInt(month)}月${parseInt(day)}日${hours}:${minutes}`;
|
|
},
|
|
},
|
|
|
|
+ // 查询列表
|
|
queryList() {
|
|
queryList() {
|
|
uni.showLoading({
|
|
uni.showLoading({
|
|
title: "查询中...",
|
|
title: "查询中...",
|
|
@@ -159,6 +160,8 @@ export default {
|
|
uni.hideLoading();
|
|
uni.hideLoading();
|
|
});
|
|
});
|
|
},
|
|
},
|
|
|
|
+
|
|
|
|
+ // 订阅列表中所有设备的presence_change主题
|
|
subscribePresenceChange(clientIdList) {
|
|
subscribePresenceChange(clientIdList) {
|
|
// 遍历订阅
|
|
// 遍历订阅
|
|
if (clientIdList.length == 0) return;
|
|
if (clientIdList.length == 0) return;
|