|
@@ -319,7 +319,6 @@ export default {
|
|
if (this.buildFloor.length && this.buildFloor.length > 1) {
|
|
if (this.buildFloor.length && this.buildFloor.length > 1) {
|
|
pa.data.Filters = `BuildingId='${this.buildFloor[0]}';FloorId='${this.buildFloor[1]}'`
|
|
pa.data.Filters = `BuildingId='${this.buildFloor[0]}';FloorId='${this.buildFloor[1]}'`
|
|
}
|
|
}
|
|
- this.clearZoneCanvas();
|
|
|
|
queryZone(pa, res => {
|
|
queryZone(pa, res => {
|
|
// 所有业务空间
|
|
// 所有业务空间
|
|
this.businessSpaceList = res.Content;
|
|
this.businessSpaceList = res.Content;
|
|
@@ -339,6 +338,7 @@ export default {
|
|
Color: new SColor(colorArr[i % colorArr.length]),
|
|
Color: new SColor(colorArr[i % colorArr.length]),
|
|
}
|
|
}
|
|
})
|
|
})
|
|
|
|
+ this.clearZoneCanvas();
|
|
this.scene.zoneList = [];
|
|
this.scene.zoneList = [];
|
|
this.scene.addZoneList(tempArr);
|
|
this.scene.addZoneList(tempArr);
|
|
this.scene.click(this, this.canvasClick);
|
|
this.scene.click(this, this.canvasClick);
|