Browse Source

修改查看详情

long 3 years ago
parent
commit
73bbabbb00

+ 1 - 1
operationSupport/src/views/propertyManagement/common/previeInform.vue

@@ -46,7 +46,7 @@
                                     @node-collapse="closeTree"
                                 >
                                     <span class="custom-tree-node" slot-scope="{ node, data }">
-                                        <span v-if="data.children == null || data.children.length > 0">
+                                        <span v-if="data.children == null && data.children.length > 0">
                                             <span class="circle"></span>
                                             {{ data.name }}</span
                                         >

+ 3 - 8
operationSupport/src/views/propertyManagement/inform.vue

@@ -910,14 +910,6 @@ export default {
         },
         filterPeopleName(array) {
             var that = this;
-            // array.map((item) => {
-            //     if (item.children && item.children.length > 0) {
-            //         that.filterName(item.children);
-            //         that.houseNames.push(item.name);
-            //     } else if (item.type == 'room') {
-            //         that.houseNames.push(item.name);
-            //     }
-            // });
             array.map((item) => {
                 if (item.children) {
                     that.filterPeopleName(item.children);
@@ -982,6 +974,9 @@ export default {
                         console.log('选中的社区', arr);
                         this.houseData = arr;
                         this.dimension(this.houseData);
+                        console.log('====================================');
+                        console.log('houseData', this.houseData);
+                        console.log('====================================');
                         this.filterName(this.houseData);
                         let h = [...new Set(this.houseNames)];
                         this.houseDataNames = this.houseNames.toString();