|
@@ -206,13 +206,12 @@
|
|
|
mounted() {
|
|
|
// 初始化地图数据
|
|
|
this.getSuperMapUrl();
|
|
|
-
|
|
|
+ this.deptId = Cookies.get("deptId");
|
|
|
setTimeout(() => {
|
|
|
this.selectKeyAreaList();
|
|
|
this.getTreeselect();
|
|
|
- this.deptId = Cookies.get("deptId");
|
|
|
- this.getMonitorDeviceAndDataLists();
|
|
|
}, 2000)
|
|
|
+ this.getMonitorDeviceAndDataLists();
|
|
|
this.bottomMenuList(); //获取底部公共组件消息和任务
|
|
|
// this.getSensorListByDeptId(-1)
|
|
|
// this.getDlblistBydeptId(-1)
|