Browse Source

webSocket

wangzhe 2 năm trước cách đây
mục cha
commit
75aedd3f94
1 tập tin đã thay đổi với 6 bổ sung5 xóa
  1. 6 5
      src/views/forest.vue

+ 6 - 5
src/views/forest.vue

@@ -1148,11 +1148,12 @@
         if (this.calendarDay == this.getCurrentDataStr() && data != e.data) {
           this.getWebSocketEvent(e.data);
 
-          // this.getEventListNew();
-          // this.getTodayEvents(this.getCurrentDataStr());
-          // this.getDeptEventCount(this.getCurrentDataStr());
-          // this.getEventByEventType(this.getCurrentDataStr());
-          // this.getEventByReportorOrder(this.getCurrentDataStr());
+          // 地图增加落点
+          this.getEventListNew(); // 事件统计接口
+          this.getTodayEvents(this.getCurrentDataStr()); // 事件列表增加最新记录到第一条
+          this.getDeptEventCount(this.getCurrentDataStr()); // 部门事件接口
+          this.getEventByEventType(this.getCurrentDataStr()); // 事件分类接口
+          this.getEventByReportorOrder(this.getCurrentDataStr()); // 上报排行接口
 
           // this.$refs.bottomMenu.updateAlert();
           // this.$refs.up.play();