Explorar o código

fix:修改为河北

wangsisi hai 3 semanas
pai
achega
edccb9bc78

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 215 - 3
package-lock.json


+ 2 - 1
src/components/pageComponents/locationSearch.vue

@@ -45,7 +45,8 @@ const remoteMethod = async (keyword) => {
         const params = {
             key: MAP_KEY,
             keyword,
-            region: '广东省',
+            // region: '广东省',
+            region: '河北省',
             region_fix: 1,
             location: props.userLocation,
         };

+ 4 - 2
src/views/old_mini/entry_information/components/baInformation.vue

@@ -96,9 +96,11 @@ const HAS_FARM_KEY = "HAS_ENTRY_FARM";
 const ENTRY_FARM_DATA_KEY = "ENTRY_FARM_DATA";
 /** 默认定位:河北宁晋县 */
 /** 默认定位:广东省梅州 */
-const DEFAULT_POINT = "POINT (116.120276 24.230084)";
+// const DEFAULT_POINT = "POINT (116.120276 24.230084)";
+const DEFAULT_POINT = "POINT(114.91863572509733 37.67702031436258)";
 /** 默认区县:广东省梅州 */
-const DEFAULT_COUNTY_CODE = "441402";
+// const DEFAULT_COUNTY_CODE = "441402";
+const DEFAULT_COUNTY_CODE = "130528";
 const MAP_KEY = "CZLBZ-LJICQ-R4A5J-BN62X-YXCRJ-GNBUT";
 
 const router = useRouter();

+ 4 - 2
src/views/old_mini/entry_information/selectLocation.vue

@@ -34,8 +34,10 @@ const SESSION_KEY_RESIDENT = "ENTRY_RESIDENT_LOCATION";
 const SESSION_KEY_GROWTH = "GROWTH_REPORT_LOCATION";
 /** 默认定位:河北宁晋县 */
 /** 默认定位:广东省梅州 */
-const DEFAULT_POINT = "POINT(116.120276 24.230084)";
-const DEFAULT_USER_LOCATION = "116.120276 24.230084";
+// const DEFAULT_POINT = "POINT(116.120276 24.230084)";
+// const DEFAULT_USER_LOCATION = "116.120276 24.230084";
+const DEFAULT_POINT = "POINT(114.91863572509733 37.67702031436258)";
+const DEFAULT_USER_LOCATION = "114.91863572509733,37.67702031436258";
 const MAP_KEY = "CZLBZ-LJICQ-R4A5J-BN62X-YXCRJ-GNBUT";
 
 const router = useRouter();

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 799 - 713
yarn.lock


Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio