|
@@ -316,7 +316,7 @@ import config from '@/config';
|
|
|
import { mapState } from '@wepy/x';
|
|
|
import { saveCompanyConfig } from '@/service/companyConfig';
|
|
|
import { getCompanyMapData } from '@/api/home';
|
|
|
-import {getFloorList} from '@/packagesEnv/api/mapApi.js'
|
|
|
+import { getFloorList } from '@/packagesEnv/api/mapApi.js';
|
|
|
|
|
|
let h5StaticPath = config.h5StaticPath + '/page-intelligent-control/';
|
|
|
const tarBarHeight = 96;
|
|
@@ -481,7 +481,6 @@ wepy.component({
|
|
|
// this.autoSelectArea(selectarea);
|
|
|
// }
|
|
|
// });
|
|
|
-
|
|
|
},
|
|
|
watch: {
|
|
|
// 父亲传过来的空间id 搜索返回才会有这个传递
|
|
@@ -504,7 +503,9 @@ wepy.component({
|
|
|
projectId: this.projectId
|
|
|
}
|
|
|
};
|
|
|
- getFloorList(params).then(res => {});
|
|
|
+ getFloorList(params).then(res => {
|
|
|
+ this.floors = res.content || [];
|
|
|
+ });
|
|
|
},
|
|
|
/**
|
|
|
* 获取地图信息
|