浏览代码

Merge branch '2.0.0' of http://git.ycjcjy.com/fuxingfan/smartCommunity into 2.0.0

魏熙美 6 年前
父节点
当前提交
3aa2da0f6e

+ 1
- 0
CODE/smart-community/property-api/src/main/java/com/community/huiju/service/impl/BuildingTreeServiceImpl.java 查看文件

@@ -770,6 +770,7 @@ public class BuildingTreeServiceImpl implements BuildingTreeServiceI {
770 770
 				tpBuildingOwnerInfo.eq("community_id", tpUnit.getCommunityId())
771 771
 						.eq("phase_id", tpUnit.getPhaseId())
772 772
 						.eq("building_id", tpUnit.getBuildingId())
773
+						.eq("name", tpUnit.getName())
773 774
 						.eq("verify_status", 1);
774 775
 				}
775 776
 			List<TpBuildingOwnerInfo> ifoBuid = tpBuildingOwnerInfoMapper.selectList(tpBuildingOwnerInfo);

+ 1
- 4
VUECODE/smart-property-manage/src/views/social/activity/index.vue 查看文件

@@ -16,7 +16,7 @@
16 16
         <el-button type="primary" @click="onSubmit">查询</el-button>
17 17
       </el-form-item>
18 18
     </el-form>
19
-    <div class="operation">
19
+    <div>
20 20
       <el-button type="primary" @click="addActivity">添加</el-button>
21 21
       <el-button type="warning" @click="ediActivity">修改</el-button>
22 22
       <el-button type="danger" @click="invalidActivity">作废</el-button>
@@ -287,9 +287,6 @@ export default {
287 287
 .form-inline{
288 288
   margin-left: 20px;
289 289
 }
290
-.operation {
291
-  margin-left: 20px;
292
-}
293 290
 .block {
294 291
   display: flex;
295 292
   justify-content: flex-end;

+ 1
- 1
VUECODE/smart-property-manage/src/views/social/announcement/add.vue 查看文件

@@ -7,7 +7,7 @@
7 7
       </el-form-item>
8 8
       <el-form-item  prop="announcementCarouselImg" >
9 9
         <div >
10
-          <div style="transform:translateY(250%);">公告轮播图</div>
10
+          <div style="transform:translateY(250%);">公告图</div>
11 11
         <div  style="width: 500px;padding-left:20%;">
12 12
         <el-upload 
13 13
           :show-file-list="false"

+ 1
- 0
VUECODE/smart-property-manage/src/views/social/transaction/index.vue 查看文件

@@ -28,6 +28,7 @@
28 28
     <div class="button">
29 29
       <el-button type="primary" @click="add">添加</el-button>
30 30
       <el-button type="warning" @click="edit">修改</el-button>
31
+      <el-button type="danger" @click="deleteId">作废</el-button>
31 32
     </div>
32 33
     <el-table
33 34
       v-loading="listLoading"

+ 12
- 12
VUECODE/smart-property-manage/src/views/social/transaction/transactionAdd.vue 查看文件

@@ -83,31 +83,31 @@ export default {
83 83
       dialogImageUrl: '', // 活动配图, 图片链接 (以单张为单位)
84 84
       rules: {
85 85
         announcementTitle: [
86
-          { required: true, message: '请输入公告名称', trigger: 'blur' },
86
+          { required: true, message: '请输入话题名称', trigger: 'blur' },
87 87
           { min: 1, max: 20, message: '长度在 20 个字符以内', trigger: 'blur' }
88 88
         ],
89 89
         announcementContent: [
90
-          { required: true, message: '公告详细描述', trigger: 'blur' }
90
+          { required: true, message: '话题详细描述', trigger: 'blur' }
91 91
         ],
92 92
         sort: [
93 93
           { required: true, message: '请输入权重值', trigger: 'change' }
94 94
         ]
95
-      }
95
+      },
96
+      lock: false
96 97
     }
97 98
   },
98 99
   methods: {
99 100
     submitForm(formName, status) {
100
-      console.log(status)
101
-      // 加载框
102
-    //   const loading = this.$loading({
103
-    //     lock: true,
104
-    //     text: 'Loading',
105
-    //     spinner: 'el-icon-loading',
106
-    //     background: 'rgba(0, 0, 0, 0.7)'
107
-    //   })
101
+      //加载框
102
+      const loading = this.$loading({
103
+        lock: true,
104
+        text: 'Loading',
105
+        spinner: 'el-icon-loading',
106
+        background: 'rgba(0, 0, 0, 0.7)'
107
+      })
108 108
       this.$refs[formName].validate((valid) => {
109 109
         if (valid) {
110
-          if (this.ruleForm.announcementContent.length <= 0 && this.ruleForm.contentImg.length <= 0) {
110
+          if (this.ruleForm.transactionContent.length <= 0 && this.ruleForm.contentImg.length <= 0) {
111 111
             this.$message.error('话题内容描述 和 话题配图至少要存在一个!')
112 112
             return
113 113
           }