mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-24 05:46:03 +08:00
优化代码
This commit is contained in:
parent
e17ccc08f0
commit
47a0f835f4
@ -1,4 +1,4 @@
|
||||
<div id="addFloorModel" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
|
||||
<div id="addFloorModel" class="modal fade" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
|
||||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content">
|
||||
<div class="modal-body">
|
||||
|
||||
@ -47,7 +47,7 @@
|
||||
},
|
||||
{
|
||||
limit: "maxin",
|
||||
param: "2,10",
|
||||
param: "2,64",
|
||||
errInfo: "楼名称长度必须在2位至10位"
|
||||
},
|
||||
],
|
||||
@ -58,8 +58,8 @@
|
||||
},
|
||||
{
|
||||
limit: "maxin",
|
||||
param: "1,12",
|
||||
errInfo: "楼编号长度必须在1位至12位"
|
||||
param: "1,64",
|
||||
errInfo: "楼编号长度必须在1位至64位"
|
||||
},
|
||||
],
|
||||
'addFloorInfo.floorArea': [{
|
||||
|
||||
@ -44,8 +44,8 @@
|
||||
},
|
||||
{
|
||||
limit: "maxin",
|
||||
param: "1,10",
|
||||
errInfo: "楼名称长度必须在2位至10位"
|
||||
param: "1,64",
|
||||
errInfo: "楼名称长度必须在2位至64位"
|
||||
},
|
||||
],
|
||||
'editFloorInfo.floorNum': [{
|
||||
@ -55,8 +55,8 @@
|
||||
},
|
||||
{
|
||||
limit: "maxin",
|
||||
param: "1,12",
|
||||
errInfo: "楼编号长度必须在1位至12位"
|
||||
param: "1,64",
|
||||
errInfo: "楼编号长度必须在1位至64位"
|
||||
},
|
||||
],
|
||||
'editFloorInfo.floorArea': [{
|
||||
|
||||
@ -175,7 +175,6 @@
|
||||
|
||||
|
||||
|
||||
|
||||
<vc:create path="property/addCommunitySpace" callBackListener="" callBackFunction=""></vc:create>
|
||||
<vc:create path="property/editCommunitySpace"></vc:create>
|
||||
<vc:create path="property/editCommunitySpaceOpenTime"></vc:create>
|
||||
|
||||
@ -73,13 +73,13 @@
|
||||
communityId:vc.getCurrentCommunity().communityId
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
//发送get请求
|
||||
vc.http.apiGet('/communityVenue.listCommunityVenue',
|
||||
param,
|
||||
function(json, res) {
|
||||
let _communityVenue= JSON.parse(json);
|
||||
vc.component.communitySpaceManageInfo.venues = _communityVenue.data;
|
||||
$that.communitySpaceManageInfo.venues = _communityVenue.data;
|
||||
|
||||
if(_communityVenue.data && _communityVenue.data.length >0){
|
||||
$that.swatchVenue(_communityVenue.data[0]);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user