|
@@ -375,11 +375,13 @@ export default {
|
|
|
getBuilding(areaId) {
|
|
|
getBuilding(areaId).then(response => {
|
|
|
this.buildingList = response.data;
|
|
|
+ this.getUnit(this.form.buildingId);
|
|
|
});
|
|
|
},
|
|
|
getUnit(buildingId) {
|
|
|
getUnit(buildingId).then(response => {
|
|
|
this.unitList = response.data;
|
|
|
+ this.getHouse(this.form.unitId);
|
|
|
});
|
|
|
},
|
|
|
getHouse(unitId) {
|
|
@@ -478,8 +480,6 @@ export default {
|
|
|
this.open = true;
|
|
|
this.title = "修改";
|
|
|
this.getBuilding(this.form.areaId);
|
|
|
- this.getUnit(this.form.buildingId);
|
|
|
- this.getHouse(this.form.unitId);
|
|
|
});
|
|
|
},
|
|
|
/** 提交按钮 */
|