|
@@ -59,23 +59,23 @@ export default {
|
|
|
this.appName,
|
|
|
null
|
|
|
);
|
|
|
- // this.fmap.parseData("1001724_29", 6, res => {
|
|
|
- // this.fParser = new SFloorParser(null);
|
|
|
- // this.fParser.parseData(res);
|
|
|
- // this.fParser.wallList.forEach(t => this.scene.addItem(t));
|
|
|
- // this.fParser.virtualWallList.forEach(t => this.scene.addItem(t));
|
|
|
- // this.fParser.doorList.forEach(t => this.scene.addItem(t));
|
|
|
- // this.fParser.columnList.forEach(t => this.scene.addItem(t));
|
|
|
- // this.fParser.casementList.forEach(t => this.scene.addItem(t));
|
|
|
- // this.fParser.spaceList.forEach(t => {
|
|
|
- // t.selectable = true;
|
|
|
- // // t.connect("click", this, this.spaceClick);
|
|
|
- // this.scene.addItem(t);
|
|
|
- // });
|
|
|
+ this.fmap.parseData("1001724_29", 6, res => {
|
|
|
+ this.fParser = new SFloorParser(null);
|
|
|
+ this.fParser.parseData(res);
|
|
|
+ this.fParser.wallList.forEach(t => this.scene.addItem(t));
|
|
|
+ this.fParser.virtualWallList.forEach(t => this.scene.addItem(t));
|
|
|
+ this.fParser.doorList.forEach(t => this.scene.addItem(t));
|
|
|
+ this.fParser.columnList.forEach(t => this.scene.addItem(t));
|
|
|
+ this.fParser.casementList.forEach(t => this.scene.addItem(t));
|
|
|
+ this.fParser.spaceList.forEach(t => {
|
|
|
+ t.selectable = true;
|
|
|
+ // t.connect("click", this, this.spaceClick);
|
|
|
+ this.scene.addItem(t);
|
|
|
+ });
|
|
|
this.view.scene = this.scene;
|
|
|
this.view.fitSceneToView();
|
|
|
// this.$loading.close(loadings)
|
|
|
- // });
|
|
|
+ });
|
|
|
this.scene.emitChange = this.emitChange;
|
|
|
},
|
|
|
// 监听变化
|