庞东旭 vor 3 Jahren
Ursprung
Commit
102902c9a1
2 geänderte Dateien mit 8 neuen und 9 gelöschten Zeilen
  1. +4
    -5
      src/api/homestead/index.js
  2. +4
    -4
      src/views/homestead/index.vue

+ 4
- 5
src/api/homestead/index.js Datei anzeigen

@@ -128,11 +128,10 @@ export function currentLocation(query) {
} }


//修改坐标数据同步 //修改坐标数据同步
export function coordinatesUpdateGeo(data) {
export function coordinatesUpdateGeo(parentCode) {
return request({ return request({
url: '/geo/geo/coordinatesEdit',
method: 'post',
data: data
url: '/geo/geo/latAndLon/'+parentCode,
method: 'get'
}) })
} }


@@ -150,4 +149,4 @@ export function landRemove(id) {
url: '/geo/land/remove/' + id, url: '/geo/land/remove/' + id,
method: 'get', method: 'get',
}) })
}
}

+ 4
- 4
src/views/homestead/index.vue Datei anzeigen

@@ -1651,8 +1651,8 @@ export default {
// } // }
// }) // })
this.switchLoad(); this.switchLoad();
this.tGeoOrganization.orgCode = houseInfoList.orgCode;
coordinatesUpdateGeo(this.tGeoOrganization).then((res) => {});
//this.tGeoOrganization.orgCode = houseInfoList.orgCode;
//coordinatesUpdateGeo(this.tGeoOrganization.orgCode).then((res) => {});
} }
}); });
}) })
@@ -1774,8 +1774,8 @@ export default {
// } // }
//列表更新 //列表更新
this.switchLoad(); this.switchLoad();
this.tGeoOrganization.orgCode = landInfoList.orgCode;
coordinatesUpdateGeo(this.tGeoOrganization).then((res) => {});
//this.tGeoOrganization.orgCode = landInfoList.orgCode;
//coordinatesUpdateGeo(this.tGeoOrganization.orgCode).then((res) => {});
} }
}); });
}) })


Laden…
Abbrechen
Speichern