소스 검색

修改按小区过滤

long 3 년 전
부모
커밋
ca1a4becee
1개의 변경된 파일6개의 추가작업 그리고 5개의 파일을 삭제
  1. 6 5
      operationSupport/src/views/propertyManagement/inform.vue

+ 6 - 5
operationSupport/src/views/propertyManagement/inform.vue

@@ -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);