|
@@ -363,6 +363,12 @@ export default {
|
|
this.reset();
|
|
this.reset();
|
|
const id = row.id || this.ids
|
|
const id = row.id || this.ids
|
|
getHouse(id).then(response => {
|
|
getHouse(id).then(response => {
|
|
|
|
+ getBuildings(response.data.areaId).then(res => {
|
|
|
|
+ this.builds = res.data
|
|
|
|
+ })
|
|
|
|
+ getUnits(response.data.areaId,response.data.buildingId).then(res => {
|
|
|
|
+ this.units = res.data
|
|
|
|
+ })
|
|
this.loading = false;
|
|
this.loading = false;
|
|
this.form = response.data;
|
|
this.form = response.data;
|
|
this.open = true;
|
|
this.open = true;
|