| 
					
				 | 
			
			
				@@ -231,6 +231,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                         :filePath="filePath" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                         :successImageLists="successImageLists" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                         :detailPeople="detailPeople" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                        :detailTreeData="detailTreeData" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     ></previe-inform> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                 </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             </div> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -241,7 +242,8 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                 </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                 <div class="dialog-right-header"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     <i class="el-icon-arrow-left"></i> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                    <div>社区活动</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    <div v-if="showDetail">{{ this.showUploadImage ? '社区活动' : '物业通知' }}</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    <div v-else>{{ rowDetail.type == 0 ? '物业通知' : '社区活动' }}</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                 </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                 <div class="center-padding"></div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                 <GeminiScrollbar class="my-scroll-bar" :autoshow="false" :color="red"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -317,8 +319,10 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     data() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         let _this = this; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            organList: [], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             popCommunityName: '', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             detailPeople: [], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            detailTreeData: [], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             fileList: [], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             // 显示图片上传 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             showUploadImage: false, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -445,9 +449,9 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             houseData: [], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             peopleData: [], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             // 选中的房间 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            selectDataHouseTreeData: [], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            selectDataHouseTreeData: {}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             // 选中的人员 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            selectDataPeopleTreeData: [], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            selectDataPeopleTreeData: {}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             // 文件上传地址 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             uploadFileUrl: [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -460,6 +464,8 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.mixins_dataUrl = '/sc-community-web/notice/page'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.mixins_query = {}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.mixins_search(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.getOrgTreeList(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.getPeopleList(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     mounted() {}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     watch: {}, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -538,25 +544,28 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // 添加弹框下拉框变化 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         changeCommunity(val) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             console.log('添加弹框下拉框变化', val); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            this.$http 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                .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.radioRoom = '全部房间'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        this.$message.warning('获取房间失败'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (this.ruleForm.issueRoom.checkAll) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.$http 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    .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.radioRoom = '全部房间'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            this.$message.warning('获取房间失败'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // 选中的房间 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         selectDataHouseTree(val) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            // this.selectDataHouseTreeData = val; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.selectDataHouseTreeData = val; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.selectDataHouseTreeData.userID = []; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             // 获取房间下的usid 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            this.$http.post('/sc-community-web/notice/queryHouseUser', val).then((res) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.$http.post('/sc-community-web/notice/queryHouseUser', val.userList).then((res) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 if (res.status === 0) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    this.selectDataHouseTreeData = res.data; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.selectDataHouseTreeData.userID = res.data; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     // this.$message('获取房间失败'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -566,11 +575,13 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // 选择的人员 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         selectPeople(val) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             this.selectDataPeopleTreeData = val; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            console.log('选择的人员', val); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            console.log('选择的人员inform', val); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         /**监听指定房间单选框变化*/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         changeRadioRoom(val) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            this.showChangeRoom = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (!this.ruleForm.popCommunityId) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                return this.$message.warning('请先选择所属社区'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (val == '指定房间') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 this.ruleForm.disabledRoom = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 this.$refs.selectTreeHouse.selectHouseOr(); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -588,10 +599,13 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 this.ruleForm.issueRoom.checkAll = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 this.ruleForm.issueRoom.radioRoom = ''; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 this.$refs.selectTreePeoples.selectAllPeople(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.$refs.selectTreeHouse.selectHouseOr(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 this.ruleForm.issueRoom.radioStaff = ''; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 this.ruleForm.issueRoom.checkAll = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 this.ruleForm.issueRoom.radioRoom = '全部房间'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.$refs.selectTreePeoples.selectPeopleOr(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.$refs.selectTreeHouse.selectAllHouse(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // 选择房间单选框变化 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -688,7 +702,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				          * */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         dialogButton(type) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (type === 'prev') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                if (this.selectDataHouseTreeData.length < 1 && this.selectDataPeopleTreeData.length < 1) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if (this.selectDataHouseTreeData.userID.length < 1 && this.selectDataPeopleTreeData.userList.length < 1) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     return this.$message.warning('请选择房间'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 this.$refs['ruleForm'].validate((valid) => { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -707,7 +721,12 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             //   pubPeople:ruleForm.informType, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             //   pubStatus: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             themePictrue: JSON.stringify(this.successImageLists), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            userId: this.ruleForm.issueRoom.checkAll ? this.selectDataHouseTreeData : this.selectDataPeopleTreeData, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            userId: this.ruleForm.issueRoom.checkAll 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                ? this.selectDataHouseTreeData.userID 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                : this.selectDataPeopleTreeData.userList, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            treeData: this.ruleForm.issueRoom.checkAll 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                ? JSON.stringify(this.selectDataHouseTreeData.checkData) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                : JSON.stringify(this.selectDataPeopleTreeData.checkData), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             title: this.ruleForm.title, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             type: this.ruleForm.informType, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             urgentFlag: this.ruleForm.exigencyOr == '是' ? 1 : 0, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -758,19 +777,35 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // 获取房间 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        getOrgTreeList() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.$http 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                .get('/sc-community/assets/tree/community/find', { buildingType: this.buildingType }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                .then(({ status, data, msg }) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    if (status === 0 && data) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        this.organList = data; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    console.log('获取房间', data); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         /** 查看详情*/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         clickDatail(row) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             // this.rowDetail = []; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             this.$http.get('/sc-community-web/notice/find/' + row.id).then((res) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 if (res.status === 0) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    // this.filterHouse(this.organList, res.data.noticeUserVoList); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     this.rowDetail = res.data; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     // let fileArr = row.filePath.split(','); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     // this.filePath = fileArr.slice(0, fileArr.length - 1); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    this.filePath = JSON.parse(row.filePath); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    this.successImageLists = JSON.parse(row.themePictrue); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    this.contentHtml = row.content; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.filePath = JSON.parse(res.data.filePath); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.successImageLists = JSON.parse(res.data.themePictrue); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.detailTreeData = JSON.parse(res.data.treeData); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.contentHtml = res.data.content; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     this.centerDialogVisible = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     this.showDetail = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.detailPeople = res.data.noticeUserVoList; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     console.log('查看详情', res); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     return this.$message('获取详情失败!请稍后重试'); 
			 |