庞东旭 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) => {});
}
});
})


正在加载...
取消
保存