|
@@ -58,6 +58,18 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
getMap() {
|
|
|
+ //如果项目为 南昌八一路 长春重庆路 青岛台东路 则不走楼层缓存接口
|
|
|
+ // if(this.plazaIds == "1001064" || this.plazaIds == "1001065" || this.plazaIds == "1001066"){
|
|
|
+ // let arr = ["b2","b1","f1","f2","f3","f4","f5","f6","g80"];
|
|
|
+ // setFloor({ plazaId: this.plazaIds }, arr)
|
|
|
+ // .then(res => {
|
|
|
+ // console.log("缓存楼层", res);
|
|
|
+ // })
|
|
|
+ // .catch(error => {
|
|
|
+ // console.log("缓存楼层", error);
|
|
|
+ // });
|
|
|
+ // return
|
|
|
+ // }
|
|
|
window.fengmapData = new SFengParser(
|
|
|
`fengMap${this.id}`,
|
|
|
`${this.mapServerURL}/fmap/${this.fmapID}`,
|
|
@@ -82,6 +94,15 @@ export default {
|
|
|
if (dataArr.length) {
|
|
|
//如果项目为 南昌八一路 长春重庆路 青岛台东路 则不走楼层缓存接口
|
|
|
if(this.plazaIds == "1001064" || this.plazaIds == "1001065" || this.plazaIds == "1001066"){
|
|
|
+ let arr = ["b2","b1","f1","f2","f3","f4","f5","f6","g80"];
|
|
|
+ alert('12313')
|
|
|
+ setFloor({ plazaId: this.plazaIds }, arr)
|
|
|
+ .then(res => {
|
|
|
+ console.log("缓存楼层", res);
|
|
|
+ })
|
|
|
+ .catch(error => {
|
|
|
+ console.log("缓存楼层", error);
|
|
|
+ });
|
|
|
return
|
|
|
}
|
|
|
setFloor({ plazaId: this.plazaIds }, dataArr)
|