dingxin 6 years ago
parent
commit
f468a4c11f

+ 5
- 0
CODE/smart-community/property-api/src/main/java/com/community/huiju/service/impl/TpActivitySignUpServiceImpl.java View File

@@ -123,6 +123,11 @@ public class TpActivitySignUpServiceImpl extends ServiceImpl<TpActivitySignUpMap
123 123
         }
124 124
 
125 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 133
         // TODO 删除成功后, 发送短信通知用户

+ 2
- 2
CODE/smart-community/zuul/src/main/java/com/community/huiju/filter/DomainZuulPostFilter.java View File

@@ -66,7 +66,7 @@ public class DomainZuulPostFilter extends ZuulFilter {
66 66
         }else {
67 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 70
                 UserElement appElement = (UserElement) request.getSession().getAttribute(Constant.APP_USER_SESSION);
71 71
                 if (null == appElement) {
72 72
                     responseBean.addError(Status.RESPONSE_STATUS_803.getValue(),Status.RESPONSE_STATUS_803.getComment());
@@ -74,7 +74,7 @@ public class DomainZuulPostFilter extends ZuulFilter {
74 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 78
                 UserElement webOperateElement = (UserElement) request.getSession().getAttribute(Constant.WEB_USER_SESSION);
79 79
                 if (null == webOperateElement) {
80 80
                     responseBean.addError(Status.RESPONSE_STATUS_803.getValue(),Status.RESPONSE_STATUS_803.getComment());

+ 1
- 1
VUECODE/smart-operate-manage/src/utils/request.js View File

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

+ 5
- 2
VUECODE/smart-property-manage/src/views/social/signUp/index.vue View File

@@ -59,7 +59,7 @@
59 59
         align="center">
60 60
         <template slot-scope="scope">
61 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 63
             <div slot="reference" class="text-remark">
64 64
               {{ scope.row.remark }}
65 65
             </div>
@@ -222,7 +222,7 @@ export default {
222 222
             message: res.message,
223 223
             type: 'success'
224 224
           })
225
-          // 获取密码
225
+          // 获取列表
226 226
           this.signUpList()
227 227
           this.deleteData.deleteId = ''
228 228
           return
@@ -232,6 +232,9 @@ export default {
232 232
       }).catch(() => {
233 233
         console.log('error DeleteSignUp')
234 234
       })
235
+
236
+      // 关闭弹窗
237
+      this.dialogTableVisible = false
235 238
     }
236 239
   }
237 240
 }

BIN
文档/计划/V181228/智慧社区V181228计划.mpp → 文档/计划/V1.2.0/智慧社区V181228计划.mpp View File