|
@@ -491,18 +491,19 @@
|
|
|
mounted() {
|
|
|
// 初始化地图数据
|
|
|
this.getSuperMapUrl();
|
|
|
-
|
|
|
- this.getBaseInfo()
|
|
|
+ setTimeout(() => {
|
|
|
+ this.getBaseInfo()
|
|
|
+ this.getTodayEvents(this.getCurrentDataStr())
|
|
|
+ this.getDeptEventCount(this.getCurrentDataStr())
|
|
|
+ this.getWeather(this.getCurrentDataStr())
|
|
|
+ this.getEventList(this.getCurrentDataStr(), this.pageSize, this.pageNum)
|
|
|
+ this.getEventByEventType(this.getCurrentDataStr())
|
|
|
+ this.getEventByReportorOrder(this.getCurrentDataStr())
|
|
|
+ this.getExposureStage(this.getCurrentDataStr())
|
|
|
+ this.getSupermap(this.getCurrentDataStr())
|
|
|
+ this.getMenuEventType()
|
|
|
+ }, 2000)
|
|
|
this.bottomMenuList() //获取底部公共组件消息和任务
|
|
|
- this.getTodayEvents(this.getCurrentDataStr())
|
|
|
- this.getDeptEventCount(this.getCurrentDataStr())
|
|
|
- this.getWeather(this.getCurrentDataStr())
|
|
|
- this.getEventList(this.getCurrentDataStr(), this.pageSize, this.pageNum)
|
|
|
- this.getEventByEventType(this.getCurrentDataStr())
|
|
|
- this.getEventByReportorOrder(this.getCurrentDataStr())
|
|
|
- this.getExposureStage(this.getCurrentDataStr())
|
|
|
- this.getSupermap(this.getCurrentDataStr())
|
|
|
- this.getMenuEventType()
|
|
|
/** ----------------------------------weosocket开始------------------------------------- */
|
|
|
// this.initWebSocket()
|
|
|
/** ----------------------------------weosocket结束------------------------------------- */
|