庞东旭 преди 3 години
родител
ревизия
102902c9a1
променени са 2 файла, в които са добавени 8 реда и са изтрити 9 реда
  1. +4
    -5
      src/api/homestead/index.js
  2. +4
    -4
      src/views/homestead/index.vue

+ 4
- 5
src/api/homestead/index.js Целия файл

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

//修改坐标数据同步
export function coordinatesUpdateGeo(data) {
export function coordinatesUpdateGeo(parentCode) {
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,
method: 'get',
})
}
}

+ 4
- 4
src/views/homestead/index.vue Целия файл

@@ -1651,8 +1651,8 @@ export default {
// }
// })
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.tGeoOrganization.orgCode = landInfoList.orgCode;
coordinatesUpdateGeo(this.tGeoOrganization).then((res) => {});
//this.tGeoOrganization.orgCode = landInfoList.orgCode;
//coordinatesUpdateGeo(this.tGeoOrganization.orgCode).then((res) => {});
}
});
})


Зареждане…
Отказ
Запис