Commit be2ffc67 authored by 耿迪迪's avatar 耿迪迪

设备监控修改 gengdidi

parent 0e20a003
...@@ -461,7 +461,15 @@ export default { ...@@ -461,7 +461,15 @@ export default {
}, },
getAllDeviceInfo(){ getAllDeviceInfo(){
getAllDeviceInfo().then(response => { getAllDeviceInfo().then(response => {
this.devices = response.data; let devicesList = [];
response.data.forEach((item, index) => {
if(item.deviceType == '3' || item.deviceType == '4'){
devicesList.push(item)
}
})
this.devices = devicesList;
//console.log(response.data,"==========fsdafdsfsdf=======")
//this.devices = response.data;
}); });
}, },
pipeAllInfoList(){ pipeAllInfoList(){
......
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