Procházet zdrojové kódy

添加 手机号返回值

魏熙美 před 6 roky
rodič
revize
7222d7c5ea

+ 13
- 0
CODE/smart-community/app-api/src/main/java/com/community/huiju/model/TaUserVerify.java Zobrazit soubor

@@ -68,6 +68,11 @@ public class TaUserVerify {
68 68
      */
69 69
     private String verifyUrl;
70 70
 
71
+    /**
72
+     * 用户手机号
73
+     */
74
+    private String loginName;
75
+
71 76
     public Integer getId() {
72 77
         return id;
73 78
     }
@@ -251,4 +256,12 @@ public class TaUserVerify {
251 256
     public void setVerifyUrl(String verifyUrl) {
252 257
         this.verifyUrl = verifyUrl;
253 258
     }
259
+
260
+    public String getLoginName() {
261
+        return loginName;
262
+    }
263
+
264
+    public void setLoginName(String loginName) {
265
+        this.loginName = loginName;
266
+    }
254 267
 }

+ 1
- 1
CODE/smart-community/app-api/src/main/java/com/community/huiju/service/impl/TaUserServiceImpl.java Zobrazit soubor

@@ -272,7 +272,7 @@ public class TaUserServiceImpl implements ITaUserService {
272 272
         taUserVO.setUserVerifyList(taUserVerifies);
273 273
         // 无关联房产
274 274
         if (null == taUserVerifies || taUserVerifies.size() == 0) {
275
-            response.addError(UserVerifyEnum.NO_AUDIT_REAL_ESTATE.getMsg(), taUserVO, loginCodePerproties.getLoginCode().get(UserVerifyEnum.NO_AUDIT_REAL_ESTATE.getCode()) + "&token=" + token);
275
+            response.addError(UserVerifyEnum.NO_AUDIT_REAL_ESTATE.getMsg(), taUserVO, loginCodePerproties.getLoginCode().get(UserVerifyEnum.NO_AUDIT_REAL_ESTATE.getCode()) + "&token=" + token + "&phone=" + currentUser.getLoginName());
276 276
             return response;
277 277
         }
278 278
 

+ 2
- 0
CODE/smart-community/app-api/src/main/java/com/community/huiju/service/impl/TaUserVerifyServicelmpl.java Zobrazit soubor

@@ -95,6 +95,8 @@ public class TaUserVerifyServicelmpl implements TaUserVerifyServicel {
95 95
         taUserVerify.setRoleName(taSysRole.getRoleName());
96 96
         ToCommunities toCommunities = toCommunitiesMapper.selectByPrimaryKey(taUserVerify.getCommunityId());
97 97
         taUserVerify.setCommunityName(toCommunities.getCommunityName());
98
+        TaUser currentUser = taUserMapper.selectByPrimaryKey(taUserVerify.getUserId());
99
+        taUserVerify.setLoginName(currentUser.getLoginName());
98 100
         if ("2".equals(taUserVerify.getVerifyStatus()) || "1".equals(taUserVerify.getVerifyStatus())) {
99 101
 
100 102
             // 开始查询 业主

+ 1
- 1
CODE/smart-community/app-api/src/main/java/com/community/huiju/service/impl/WxLoginServiceImpl.java Zobrazit soubor

@@ -259,7 +259,7 @@ public class WxLoginServiceImpl implements WxLoginServiceI {
259 259
 		TaUserVO userVO = new TaUserVO();
260 260
 		BeanTools.copyProperties(user, userVO);
261 261
 		// 刚注册的用户,跳转到绑定房产页面
262
-		response.addError(UserVerifyEnum.NO_AUDIT_REAL_ESTATE.getMsg(), userVO, loginCodePerproties.getLoginCode().get(UserVerifyEnum.NO_AUDIT_REAL_ESTATE.getCode()) + "&token=" + request.getSession().getId());
262
+		response.addError(UserVerifyEnum.NO_AUDIT_REAL_ESTATE.getMsg(), userVO, loginCodePerproties.getLoginCode().get(UserVerifyEnum.NO_AUDIT_REAL_ESTATE.getCode()) + "&token=" + request.getSession().getId() + "&phone=" + user.getLoginName());
263 263
 
264 264
 		/**
265 265
 		 * 这里是因为 手机号注册 和 社交登录的手机号注册,公用的一个接口,所以有 openid 的时候,表示是微信那边的社交登录

+ 1
- 1
VUECODE/smart-operate-manage/src/views/login/index.vue Zobrazit soubor

@@ -33,7 +33,7 @@
33 33
               v-model="loginForm.password"
34 34
               name="password"
35 35
               type="text"
36
-              auto-complete="on"
36
+              auto-complete="off"
37 37
               placeholder="请输入验证码"
38 38
               @keyup.enter.native="handleLogin"
39 39
             />

+ 15
- 9
VUECODE/smart-property-manage/src/views/building/audit/index.vue Zobrazit soubor

@@ -2,11 +2,11 @@
2 2
   <div id="root">
3 3
     <el-form :inline="true" :model="formInline" class="demo-form-inline">
4 4
       <el-dialog
5
-        title="提示"
6 5
         :visible.sync="dialogVisible"
6
+        title="提示"
7 7
         width="30%">
8 8
         <span><el-radio v-model="formInline.remark" label="不认识的人的手机号">不认识的人的手机号</el-radio>
9
-              <el-radio v-model="formInline.remark" label="其他原因需要沟通">其他原因需要沟通</el-radio>
9
+          <el-radio v-model="formInline.remark" label="其他原因需要沟通">其他原因需要沟通</el-radio>
10 10
         </span>
11 11
         <span slot="footer" class="dialog-footer">
12 12
           <el-button @click="dialogVisible = false">取 消</el-button>
@@ -116,7 +116,8 @@ export default {
116 116
       },
117 117
       total: 0, // 总数
118 118
       tableData: [], // 数据体
119
-      dialogVisible: false
119
+      dialogVisible: false,
120
+      fullscreen: true // 是否开启菊花转
120 121
     }
121 122
   },
122 123
   mounted() {
@@ -160,20 +161,22 @@ export default {
160 161
       })
161 162
     },
162 163
     // 展示弹框
163
-    passTheAudit(verifyId, vstatus){
164
+    passTheAudit(verifyId, vstatus) {
164 165
       this.formInline.userVerifyId = verifyId
165 166
       this.formInline.verifyStatus = vstatus
166 167
       this.dialogVisible = true
167 168
     },
168 169
     // 提交
169
-    submitAudit(){    
170
+    submitAudit() {
170 171
       this.userVerifyAudit()
171 172
     },
172 173
 
173
-    userVerifyAudit(verifyId, vstatus,isA) {
174
-      if(isA=='1'){
175
-      this.formInline.userVerifyId = verifyId
176
-      this.formInline.verifyStatus = vstatus
174
+    userVerifyAudit(verifyId, vstatus, isA) {
175
+      this.fullscreen = true
176
+      const loading = this.$loading({ fullscreen: this.fullscreen, background: 'rgba(0, 0, 0, 0.8)' })
177
+      if (isA === '1') {
178
+        this.formInline.userVerifyId = verifyId
179
+        this.formInline.verifyStatus = vstatus
177 180
       }
178 181
       this.$store.dispatch('UserVerifyAudit', this.formInline).then((res) => {
179 182
         const resCode = res.code
@@ -183,11 +186,14 @@ export default {
183 186
             type: 'success'
184 187
           })
185 188
           this.dialogVisible = false
189
+          loading.close()
186 190
           this.getData()
187 191
           return
188 192
         }
193
+        loading.close()
189 194
         this.$message.error(res.message)
190 195
       }).catch(() => {
196
+        loading.close()
191 197
         console.log('UserVerifyAudit error')
192 198
       })
193 199
     },

+ 7
- 1
VUECODE/smart-property-manage/src/views/building/info/index.vue Zobrazit soubor

@@ -133,7 +133,8 @@ export default {
133 133
         remark: ''
134 134
       },
135 135
       total: 0, // 数据总数
136
-      dialogVisible: false
136
+      dialogVisible: false,
137
+      fullscreen: true
137 138
       
138 139
     }
139 140
   },
@@ -190,6 +191,8 @@ export default {
190 191
     },
191 192
     // 审核结果提交
192 193
     submit(){
194
+      this.fullscreen = true
195
+      const loading = this.$loading({ fullscreen: this.fullscreen, background: 'rgba(0, 0, 0, 0.8)' })
193 196
       this.$store.dispatch('VerifyinfoAdd', this.listQuery).then((res) => {
194 197
         const resCode = res.code
195 198
         if (resCode === '0') {
@@ -197,12 +200,15 @@ export default {
197 200
             message: res.message,
198 201
             type: 'success'
199 202
           })
203
+          loading.close()
200 204
           this.$router.push({ name: 'building-index' })
201 205
         }
202 206
         if (resCode === '1') {
207
+          loading.close()
203 208
           this.$message.error(res.message)
204 209
         }
205 210
       }).catch(() => {
211
+        loading.close()
206 212
         console.log('UserVerifyAudit error')
207 213
       })
208 214
     }