From dc3dfdd4b6d9634f49a2ef4e501dc0f9885f6fbe Mon Sep 17 00:00:00 2001
From: quanyawei <401863037@qq.com>
Date: Thu, 12 Oct 2023 13:26:50 +0800
Subject: [PATCH] Merge branch 'feature_1.0'

---
 src/components/Wind/Map.vue |   39 +++++++++++++++++++--------------------
 1 files changed, 19 insertions(+), 20 deletions(-)

diff --git a/src/components/Wind/Map.vue b/src/components/Wind/Map.vue
index 7578943..1f75648 100644
--- a/src/components/Wind/Map.vue
+++ b/src/components/Wind/Map.vue
@@ -333,7 +333,6 @@
 import RegionalOverview from '@/components/Wind/RegionalOverview' // ������������������
 import { mapGetters } from 'vuex'
 import { gcj02towgs84 } from '@/assets/json/transform'
-import requestObj from '@/utils/request'
 export default {
   components: { RegionalOverview },
   props: {
@@ -499,8 +498,8 @@
     this.jingduNew = newLL[1]
     this.weiduNew = newLL[0]
     // ���������������������
-    this.windData()
-    this.change(0)
+    // this.windData()
+    // this.change(0)
     this.getParamsData()
     this.windDir()
     this.newDate()
@@ -1524,7 +1523,7 @@
       this.getParamsData()
       setTimeout(() => {
         $.getJSON(
-          `${requestObj.baseUrl}/screen_api_v2/screen/windAndDeviceDataByArea`,
+          'http://47.99.64.149:8080/api/screen_api_v2/screen/windAndDeviceDataByArea',
           { monitorPointId: this.$store.state.monitorPointId },
           (data) => {
             // ������������������
@@ -1541,14 +1540,14 @@
           }
         )
       }, 1000)
-      if (this.windState === 1) {
-        // this.ws.close()
-        this.initData()
-        // console.log('���������������')
-      } else if (this.windState === 2) {
-        this.windDir()
-        // console.log('���������������')
-      }
+      // if (this.windState === 1) {
+      //   console.log('getRegionApiRequest')
+      //   this.initData()
+      // console.log('���������������')
+      // } else if (this.windState === 2) {
+      // this.windDir()
+      // console.log('���������������')
+      // }
       // ������������������
       // this.deviceMaker()
       // this.getParamsData()
@@ -1583,14 +1582,14 @@
           }
           // console.log(this.chooseTimeInfo, 'this.chooseTimeInfo ')
           // clearInterval(this.timer)
-          if (this.windState === 1) {
-            // this.ws.close()
-            this.initData()
-            // console.log('���������������')
-          } else if (this.windState === 2) {
-            this.windDir()
-            // console.log('���������������')
-          }
+          // if (this.windState === 1) {
+          // this.ws.close()
+          // this.initData()
+          // console.log('���������������')
+          // } else if (this.windState === 2) {
+          // this.windDir()
+          // console.log('���������������')
+          // }
           setTimeout(() => {
             this.change(this.changeColor)
             this.times = 300

--
Gitblit v1.8.0