Parcourir la source

Merge remote-tracking branch 'origin/zdsz3.0' into zdsz3.0

吕宣芝 il y a 1 an
Parent
commit
35b33e6268
1 fichiers modifiés avec 6 ajouts et 0 suppressions
  1. 6 0
      src/views/zdsz/house/index.vue

+ 6 - 0
src/views/zdsz/house/index.vue

@@ -363,6 +363,12 @@ export default {
       this.reset();
       const id = row.id || this.ids
       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.form = response.data;
         this.open = true;