|
@@ -515,17 +515,6 @@ export default {
|
|
|
/** ----------------------------------weosocket开始------------------------------------- */
|
|
|
// this.initWebSocket()
|
|
|
/** ----------------------------------weosocket结束------------------------------------- */
|
|
|
- setInterval(() => {
|
|
|
- if (this.calendarDay == this.getCurrentDataStr()) {
|
|
|
- this.getTodayEvents(this.getCurrentDataStr(), true);
|
|
|
- this.getDeptEventCount(this.getCurrentDataStr(), true);
|
|
|
- // this.getEventList(this.getCurrentDataStr(), this.pageSize, this.pageNum, '', true);
|
|
|
- this.getEventByEventType(this.getCurrentDataStr(), true);
|
|
|
- this.getEventByReportorOrder(this.getCurrentDataStr(), true);
|
|
|
- this.getExposureStage(this.getCurrentDataStr(), true);
|
|
|
- // this.getSupermap(this.getCurrentDataStr(), true);
|
|
|
- }
|
|
|
- }, 30000)
|
|
|
this.bottomMenuList() //获取底部公共组件消息和任务
|
|
|
},
|
|
|
data() {
|
|
@@ -1180,15 +1169,14 @@ export default {
|
|
|
// 处理收到的消息
|
|
|
this.handleWebSoceketEvent(e.data)
|
|
|
|
|
|
- // this.getEventListNew();
|
|
|
- // this.getTodayEvents(this.getCurrentDataStr());
|
|
|
- // this.getDeptEventCount(this.getCurrentDataStr());
|
|
|
- // this.getEventByEventType(this.getCurrentDataStr());
|
|
|
- // this.getEventByReportorOrder(this.getCurrentDataStr());
|
|
|
+ this.getTodayEvents(this.getCurrentDataStr(), true);
|
|
|
+ this.getDeptEventCount(this.getCurrentDataStr(), true);
|
|
|
+ this.getEventByEventType(this.getCurrentDataStr(), true);
|
|
|
+ this.getEventByReportorOrder(this.getCurrentDataStr(), true);
|
|
|
+ this.getExposureStage(this.getCurrentDataStr(), true);
|
|
|
|
|
|
- // this.$refs.bottomMenu.updateAlert();
|
|
|
- // this.$refs.up.play();
|
|
|
- // thes.$refs.up.pause();//停止播放音乐
|
|
|
+ this.$refs.bottomMenu.updateAlert();
|
|
|
+ this.$refs.up.play();
|
|
|
}
|
|
|
},
|
|
|
// 处理WebSocket事件
|