ソースを参照

优化环翠保存问题

wulanhaote
hbao 3年前
コミット
d69fe24749
2個のファイルの変更6行の追加7行の削除
  1. +4
    -5
      src/api/homestead/index.js
  2. +2
    -2
      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',
})
}
}

+ 2
- 2
src/views/homestead/index.vue ファイルの表示

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


読み込み中…
キャンセル
保存