소스 검색

监控中心云广播显示问题

wang_xy 2 년 전
부모
커밋
98cbbea397
1개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 3
      src/views/monitor.vue

+ 2 - 3
src/views/monitor.vue

@@ -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)