|
@@ -40,7 +40,8 @@ export default {
|
|
|
loading: false,
|
|
|
view: null,
|
|
|
isQuerying: false, // 限制重复查询
|
|
|
- urlMsg: {}
|
|
|
+ urlMsg: {},
|
|
|
+ fmapID: "1000423_120"
|
|
|
};
|
|
|
},
|
|
|
components: { RoomBox, canvasFun },
|
|
@@ -57,13 +58,13 @@ export default {
|
|
|
if (!fengmap) {
|
|
|
fengmap = new SFengParser(
|
|
|
"fengMap",
|
|
|
- `${this.mapServerURL}/${this.urlMsg.fmapID}`,
|
|
|
+ `${this.mapServerURL}/${this.fmapID}`,
|
|
|
this.key,
|
|
|
this.appName,
|
|
|
null
|
|
|
);
|
|
|
|
|
|
- fengmap.loadMap(this.urlMsg.fmapID, res => {
|
|
|
+ fengmap.loadMap(this.fmapID, res => {
|
|
|
this.floorList = res;
|
|
|
this.parserData(floorid);
|
|
|
});
|
|
@@ -202,8 +203,7 @@ export default {
|
|
|
categoryId: "NTXT",
|
|
|
ProjectID: "6",
|
|
|
BuildingID: "1",
|
|
|
- FloorID: "1",
|
|
|
- fmapID: "1000423_120"
|
|
|
+ FloorID: "1"
|
|
|
};
|
|
|
}
|
|
|
};
|