瀏覽代碼

webSocket

wangzhe 2 年之前
父節點
當前提交
75aedd3f94
共有 1 個文件被更改,包括 6 次插入5 次删除
  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();