admin/src/views/project/housingList.vue
@@ -101,6 +101,8 @@ }, projectList: [], buildList: [], filters: {} } }, created() { @@ -121,17 +123,16 @@ }, changeProject(e) { this.searchForm.buildingId = '' getBuildList({ id: e }).then(res => { getBuildList({ projectId: e }).then(res => { this.buildList = res || [] }) }, editClick(row) { if (row && row.id) { this.$refs.operaYwRoomWindow.open('编辑房间') this.$refs.operaYwRoomWindow.open('编辑房间', row) } else { this.$refs.operaYwRoomWindow.open('新建房间') } this.$refs.operaYwRoomWindow.getProject() }, } }