Browse Source

修改邻里社区

long 3 years ago
parent
commit
30ea5d9274

+ 2 - 2
operationSupport/src/components/common/treeHouse.vue

@@ -280,7 +280,7 @@ export default {
             let obj = {};
             obj.userList = arr;
             obj.checkData = array;
-            console.log('多选框返回选中房间的数据', array);
+            // console.log('多选框返回选中房间的数据', array);
             // 选中的房间id
             this.$emit('selectData', obj);
         },
@@ -306,7 +306,7 @@ export default {
             let obj = {};
             obj.userList = a;
             obj.checkData = array;
-            console.log('多选框返回选中人员的数据', JSON.stringify(checkDatas));
+            // console.log('多选框返回选中人员的数据', JSON.stringify(checkDatas));
             // 输入框显示的人员
             this.selectPeople = nameArr.toString();
             // 选中的人员id

+ 13 - 9
operationSupport/src/views/propertyManagement/inform.vue

@@ -597,9 +597,10 @@ export default {
         },
         // 选择的人员
         selectPeople(val) {
-            if (val.userList.length < 1) {
-                this.ruleForm.issueRoom.radioStaff = '指定员工';
-            }
+            // if (val.userList.length < 1) {
+            //     this.ruleForm.issueRoom.radioStaff = '指定员工';
+            // }
+            this.selectDataPeopleTreeData.userList = [];
             this.selectDataPeopleTreeData = val;
             console.log('选择的人员inform', val);
         },
@@ -627,6 +628,7 @@ export default {
             }
             if (val) {
                 this.ruleForm.issueRoom.radioStaff = '全部员工';
+
                 // this.ruleForm.issueRoom.checkAll = false;
                 // this.ruleForm.issueRoom.radioRoom = '';
                 this.$refs.selectTreePeoples.selectAllPeople();
@@ -798,6 +800,10 @@ export default {
                                 userVos.push(obj);
                             }
                         }
+
+                        console.log('image======this.successImageLists=======', this.successImageLists);
+                        console.log('arr1=======', arr1);
+                        console.log('arr2=======', arr2);
                         let query = {
                             communityId: this.ruleForm.popCommunityId,
                             content: this.ruleForm.editorContents,
@@ -831,9 +837,7 @@ export default {
                                 this.mixins_search();
                                 this.$message.success(res.msg);
                                 this.$refs.endit.setContent('');
-                                this.$refs['ruleForm'].resetFields();
                                 this.successImageList = [];
-
                                 this.clear();
                                 this.$refs['ruleForm'].resetFields();
                                 if (this.showUploadImage) {
@@ -991,7 +995,7 @@ export default {
             // this.rowDetail = [];
             this.$http.get('/sc-community-web/notice/find/' + row.id).then((res) => {
                 if (res.status === 0) {
-                    console.log('查看详情res.data.treeData', res.data.treeData);
+                    // console.log('查看详情res.data.treeData', res.data.treeData);
                     this.rowDetail = res.data;
                     let treeData = JSON.parse(res.data.treeData);
                     this.rowDetail.treeData = JSON.parse(treeData[0]);
@@ -1007,9 +1011,9 @@ export default {
                         userType = 1;
                     }
                     this.userType = userType;
-                    console.log('查看详情this.userType', this.rowDetail.treeData);
-                    console.log('查看详情this.rowDetail.treeData', this.rowDetail.treeData);
-                    console.log('查看详情this.rowDetail.treeDataPeople', this.rowDetail.treeDataPeople);
+                    // console.log('查看详情this.userType', this.rowDetail.treeData);
+                    // console.log('查看详情this.rowDetail.treeData', this.rowDetail.treeData);
+                    // console.log('查看详情this.rowDetail.treeDataPeople', this.rowDetail.treeDataPeople);
                     // this.rowDetail.newName = this.houseNames.toString();
                     if (userType == 0) {
                         this.getOrgTreeList();