|
@@ -111,6 +111,7 @@
|
|
|
/**
|
|
|
* 添加显示实例
|
|
|
*/
|
|
|
+import { mapState } from "vuex";
|
|
|
import editInfoPoint from "./editInfoPoint";
|
|
|
import { Select, TreeSelect } from "meri-design";
|
|
|
import { cloneDeep } from "lodash";
|
|
@@ -200,6 +201,9 @@ export default {
|
|
|
showEditInfoPoint: false, //显示编辑信息点弹窗
|
|
|
};
|
|
|
},
|
|
|
+ computed: {
|
|
|
+ ...mapState(["name", "folderId", "folderName", "buildingId", "floorId", "floorMap", "floorLocalName", "id", "graphId", "state"]),
|
|
|
+ },
|
|
|
watch: {
|
|
|
// 是否打开弹窗
|
|
|
showDialog(val) {
|
|
@@ -325,10 +329,8 @@ export default {
|
|
|
let postParams = {
|
|
|
pageNumber: 1,
|
|
|
pageSize: 1000,
|
|
|
- floorId: "Fl11010500296bc7ca3a0d5d41419cf95c5b45116400",
|
|
|
- buildingId: "Bd1101050029cb77fbd1846611eaac87cd1cd6a961c6",
|
|
|
- // floorId: "",
|
|
|
- // buildingId: "",
|
|
|
+ floorId: this.floorId, // "Fl11010500296bc7ca3a0d5d41419cf95c5b45116400",
|
|
|
+ buildingId: this.buildingId, // "Bd1101050029cb77fbd1846611eaac87cd1cd6a961c6",
|
|
|
zoneTypeList: this.spacePartitionType,
|
|
|
};
|
|
|
let res = await PartiInstancQuery(postParams);
|
|
@@ -362,8 +364,8 @@ export default {
|
|
|
zoneTypes: this.spacePartitionType, //空间类型
|
|
|
spaceIds: this.spacePartitionInstance, //空间实例id
|
|
|
funcTypes: this.curentSelectTree3, //空间功能区类型
|
|
|
- floorId: "Fl11010500296bc7ca3a0d5d41419cf95c5b45116400",
|
|
|
- buildingId: "Bd1101050029cb77fbd1846611eaac87cd1cd6a961c6",
|
|
|
+ floorId: this.floorId, // "Fl11010500296bc7ca3a0d5d41419cf95c5b45116400",
|
|
|
+ buildingId: this.buildingId, // "Bd1101050029cb77fbd1846611eaac87cd1cd6a961c6",
|
|
|
};
|
|
|
let res = await equipQuery(postParams);
|
|
|
let data = res.content || [];
|