weiximei 6 vuotta sitten
vanhempi
commit
801c2aa230

+ 1
- 1
CODE/smart-community/app-api/src/main/java/com/community/huiju/controller/CodeController.java Näytä tiedosto

@@ -43,7 +43,7 @@ public class CodeController {
43 43
 
44 44
         log.info("{} 手机号校验结果: {}",phone, AccountValidatorUtil.isPhone(phone));
45 45
         if (!AccountValidatorUtil.isPhone(phone)){
46
-            response.addError("请输入正的手机号!");
46
+            response.addError("请输入正的手机号!");
47 47
             return response;
48 48
         }
49 49
 

+ 2
- 2
CODE/smart-community/app-api/src/main/java/com/community/huiju/service/impl/TaUserServiceImpl.java Näytä tiedosto

@@ -73,7 +73,7 @@ public class TaUserServiceImpl implements ITaUserService {
73 73
         ResponseBean response = new ResponseBean();
74 74
         log.info("{} 手机号校验结果: {}",user.getLoginName(),AccountValidatorUtil.isPhone(user.getLoginName()));
75 75
         if (!AccountValidatorUtil.isPhone(user.getLoginName())){
76
-            response.addError("请输入正的手机号!");
76
+            response.addError("请输入正的手机号!");
77 77
             return response;
78 78
         }
79 79
         Map<String,Object> map = Maps.newHashMap();
@@ -112,7 +112,7 @@ public class TaUserServiceImpl implements ITaUserService {
112 112
         AppkeyCache.setCache(loginName,"null");
113 113
         log.info("{} 手机号校验结果: {}",loginName,AccountValidatorUtil.isPhone(loginName));
114 114
         if (!AccountValidatorUtil.isPhone(loginName)){
115
-            response.addError("请输入正的手机号!");
115
+            response.addError("请输入正的手机号!");
116 116
             return response;
117 117
         }
118 118
         if (StringUtils.isBlank(communityId)) {

+ 1
- 1
CODE/smart-community/property-api/src/main/java/com/community/huiju/controller/CodeController.java Näytä tiedosto

@@ -41,7 +41,7 @@ public class CodeController {
41 41
 
42 42
         log.info("{} 手机号校验结果: {}",phone, AccountValidatorUtil.isPhone(phone));
43 43
         if (!AccountValidatorUtil.isPhone(phone)){
44
-            response.addError("请输入正的手机号!");
44
+            response.addError("请输入正的手机号!");
45 45
             return response;
46 46
         }
47 47
 

+ 3
- 3
CODE/smart-community/property-api/src/main/java/com/community/huiju/service/impl/BuildingOwnerInfoServiceImpl.java Näytä tiedosto

@@ -140,7 +140,7 @@ public class BuildingOwnerInfoServiceImpl extends ServiceImpl<TpBuildingOwnerInf
140 140
 
141 141
         TpBuildingOwnerInfo tpBuildingOwnerInfo = JSONObject.parseObject(parameter, TpBuildingOwnerInfo.class);
142 142
         if (!AccountValidatorUtil.isPhone(tpBuildingOwnerInfo.getOwnerTel())){
143
-            responseBean.addError("请输入正的手机号!");
143
+            responseBean.addError("请输入正的手机号!");
144 144
             return responseBean;
145 145
         }
146 146
 
@@ -254,7 +254,7 @@ public class BuildingOwnerInfoServiceImpl extends ServiceImpl<TpBuildingOwnerInf
254 254
         // 物业端的用户,也就是正在操作的物业人员
255 255
         User user = userMapper.selectById(userElement.getId());
256 256
         if (!AccountValidatorUtil.isPhone(tpBuildingOwnerInfo.getOwnerTel())){
257
-            responseBean.addError("请输入正的手机号!");
257
+            responseBean.addError("请输入正的手机号!");
258 258
             return responseBean;
259 259
         }
260 260
 
@@ -270,7 +270,7 @@ public class BuildingOwnerInfoServiceImpl extends ServiceImpl<TpBuildingOwnerInf
270 270
         // 校验楼栋信息表
271 271
         selectBuild = getBuildingInfo(tpBuildingOwnerInfo, userElement.getCommunityId());
272 272
         if (null != selectBuild) {
273
-            responseBean.addError("该楼层的户号,已存在!");
273
+            responseBean.addError("该楼层的户号已存在!");
274 274
             return responseBean;
275 275
         }
276 276
 

+ 2
- 2
VUECODE/smart-property-manage/src/views/owner/index.vue Näytä tiedosto

@@ -34,14 +34,14 @@
34 34
         <template slot-scope="scope">
35 35
           <span v-if="scope.row.gender==1">{{ '男' }}</span>
36 36
           <span v-if="scope.row.gender==2">{{ '女' }}</span>
37
-        </template>      
37
+        </template>
38 38
       </el-table-column>
39 39
       <el-table-column prop="idCard" label="身份证号" align="center" />
40 40
       <!-- <el-table-column prop="name" label="所在户" width="180" /> -->
41 41
       <el-table-column label="所在户" align="center">
42 42
         <template slot-scope="scope">
43 43
           <span v-if="scope.row.building!==null&&scope.row.unit!==null&&scope.row.level!==null&&scope.row.roomNo!==null&&scope.row.phase!==null">
44
-          {{ scope.row.building + scope.row.unit + scope.row.level + scope.row.roomNo+scope.row.phase }}
44
+          {{ scope.row.phase+scope.row.building + scope.row.unit + scope.row.level + scope.row.roomNo }}
45 45
           </span>
46 46
           </template>
47 47
       </el-table-column>

+ 0
- 2
VUECODE/smart-property-manage/src/views/social/activity/add/index.vue Näytä tiedosto

@@ -113,10 +113,8 @@ export default {
113 113
       })
114 114
     },
115 115
     resetForm(formName) {
116
-      console.log("2")
117 116
       // this.$refs[formName].resetFields()
118 117
       this.$refs[formName].validate((valid) => {
119
-        console.log("1")
120 118
         if (valid) {
121 119
           this.addActivity(2)
122 120
         } else {

+ 14
- 7
VUECODE/smart-property-manage/src/views/social/activity/info/index.vue Näytä tiedosto

@@ -12,7 +12,7 @@
12 12
       <div class="text-progress">
13 13
         <span class="people-number">已报名人数 {{ ruleForm.signUpCount }}</span>
14 14
         <div class="outer-layer"/>
15
-        <div class="inner-layer"/>
15
+        <div ref="innerDiv" :style="{ backgroundColor: 'aquamarine', height: '6px', width: innerW + 'px', position: 'relative', marginTop: '-4px' }"/> <!-- class="inner-layer" -->
16 16
       </div>
17 17
       <div class="circular"/>
18 18
       <div class="people-limit">限制{{ ruleForm.signUpMax }}人</div>
@@ -26,6 +26,7 @@
26 26
 </template>
27 27
 
28 28
 <script>
29
+
29 30
 export default {
30 31
   name: 'Index',
31 32
   data() {
@@ -42,7 +43,8 @@ export default {
42 43
         registrationEndTime: '', // 报名活动结束时间
43 44
         sort: 1, // 权重
44 45
         status: '' // 状态 0 是已作废 1 是已发布   2 是草稿 3 是已修改
45
-      }
46
+      },
47
+      innerW: 0 // 进度条
46 48
     }
47 49
   },
48 50
   mounted() {
@@ -54,6 +56,12 @@ export default {
54 56
         const resData = res.data
55 57
         this.ruleForm = resData.info
56 58
         this.ruleForm.contentImg = resData.contentImg
59
+        if (this.ruleForm.signUpMax !== 0) {
60
+          const tempNum = 450 / this.ruleForm.signUpMax
61
+          this.innerW = this.ruleForm.signUpCount * tempNum
62
+          console.log(this.$refs.innerDiv.style.width)
63
+          console.log(this.innerW)
64
+        }
57 65
       })
58 66
     },
59 67
     formatDate(val) {
@@ -115,13 +123,12 @@ export default {
115 123
   background-color: gainsboro;
116 124
   height: 3px;
117 125
   width: 450px;
118
-  margin-top: -10px;
119 126
   position: relative;
120 127
 }
121 128
 .inner-layer {
122 129
   background-color: aquamarine;
123 130
   height: 6px;
124
-  width: 100px;
131
+  width: 20px;
125 132
   position: relative;
126 133
   margin-top: -4px;
127 134
 }
@@ -133,16 +140,16 @@ export default {
133 140
   height: 20px;
134 141
   position: relative;
135 142
   margin-left: 452px;
136
-  margin-top: 11px;
143
+  margin-top: 21px;
137 144
   float: left;
138 145
 }
139 146
 .people-limit {
140
-  margin-top: 13px;
147
+  margin-top: 23px;
141 148
 }
142 149
 .bom-button{
143 150
   display: flex;
144 151
   justify-content: center;
145
-  margin-top: 20px;
152
+  margin-top: 30px;
146 153
   margin-bottom: 100px;
147 154
 }
148 155
 </style>

+ 14
- 1
VUECODE/smart-property-manage/src/views/social/signUp/index.vue Näytä tiedosto

@@ -57,7 +57,14 @@
57 57
         prop="remark"
58 58
         label="报名备注"
59 59
         align="center">
60
-        <template slot-scope="scope"><el-input :value="scope.row.remark" readonly @click="showDialog(scope.row.remark)" /></template>
60
+        <template slot-scope="scope">
61
+          <el-popover trigger="hover" placement="top">
62
+            <p>{{ scope.row.remark }}</p>
63
+            <div slot="reference" class="text-remark">
64
+              {{ scope.row.remark }}
65
+            </div>
66
+          </el-popover>
67
+        </template>
61 68
       </el-table-column>
62 69
       <el-table-column
63 70
         prop="phone"
@@ -244,4 +251,10 @@ export default {
244 251
   display: flex;
245 252
   justify-content: flex-end;
246 253
 }
254
+.text-remark{
255
+  text-overflow: ellipsis;
256
+  overflow: hidden;
257
+  white-space: nowrap !important;
258
+  outline: 0 !important
259
+}
247 260
 </style>