|
@@ -257,10 +257,12 @@ export default {
|
|
this.fParser.casementList.forEach(t => this.scene.addItem(t));
|
|
this.fParser.casementList.forEach(t => this.scene.addItem(t));
|
|
this.fParser.pList = [];
|
|
this.fParser.pList = [];
|
|
res.PList.forEach(t => {
|
|
res.PList.forEach(t => {
|
|
- const item = new SCircleItem(null, t);
|
|
|
|
- this.fParser.pList.push(item);
|
|
|
|
- this.scene.fidToItem[t.SourceId] = item;
|
|
|
|
- this.scene.addItem(item);
|
|
|
|
|
|
+ if (t.Pos.X >= 0 && t.Pos.Y <= 0) {
|
|
|
|
+ const item = new SCircleItem(null, t);
|
|
|
|
+ this.fParser.pList.push(item);
|
|
|
|
+ this.scene.fidToItem[t.SourceId] = item;
|
|
|
|
+ this.scene.addItem(item);
|
|
|
|
+ }
|
|
});
|
|
});
|
|
this.view.scene = this.scene;
|
|
this.view.scene = this.scene;
|
|
this.readGraph();
|
|
this.readGraph();
|
|
@@ -352,12 +354,11 @@ export default {
|
|
});
|
|
});
|
|
}
|
|
}
|
|
|
|
|
|
- if(this.urlMsg.projectId==1000384 && this.urlMsg.FloorID =='f2'){
|
|
|
|
- console.log('对河南红谷滩兼容');
|
|
|
|
- }else{
|
|
|
|
|
|
+ // if(this.urlMsg.projectId==1000384 && this.urlMsg.FloorID =='f2'){
|
|
|
|
+ // console.log('对河南红谷滩兼容');
|
|
|
|
+ // }else{
|
|
this.view.fitSceneToView();
|
|
this.view.fitSceneToView();
|
|
- }
|
|
|
|
-
|
|
|
|
|
|
+ // }
|
|
// 设置初始化缩放比例
|
|
// 设置初始化缩放比例
|
|
this.initScale = this.view.scale;
|
|
this.initScale = this.view.scale;
|
|
this.view.maxScale = this.initScale * 10;
|
|
this.view.maxScale = this.initScale * 10;
|