From facea208b2fc7c8c7a0d176df06305b866c6520f Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: Wed, 17 Jun 2026 08:56:00 +0800
Subject: [PATCH] 中科大支线—申购功能

---
 src/views/hazardousChemicals/systemManage/config/components/mapLocation.vue |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/src/views/hazardousChemicals/systemManage/config/components/mapLocation.vue b/src/views/hazardousChemicals/systemManage/config/components/mapLocation.vue
index 115c24a..795fdfe 100644
--- a/src/views/hazardousChemicals/systemManage/config/components/mapLocation.vue
+++ b/src/views/hazardousChemicals/systemManage/config/components/mapLocation.vue
@@ -25,14 +25,14 @@
         <span>纬度:</span>
         <el-input class="mapLocation_latlng_input" id="lat" v-model.trim="state.latitude" @change="getAdress"></el-input>
       </div>
-      <div class="mapLocation_latlng">
-        <span>地址:</span>
-        <el-input class="mapLocation_latlng_input" id="lat" v-model.trim="state.BAddress"></el-input>
-      </div>
+<!--      <div class="mapLocation_latlng">-->
+<!--        <span>地址:</span>-->
+<!--        <el-input class="mapLocation_latlng_input" id="lat" v-model.trim="state.BAddress"></el-input>-->
+<!--      </div>-->
 
     </div>
     <div class="mapLocation_body">
-      <baidu-map class="map"  @ready="getAdress" ak="BkZdiHBj9aGrMdVFM48r2njNiMzsekga" v="3.0" type="API" :center="state.center" :zoom="state.zoom" scroll-wheel-zoom  @click="getPosition">
+      <baidu-map class="map"  @ready="getAdress" ak="oF71jf1ELX29VmdqXBBNveZ7DevpqsuI" v="3.0" type="API" :center="state.center" :zoom="state.zoom" scroll-wheel-zoom  @click="getPosition">
 <!--        <div style="position: absolute;z-index: 999;margin-top: -495px">-->
 <!--          <label>搜索:<input v-model="state.keyword"></label>-->
 <!--          <bm-local-search-->
@@ -116,13 +116,13 @@
 }
 const myGeo = ref(null)
 const getAdress = () => {
-  myGeo.value = new BMap.Geocoder();
-  const pt = new BMap.Point(state.longitude, state.latitude);
-  myGeo.value.getLocation(pt,function(result){
-        state.BAddress = result.address; //获取到当前定位的详细地址信息
-      },
-      { enableHighAccuracy: true }
-  );
+  // myGeo.value = new BMap.Geocoder();
+  // const pt = new BMap.Point(state.longitude, state.latitude);
+  // myGeo.value.getLocation(pt,function(result){
+  //       state.BAddress = result.address; //获取到当前定位的详细地址信息
+  //     },
+  //     { enableHighAccuracy: true }
+  // );
 }
 const handleClose = () => {
   state.longitude = ''

--
Gitblit v1.9.2