dingxin 6 年之前
父節點
當前提交
f468a4c11f

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

123
         }
123
         }
124
 
124
 
125
         tpActivitySignUpMapper.deleteById(tpActivitySignUp);
125
         tpActivitySignUpMapper.deleteById(tpActivitySignUp);
126
+        TpActivity tpActivity = tpActivityMapper.selectById(tpActivitySignUp.getId());
127
+        if (tpActivity.getSignUpCount().intValue() > 0) {
128
+            tpActivity.setSignUpCount(tpActivity.getSignUpCount() - 1);
129
+            tpActivityMapper.updateById(tpActivity);
130
+        }
126
 
131
 
127
         // 发送短信
132
         // 发送短信
128
         // TODO 删除成功后, 发送短信通知用户
133
         // TODO 删除成功后, 发送短信通知用户

+ 2
- 2
CODE/smart-community/zuul/src/main/java/com/community/huiju/filter/DomainZuulPostFilter.java 查看文件

66
         }else {
66
         }else {
67
             log.info("获取的token: {}", token);
67
             log.info("获取的token: {}", token);
68
 
68
 
69
-            if (matcher.match(RequestURI.APP_API.getUrl(), requestURI)) {
69
+            if (requestURI.indexOf(RequestURI.APP_API.getUrl()) != -1) {
70
                 UserElement appElement = (UserElement) request.getSession().getAttribute(Constant.APP_USER_SESSION);
70
                 UserElement appElement = (UserElement) request.getSession().getAttribute(Constant.APP_USER_SESSION);
71
                 if (null == appElement) {
71
                 if (null == appElement) {
72
                     responseBean.addError(Status.RESPONSE_STATUS_803.getValue(),Status.RESPONSE_STATUS_803.getComment());
72
                     responseBean.addError(Status.RESPONSE_STATUS_803.getValue(),Status.RESPONSE_STATUS_803.getComment());
74
                     ctx.setResponseBody(JSONObject.toJSONString(responseBean));
74
                     ctx.setResponseBody(JSONObject.toJSONString(responseBean));
75
                 }
75
                 }
76
 
76
 
77
-            } else if (matcher.match(RequestURI.OPERATE_API.getUrl(), requestURI) || matcher.match(RequestURI.PROPERTY_API.getUrl(), requestURI)) {
77
+            } else if (requestURI.indexOf(RequestURI.OPERATE_API.getUrl()) != -1 || requestURI.indexOf(RequestURI.PROPERTY_API.getUrl()) != -1) {
78
                 UserElement webOperateElement = (UserElement) request.getSession().getAttribute(Constant.WEB_USER_SESSION);
78
                 UserElement webOperateElement = (UserElement) request.getSession().getAttribute(Constant.WEB_USER_SESSION);
79
                 if (null == webOperateElement) {
79
                 if (null == webOperateElement) {
80
                     responseBean.addError(Status.RESPONSE_STATUS_803.getValue(),Status.RESPONSE_STATUS_803.getComment());
80
                     responseBean.addError(Status.RESPONSE_STATUS_803.getValue(),Status.RESPONSE_STATUS_803.getComment());

+ 1
- 1
VUECODE/smart-operate-manage/src/utils/request.js 查看文件

39
         duration: 5 * 1000
39
         duration: 5 * 1000
40
       })
40
       })
41
 
41
 
42
-      // 802:Token 身份凭证不存在; 50012:其他客户端登录了;  803:Token 过期了;
42
+      // 802:Token 身份凭证不存在; 50012:其他客户端登录了;  803:您长时间未登录,需要重新登录。
43
       if (res.code === 802 || res.code === 50012 || res.code === 803) {
43
       if (res.code === 802 || res.code === 50012 || res.code === 803) {
44
         MessageBox.confirm(
44
         MessageBox.confirm(
45
           '你已被登出,可以取消继续留在该页面,或者重新登录',
45
           '你已被登出,可以取消继续留在该页面,或者重新登录',

+ 5
- 2
VUECODE/smart-property-manage/src/views/social/signUp/index.vue 查看文件

59
         align="center">
59
         align="center">
60
         <template slot-scope="scope">
60
         <template slot-scope="scope">
61
           <el-popover trigger="hover" placement="top">
61
           <el-popover trigger="hover" placement="top">
62
-            <p>{{ scope.row.remark }}</p>
62
+            <div style="width: 300px; word-wrap: break-word;">{{ scope.row.remark }}</div>
63
             <div slot="reference" class="text-remark">
63
             <div slot="reference" class="text-remark">
64
               {{ scope.row.remark }}
64
               {{ scope.row.remark }}
65
             </div>
65
             </div>
222
             message: res.message,
222
             message: res.message,
223
             type: 'success'
223
             type: 'success'
224
           })
224
           })
225
-          // 获取密码
225
+          // 获取列表
226
           this.signUpList()
226
           this.signUpList()
227
           this.deleteData.deleteId = ''
227
           this.deleteData.deleteId = ''
228
           return
228
           return
232
       }).catch(() => {
232
       }).catch(() => {
233
         console.log('error DeleteSignUp')
233
         console.log('error DeleteSignUp')
234
       })
234
       })
235
+
236
+      // 关闭弹窗
237
+      this.dialogTableVisible = false
235
     }
238
     }
236
   }
239
   }
237
 }
240
 }

二進制
文档/计划/V181228/智慧社区V181228计划.mpp → 文档/计划/V1.2.0/智慧社区V181228计划.mpp 查看文件