|
@@ -626,12 +626,15 @@ export default {
|
|
|
this.form.areaName = this.areaList.filter(item => item.id == areaId )[0].name
|
|
|
getBuilding(areaId).then(response => {
|
|
|
this.buildingList = response.data
|
|
|
+ this.getUnit(this.form.buildingId)
|
|
|
})
|
|
|
},
|
|
|
getUnit(buildingId) {
|
|
|
this.form.buildingName = this.buildingList.filter(item => item.id == buildingId )[0].name
|
|
|
getUnit(buildingId).then(response => {
|
|
|
this.unitList = response.data
|
|
|
+ this.getHouse(this.form.unitId)
|
|
|
+
|
|
|
})
|
|
|
},
|
|
|
getHouse(unitId) {
|
|
@@ -742,8 +745,7 @@ export default {
|
|
|
this.open = true
|
|
|
this.title = '修改工程管理'
|
|
|
this.getBuilding(this.form.areaId)
|
|
|
- this.getUnit(this.form.buildingId)
|
|
|
- this.getHouse(this.form.unitId)
|
|
|
+
|
|
|
})
|
|
|
},
|
|
|
/** 复审按钮操作 */
|