limeng 2 vuotta sitten
vanhempi
commit
f781a03da3
3 muutettua tiedostoa jossa 689 lisäystä ja 888 poistoa
  1. 11 0
      src/api/vBottomMenu.js
  2. 677 877
      src/components/supermap.vue
  3. 1 11
      src/views/traffic.vue

+ 11 - 0
src/api/vBottomMenu.js

@@ -0,0 +1,11 @@
+import request from '@/utils/request'
+
+
+// 获取林场列表
+export function selectFarmByDeptId(param) {
+  return request({
+    url: '/center-agriculture/VisuForestCloudMapController/selectFarmByDeptId',
+    method: 'post',
+    data: param
+  })
+}

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 677 - 877
src/components/supermap.vue


+ 1 - 11
src/views/traffic.vue

@@ -375,8 +375,7 @@ import {
   getWeather,
   getEventList,
   getEventByEventType,
-  getEventByReportorOrder,
-  getExposureStage
+  getEventByReportorOrder
 } from '@/api/forest'
 import supermap from '@/components/supermap' //超图
 import supermapNotProcessed from '@/components/supermap' //超图
@@ -428,7 +427,6 @@ export default {
     this.getEventList(this.getCurrentDataStr())
     this.getEventByEventType(this.getCurrentDataStr())
     this.getEventByReportorOrder(this.getCurrentDataStr())
-    this.getExposureStage(this.getCurrentDataStr())
     /** ----------------------------------weosocket开始------------------------------------- */
     // this.initWebSocket()
     /** ----------------------------------weosocket结束------------------------------------- */
@@ -624,7 +622,6 @@ export default {
       this.getEventList(day)
       this.getEventByEventType(day)
       this.getEventByReportorOrder(day)
-      // this.getExposureStage(day)
       this.calendarDay = day
     },
 
@@ -995,13 +992,6 @@ export default {
         }
       })
     },
-    getExposureStage(day) {
-      let that = this
-      //右侧获取曝光台
-      getExposureStage({day: day}).then(res => {
-        this.exposureStageList = res.data
-      })
-    },
     /** ----------------------------------weosocket开始------------------------------------- */
     initWebSocket() { //初始化weosocket
       const wsuri = 'wss://www.hmzzxc.com:10012/websocket/forest-' + Cookies.get('username')