庞东旭 4 년 전
부모
커밋
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({ 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 파일 보기

@@ -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) => {});
} }
}); });
}) })


불러오는 중...
취소
저장