Commit b40cfd04 authored by 纪泽龙's avatar 纪泽龙

Merge branch 'develop_jzl'

parents 5a6684ee 13d2738a
......@@ -773,10 +773,14 @@ export default {
const iten = item[i];
// 不是隐患也不是值班人员
if (!iten.troubleId && !iten.userId) {
return iten.deviceId == device.getExtData().deviceId;
if(iten.deviceId == device.getExtData().deviceId){
return true
}
}
}
})[0][0];
})[0]?.filter(item=>{
return item.deviceId == device.getExtData().deviceId
})[0];
// console.log("myDevice", myDevice);
myDevice.alarmState = options.alarmState;
// const imageName = device.getExtData()
......@@ -1462,7 +1466,7 @@ export default {
},
// 搜索
async search() {
this.searchClear();
this. Clear();
map.clearMap();
this.gaoMap.placeSearch.clear();
if (!(!this.gaoMap.searchSelectAdcode && !this.gaoMap.searchSelectName)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment