|
@@ -569,11 +569,11 @@ export default {
|
|
|
.get('/sc-community/assets/tree/community/find', { buildingType: this.buildingType })
|
|
|
.then(({ status, data, msg }) => {
|
|
|
if (status === 0 && data) {
|
|
|
- // this.$refs.selectTreeHouse.filterhouse(val, data);
|
|
|
- // this.ruleForm.issueRoom.checkAll = true;
|
|
|
- // this.ruleForm.issueRoom.radioRoom = '全部房间';
|
|
|
- // this.ruleForm.issueRoom.radioStaff = '';
|
|
|
- // this.ruleForm.issueRoom.staff = false;
|
|
|
+ this.$refs.selectTreeHouse.filterhouse(val, data);
|
|
|
+ this.ruleForm.issueRoom.checkAll = true;
|
|
|
+ this.ruleForm.issueRoom.radioRoom = '全部房间';
|
|
|
+ this.ruleForm.issueRoom.radioStaff = '';
|
|
|
+ this.ruleForm.issueRoom.staff = false;
|
|
|
} else {
|
|
|
this.$message.error('获取房间失败');
|
|
|
}
|
|
@@ -979,6 +979,7 @@ export default {
|
|
|
var arr = data.filter((item) => {
|
|
|
return item.id == this.rowDetail.communityId;
|
|
|
});
|
|
|
+ console.log('选中的社区', arr);
|
|
|
this.houseData = arr;
|
|
|
this.dimension(this.houseData);
|
|
|
this.filterName(this.houseData);
|