Explorar o código

fix: 梅州金柚

lxf hai 1 semana
pai
achega
e131b5e3fe

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

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

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

@@ -95,9 +95,10 @@ const HAS_FARM_KEY = "HAS_ENTRY_FARM";
 /** 新增农场信息(点位、品类等) */
 const ENTRY_FARM_DATA_KEY = "ENTRY_FARM_DATA";
 /** 默认定位:河北宁晋县 */
-const DEFAULT_POINT = "POINT(114.91863572509733 37.67702031436258)";
-/** 默认区县:河北宁晋县 */
-const DEFAULT_COUNTY_CODE = "130528";
+/** 默认定位:广东省梅州 */
+const DEFAULT_POINT = "POINT(116.120276 24.230084)";
+/** 默认区县:广东省梅州 */
+const DEFAULT_COUNTY_CODE = "441402";
 const MAP_KEY = "CZLBZ-LJICQ-R4A5J-BN62X-YXCRJ-GNBUT";
 
 const router = useRouter();

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

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