Explorar el Código

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

魏熙美 hace 6 años
padre
commit
ab7f6b89cb

+ 1
- 1
CODE/smart-community/operate-api/src/main/java/com/community/huiju/dao/TpUserMapper.java Ver fichero

@@ -23,7 +23,7 @@ public interface TpUserMapper {
23 23
 
24 24
     int updateByPrimaryKey(TpUser record);
25 25
     
26
-    TpUser selectByTel(@Param("id") Integer id,@Param("loginName") String loginName);
26
+    TpUser selectByTel(@Param("communityId") Integer communityId,@Param("loginName") String loginName);
27 27
     
28 28
     int updateByTel(@Param("id") Integer id,@Param("loginName") String loginName,@Param("userName") String userName,@Param("oldTel") String oldTel);
29 29
 	

+ 1
- 0
CODE/smart-community/operate-api/src/main/resources/mapper/TpUserMapper.xml Ver fichero

@@ -196,6 +196,7 @@
196 196
   <select id="selectByTel" resultMap="BaseResultMap">
197 197
       select <include refid="Base_Column_List" /> from tp_user
198 198
       where login_name = #{loginName,jdbcType=VARCHAR}
199
+      and community_id = #{communityId}
199 200
       and status = 1
200 201
   </select>
201 202
 

+ 2
- 6
VUECODE/smart-property-manage/src/views/social/activity/info/index.vue Ver fichero

@@ -25,7 +25,7 @@
25 25
           <el-radio v-model="ruleForm.signInCode" label="2" style="padding-left:8%;font-weight:bold;font-size:12px;transform:translateY(30%);">不需要</el-radio> 
26 26
           <span style="padding-left:20%"><el-button type="primary" style="float:left;" @click="singn">查看签到名单</el-button></span> 
27 27
     </div>
28
-    <div style="padding-left:30%;">
28
+    <div style="padding-left:30%;" v-if="ruleForm.signInCode=='1'">
29 29
         <div><img :src="qrcode" width="200" height="200" ></div>
30 30
         <a :href="qrcode" download="qrcode.jpg"  style="color:#00BFFF;padding-left:15%">点击下载</a>
31 31
     </div>
@@ -177,15 +177,11 @@ export default {
177 177
   margin-top: 50px;
178 178
   margin-left: auto;
179 179
   margin-right: auto;
180
-  font-size: 1px;
180
+  font-size: 13px;
181 181
 
182 182
 }
183
-.activityTile{
184
-  font-size: 14px;
185
-}
186 183
 .activityContext{
187 184
   margin-bottom: 20px;
188
-  font-size: 20px;
189 185
   justify-items: center;
190 186
 }
191 187
 .progress {