From 1f9268851d0bbcc79f5806f8273627f318ea8f07 Mon Sep 17 00:00:00 2001
From: 吴学文 <wuxuewen@wuxuewendeMacBook-Pro.local>
Date: 星期四, 04 七月 2019 00:21:30 +0800
Subject: [PATCH] 解决添加小区时的bug

---
 WebService/src/main/resources/components/add-community/addCommunity.js |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/WebService/src/main/resources/components/add-community/addCommunity.js b/WebService/src/main/resources/components/add-community/addCommunity.js
index 49653d3..21d0000 100644
--- a/WebService/src/main/resources/components/add-community/addCommunity.js
+++ b/WebService/src/main/resources/components/add-community/addCommunity.js
@@ -33,7 +33,7 @@
                         },
  {
                             limit:"maxin",
-                            param:"10,20",
+                            param:"4,20",
                             errInfo:"灏忓尯鍚嶇О蹇呴』鍦�10鑷�20瀛楃涔嬮棿"
                         },
                     ],
@@ -44,7 +44,7 @@
                             errInfo:"灏忓尯鍦板潃涓嶈兘涓虹┖"
                         },
  {
-                            limit:"maxin",
+                            limit:"maxLength",
                             param:"200",
                             errInfo:"灏忓尯鍦板潃涓嶈兘澶т簬200涓瓧绗�"
                         },
@@ -56,28 +56,28 @@
                             errInfo:"闄勮繎鍦版爣涓嶈兘涓虹┖"
                         },
  {
-                            limit:"maxin",
+                            limit:"maxLength",
                             param:"50",
                             errInfo:"灏忓尯闄勮繎鍦版爣涓嶈兘澶т簬50涓瓧绗�"
                         },
                     ],
 'addCommunityInfo.cityCode':[
  {
-                            limit:"maxin",
+                            limit:"maxLength",
                             param:"12",
                             errInfo:"灏忓尯鍩庡競缂栫爜涓嶈兘澶т簬4涓瓧绗�"
                         },
                     ],
 'addCommunityInfo.mapX':[
  {
-                            limit:"maxin",
+                            limit:"maxLength",
                             param:"20",
                             errInfo:"灏忓尯鍩庡競缂栫爜涓嶈兘澶т簬4涓瓧绗�"
                         },
                     ],
 'addCommunityInfo.mapY':[
  {
-                            limit:"maxin",
+                            limit:"maxLength",
                             param:"20",
                             errInfo:"灏忓尯鍩庡競缂栫爜涓嶈兘澶т簬4涓瓧绗�"
                         },
@@ -95,7 +95,7 @@
                     return ;
                 }
 
-                vc.component.addCommunityInfo.communityId = vc.getCurrentCommunity().communityId;
+                //vc.component.addCommunityInfo.communityId = vc.getCurrentCommunity().communityId;
 
                 vc.http.post(
                     'addCommunity',

--
Gitblit v1.8.0