|
@@ -1478,10 +1478,14 @@ export default {
|
|
|
this.reset();
|
|
|
const id = row.id || this.ids
|
|
|
getEngineeringCivil(id).then(res => {
|
|
|
- debugger
|
|
|
that.loading = false;
|
|
|
// let newData = res.data
|
|
|
// // 手动调用行政区发生改变
|
|
|
+ let newData = res.data
|
|
|
+ that.districtHasChanged(newData.district)
|
|
|
+ that.communityHasChanged(newData.areaId)
|
|
|
+ that.buildingHasChanged(newData.buildingId, newData.areaId)
|
|
|
+ that.unitHasChanged(newData.unitId)
|
|
|
that.queryParams = res.data
|
|
|
let va = that.queryParams.enginClassification
|
|
|
that.enginTypeHasChanged(that.queryParams.enginType)
|