|
|
@ -30,7 +30,7 @@ |
|
|
|
<div style="margin: 5px 0"></div> |
|
|
|
<el-checkbox-group class="checkbox" v-model="checkedCities" @change="handleCheckedCitiesChange" :max="1"> |
|
|
|
<el-checkbox v-for="(itm, index) in item.list" :label="itm.deviceId" :key="index"> |
|
|
|
<el-tooltip :content="itm.deviceIp" placement="top"> |
|
|
|
<el-tooltip :content="itm.ip" placement="top"> |
|
|
|
<div>{{ itm.deviceName }}</div> |
|
|
|
</el-tooltip> |
|
|
|
<el-tooltip content="回读当前信息" placement="top"> |
|
|
@ -933,20 +933,23 @@ export default { |
|
|
|
}; |
|
|
|
getBoardList(param).then((res) => { |
|
|
|
console.log(res, "查询情报板设备列表"); |
|
|
|
if (res.length > 0) { |
|
|
|
this.iotBoardList.forEach(item => { |
|
|
|
item.list = [] |
|
|
|
res.forEach(board =>{ |
|
|
|
if (item.devicePixel == board.sceenSize){ |
|
|
|
this.iotBoardList.forEach(item => { |
|
|
|
item.list = [] |
|
|
|
if (res.length > 0) { |
|
|
|
res.forEach(board => { |
|
|
|
if (item.devicePixel == board.sceenSize) { |
|
|
|
item.list.push(board) |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
this.iotBoardActive = this.iotBoardList[0].devicePixel; |
|
|
|
this.handleChange(this.iotBoardList[0].devicePixel); |
|
|
|
} else { |
|
|
|
this.getInfoMode(); |
|
|
|
} |
|
|
|
|
|
|
|
this.iotBoardActive = this.iotBoardList[0].devicePixel; |
|
|
|
this.handleChange(this.iotBoardList[0].devicePixel); |
|
|
|
} else { |
|
|
|
this.getInfoMode(); |
|
|
|
} |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
this.$forceUpdate(); |
|
|
|
}); |
|
|
|
}, |
|
|
|