|
@@ -126,6 +126,7 @@ export default {
|
|
|
this.fParser.parseData(res);
|
|
|
this.scene.fidToItem = {}
|
|
|
this.fParser.spaceList.forEach(t => {
|
|
|
+ t.zOrder = t.zOrder + t.data.Height;
|
|
|
t.selectable = true;
|
|
|
this.scene.fidToItem[t.data.SourceId] = t;
|
|
|
this.scene.addItem(t);
|
|
@@ -402,7 +403,7 @@ export default {
|
|
|
*/
|
|
|
// TODO: changeScale缩放底图
|
|
|
bus.$on('changeScale', zoom => {
|
|
|
- let { scale } = this.view;
|
|
|
+ const { scale } = this.view;
|
|
|
this.changeScaleByClick = true
|
|
|
this.view.scaleByPoint(zoom, this.canvasWidth / 2, this.canvasHeight / 2)
|
|
|
this.changeScaleByClick = false
|
|
@@ -417,7 +418,6 @@ export default {
|
|
|
projectId: this.urlMsg.projectId,
|
|
|
BuildingID: this.urlMsg.BuildingID, // 建筑ID
|
|
|
FloorID: this.urlMsg.FloorID, // 楼层id
|
|
|
- Pub: false //是否获取草稿 //获取草稿
|
|
|
};
|
|
|
return readGroup(data);
|
|
|
},
|