|
@@ -520,12 +520,18 @@ export default {
|
|
|
|
|
|
//位置/设备
|
|
|
treeConfirmDevice(id, info) {
|
|
|
+ console.log('%ctreeConfirmDevice=============','color:blue')
|
|
|
+ console.log(id, info)
|
|
|
+ console.log('%ctreeConfirmDevice=============','color:blue')
|
|
|
let InfoSystem = [],
|
|
|
InfoSystems = [],
|
|
|
InfoLocal = []
|
|
|
this.deviceList.forEach(i => {
|
|
|
i.children.length > 0 &&
|
|
|
i.children.forEach(j => {
|
|
|
+ console.log('%this.deviceList.forEach=============','color:blue')
|
|
|
+ console.log(id)
|
|
|
+ console.log('%this.deviceList.forEach=============','color:blue')
|
|
|
if (id.includes(j.id)) {
|
|
|
InfoSystems.push(i)
|
|
|
}
|