Browse Source

任务领取拒绝模式修改

王通 2 years ago
parent
commit
f04e1d4775
2 changed files with 4 additions and 1 deletions
  1. 1 0
      src/components/vBottomMenu.vue
  2. 3 1
      src/views/forest.vue

+ 1 - 0
src/components/vBottomMenu.vue

@@ -533,6 +533,7 @@
       if (this.websock) {
         clearInterval(this.setIntervalWesocketPush)
         this.websock.close()
+        this.weosocket = false
         this.websock = null
       }
     },

+ 3 - 1
src/views/forest.vue

@@ -483,6 +483,7 @@
     },
     mounted() {
       this.getBaseInfo()
+      this.bottomMenuList() //获取底部公共组件消息和任务
       this.getTodayEvents(this.getCurrentDataStr())
       this.getDeptEventCount(this.getCurrentDataStr())
       this.getWeather(this.getCurrentDataStr())
@@ -496,7 +497,7 @@
       // this.initWebSocket()
       /** ----------------------------------weosocket结束------------------------------------- */
 
-      this.bottomMenuList() //获取底部公共组件消息和任务
+
     },
     data() {
       return {
@@ -623,6 +624,7 @@
       //     }
       //   })
       // },
+
       dropLocation(lat, lng,eventCode) {
         this.$refs.supermap.dropLocation(lat, lng,18)
         this.showEventDialog(eventCode)