|
|
@@ -221,6 +221,7 @@ export default {
|
|
|
treeList: [],
|
|
|
deptOptions:[],
|
|
|
boundDevicesClone:JSON.parse(JSON.stringify(this.currentTempList)),
|
|
|
+ iotCode:null,
|
|
|
left: {
|
|
|
condition: {
|
|
|
orgId: this.$store.getters.orgId,
|
|
|
@@ -286,7 +287,6 @@ export default {
|
|
|
else {
|
|
|
this.treeList = this.$store.getters.orgTree;
|
|
|
}
|
|
|
- console.log(this.treeList)
|
|
|
}
|
|
|
},
|
|
|
getChildIds(orgTree,parentId){
|
|
|
@@ -397,6 +397,7 @@ export default {
|
|
|
orgId:condition.orgId,
|
|
|
deviceName:condition.deviceName,
|
|
|
type:this.deviceType,
|
|
|
+ iotCode:this.iotCode,
|
|
|
includeSub:condition.searchChild,
|
|
|
page:0,
|
|
|
size:9999
|
|
|
@@ -405,7 +406,6 @@ export default {
|
|
|
this.searchDevices = result.data.records;
|
|
|
this.boundDeviceIds = this.boundDevicesClone.map((d) => d.deviceId);
|
|
|
let data = result.data.records.filter((row) => this.boundDeviceIds.indexOf(row.deviceId) < 0);
|
|
|
- console.log("data",data)
|
|
|
this.left.data = data;
|
|
|
});
|
|
|
},
|