|
@@ -15,9 +15,8 @@
|
|
|
</template>
|
|
|
<script>
|
|
|
import { SFloorParser, getJsonz } from "@persagy-web/big";
|
|
|
-import { SImageItem, SImageShowType } from "@persagy-web/graph";
|
|
|
+import { SImageItem, SImageShowType, SGraphPropertyCommand } from "@persagy-web/graph";
|
|
|
import { SPlanView, SPlanParser, SPlanScene, SPlanDecorator, SPlanEquipment, SPlanZone } from "@/lib";
|
|
|
-import { SGraphPropertyCommand } from "@persagy-web/graph";
|
|
|
import planTooltip from "./planTooltip.vue";
|
|
|
import { mapState, mapMutations } from "vuex";
|
|
|
import base64ToFile from "@/utils/base64ToFile";
|
|
@@ -221,38 +220,38 @@ export default {
|
|
|
t.selectable = false;
|
|
|
this.scene.addItem(t);
|
|
|
});
|
|
|
- parser.virtualWallList.forEach((t) => {
|
|
|
- // 是否显示
|
|
|
- // t.visible = this.isShowVirtualWall;
|
|
|
- t.visible = showBaseMap;
|
|
|
- // 是否可选
|
|
|
- t.selectable = false;
|
|
|
- this.scene.addItem(t);
|
|
|
- });
|
|
|
- parser.doorList.forEach((t) => {
|
|
|
- // 是否显示
|
|
|
- // t.visible = this.isShowDoor;
|
|
|
- t.visible = showBaseMap;
|
|
|
- // 是否可选
|
|
|
- t.selectable = false;
|
|
|
- this.scene.addItem(t);
|
|
|
- });
|
|
|
- parser.columnList.forEach((t) => {
|
|
|
- // 是否显示
|
|
|
- // t.visible = this.isShowColumn;
|
|
|
- t.visible = showBaseMap;
|
|
|
- // 是否可选
|
|
|
- t.selectable = false;
|
|
|
- this.scene.addItem(t);
|
|
|
- });
|
|
|
- parser.casementList.forEach((t) => {
|
|
|
- // 是否显示
|
|
|
- // t.visible = this.isShowWindow;
|
|
|
- t.visible = showBaseMap;
|
|
|
- // 是否可选
|
|
|
- t.selectable = false;
|
|
|
- this.scene.addItem(t);
|
|
|
- });
|
|
|
+ // parser.virtualWallList.forEach((t) => {
|
|
|
+ // // 是否显示
|
|
|
+ // // t.visible = this.isShowVirtualWall;
|
|
|
+ // t.visible = showBaseMap;
|
|
|
+ // // 是否可选
|
|
|
+ // t.selectable = false;
|
|
|
+ // this.scene.addItem(t);
|
|
|
+ // });
|
|
|
+ // parser.doorList.forEach((t) => {
|
|
|
+ // // 是否显示
|
|
|
+ // // t.visible = this.isShowDoor;
|
|
|
+ // t.visible = showBaseMap;
|
|
|
+ // // 是否可选
|
|
|
+ // t.selectable = false;
|
|
|
+ // this.scene.addItem(t);
|
|
|
+ // });
|
|
|
+ // parser.columnList.forEach((t) => {
|
|
|
+ // // 是否显示
|
|
|
+ // // t.visible = this.isShowColumn;
|
|
|
+ // t.visible = showBaseMap;
|
|
|
+ // // 是否可选
|
|
|
+ // t.selectable = false;
|
|
|
+ // this.scene.addItem(t);
|
|
|
+ // });
|
|
|
+ // parser.casementList.forEach((t) => {
|
|
|
+ // // 是否显示
|
|
|
+ // // t.visible = this.isShowWindow;
|
|
|
+ // t.visible = showBaseMap;
|
|
|
+ // // 是否可选
|
|
|
+ // t.selectable = false;
|
|
|
+ // this.scene.addItem(t);
|
|
|
+ // });
|
|
|
// 画板是否可拖动
|
|
|
this.view.DragMove = true;
|
|
|
this.view.fitSceneToView();
|