From 9e6f52a0a7d0d466db1cb0eaa5260be18b9b1032 Mon Sep 17 00:00:00 2001
From: quanyawei <401863037@qq.com>
Date: Mon, 09 Oct 2023 10:33:25 +0800
Subject: [PATCH] Merge branch 'feature_1.0'

---
 src/views/UVA/index.vue |   46 +++++++++++++++++++++-------------------------
 1 files changed, 21 insertions(+), 25 deletions(-)

diff --git a/src/views/UVA/index.vue b/src/views/UVA/index.vue
index 087c053..2ca057f 100644
--- a/src/views/UVA/index.vue
+++ b/src/views/UVA/index.vue
@@ -45,8 +45,6 @@
           <el-collapse
             v-show="shou1 === true"
             v-loading="loading"
-            accordion
-            style="box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1)"
           >
             <el-collapse-item
               style="text-indent: 2em; position: relative; padding-botton: 10px"
@@ -146,8 +144,6 @@
                 <span>���������������������������(���): </span>
                 <el-input
                   ref="uvas"
-                  v-model="tallone"
-                  class="inputtu"
                 />
                 --
                 <el-input
@@ -1226,7 +1222,7 @@
       this.abc += 1
       const that = this
       if (!res) {
-        that.map = new BMapGL.Map('map_container')
+        that.map = new BMap.Map('map_container')
         console.log('BMap', BMap)
         console.log('BMapGL', BMapGL)
         console.log('window', window.BMapGL)
@@ -1308,7 +1304,7 @@
             // lat = GPS.bd_encrypt(lat, lng).lat
             // lng = GPS.bd_decrypt(lat, lng).lon
             // lat = GPS.bd_decrypt(lat, lng).lat
-            var point = new BMapGL.Point(lng, lat)
+            var point = new BMap.Point(lng, lat)
             point.a34004 = parseInt(value.a34004)
             point.a34002 = parseInt(value.a34002)
             point.a21026 = parseInt(value.a21026)
@@ -1330,7 +1326,7 @@
         // ���������������������������������
         // if (!that.showPoints) {
         //   console.log(111)
-        //   that.map = new BMapGL.Map('map_container')
+        //   that.map = new window.BMapGL.Map('map_container')
         // }
         // that.map.enableScrollWheelZoom(true) // ������������������������������������������������������s
         // that.map.setMapType(BMAP_EARTH_MAP) // ���������������������������������
@@ -1351,7 +1347,7 @@
         //   building: true, // ������������������
         //   poiText: false, // ������poi������
         // })
-        // that.map.addControl(new BMapGL.NavigationControl3D()) // ������3d������
+        // that.map.addControl(new window.BMapGL.NavigationControl3D()) // ������3d������
         if (this.responseJSON.length === 0) {
           showNoPoints()
         }
@@ -1419,12 +1415,12 @@
           var data = point[sensor]
           // ������������������������������������
           var color = getColorAndLevel(sensor, data).color
-          var polygon = new BMapGL.Polygon(
+          var polygon = new BMap.Polygon(
             [
-              new BMapGL.Point(sw.lng, sw.lat), // ���������
-              new BMapGL.Point(ne.lng, sw.lat), // ���������
-              new BMapGL.Point(ne.lng, ne.lat), // ���������
-              new BMapGL.Point(sw.lng, ne.lat) // ���������
+              new BMap.Point(sw.lng, sw.lat), // ���������
+              new BMap.Point(ne.lng, sw.lat), // ���������
+              new BMap.Point(ne.lng, ne.lat), // ���������
+              new BMap.Point(sw.lng, ne.lat) // ���������
             ],
             {
               strokeWeight: 0.1, // ������������������,������������������
@@ -1443,24 +1439,24 @@
 
       // ���������������������
       function drawStartAndEnd() {
-        var startIcon = new BMapGL.Icon(
+        var startIcon = new BMap.Icon(
           require('@/assets/images/start.png'),
-          new BMapGL.Size(48, 48)
+          new BMap.Size(48, 48)
         )
-        var startMark = new BMapGL.Marker(that.showPoints[0], {
+        var startMark = new BMap.Marker(that.showPoints[0], {
           icon: startIcon,
-          offset: new BMapGL.Size(0, -20)
+          offset: new BMap.Size(0, -20)
         })
         that.map.addOverlay(startMark)
-        var endIcon = new BMapGL.Icon(
+        var endIcon = new BMap.Icon(
           require('@/assets/images/end.png'),
-          new BMapGL.Size(48, 48)
+          new BMap.Size(48, 48)
         )
-        var endMark = new BMapGL.Marker(
+        var endMark = new BMap.Marker(
           that.showPoints[that.showPoints.length - 1],
           {
             icon: endIcon,
-            offset: new BMapGL.Size(0, -20)
+            offset: new BMap.Size(0, -20)
           }
         )
         that.map.addOverlay(endMark)
@@ -1540,7 +1536,7 @@
         lng = (lng * 180) / Math.PI
         lat = (lat * 180) / Math.PI
         // console.log(lng, lat)
-        return new BMapGL.Point(lng, lat)
+        return new BMap.Point(lng, lat)
       }
 
       function getGrading(sensor, type, carMac) {
@@ -1891,14 +1887,14 @@
 
       // point���������label������
       function setLabelStyle(content, point) {
-        var label = new BMapGL.Label(
+        var label = new BMap.Label(
           "<span class='my-maptip'>" + content + '<br /><span>', // ���lable������������
           {
-            offset: new BMapGL.Size(-8, -10), // label������������������������label������������������������
+            offset: new BMap.Size(-8, -10), // label������������������������label������������������������
             position: point
           } // label���������
         )
-        var offsetSize = new BMapGL.Size(0, 0)
+        var offsetSize = new BMap.Size(0, 0)
         var size = '10px'
         if (that.map.getZoom() <= 15.5) {
           size = '0px'

--
Gitblit v1.8.0