diff --git a/src/api/devicecontrol/officedevice.ts b/src/api/devicecontrol/officedevice.ts index a2ed01b..14d6c50 100644 --- a/src/api/devicecontrol/officedevice.ts +++ b/src/api/devicecontrol/officedevice.ts @@ -10,6 +10,15 @@ export function gethomelist(config : object) { // 获取房间信息 }) } + +export function gethomelistforApp(config : object) { // 获取房间信息 + return http({ + url: '/RoomOperation/RoomOperation/gethomelistforApp', + method: 'GET', + data: config + }) +} + export function testcontiont(config : object) { // 获取房间信息 return http({ url: mqtturl + '/mqttSubclient/mqttSubclient/testgetcontint', diff --git a/src/pages-home/device-control/office/Personaldevices.vue b/src/pages-home/device-control/office/Personaldevices.vue index 48b2747..520c629 100644 --- a/src/pages-home/device-control/office/Personaldevices.vue +++ b/src/pages-home/device-control/office/Personaldevices.vue @@ -13,30 +13,11 @@ {{ room.ssbmname }} + + - @@ -48,6 +29,7 @@ } from 'vue' import { gethomelist, + gethomelistforApp, getMqttPushClient, selectfjkzbmforfjid, createdSwitch, @@ -90,7 +72,8 @@ //获取房间信息 const getofficehomelist = async () => { - await gethomelist().then((res) => { + //20250811,张祥瑞,修改查询接口 + await gethomelistforApp().then((res) => { if (res.success) { homelist.value = res.result.map((item, index) => ({ ...item,