吴学文
2019-07-04 1f9268851d0bbcc79f5806f8273627f318ea8f07
解决添加小区时的bug
1个文件已修改
14 ■■■■ 已修改文件
WebService/src/main/resources/components/add-community/addCommunity.js 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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',