mirror of
https://gitee.com/elegant_wings/dbd-meeting-wx-small.git
synced 2025-06-21 23:39:36 +08:00
修改了开门控制器细节
修改了开门控制器细节
This commit is contained in:
parent
54508b3d96
commit
964d1511e7
@ -75,7 +75,8 @@ Page({
|
|||||||
getAllDeviceInfoByRoomIdRq(_this.data.roomId).then(res => {
|
getAllDeviceInfoByRoomIdRq(_this.data.roomId).then(res => {
|
||||||
console.log('getAllDeviceInfoByRoomIdRq', res);
|
console.log('getAllDeviceInfoByRoomIdRq', res);
|
||||||
let equipmentList = res.data.map(item => _this.formatDevice(item))
|
let equipmentList = res.data.map(item => _this.formatDevice(item))
|
||||||
equipmentList = equipmentList.filter(item => item.type != '门锁')
|
equipmentList = equipmentList.filter(item => item.type != '门锁')
|
||||||
|
equipmentList = equipmentList.filter(item => item.type != '开门控制器')
|
||||||
let lockDoor = res.data.find(item => item.type == '门锁')
|
let lockDoor = res.data.find(item => item.type == '门锁')
|
||||||
let controlDoor = res.data.find(item => item.type == '开门控制器')
|
let controlDoor = res.data.find(item => item.type == '开门控制器')
|
||||||
console.log('开门控制器-------',controlDoor);
|
console.log('开门控制器-------',controlDoor);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user