优化小区添加问题

This commit is contained in:
java110 2021-09-18 16:43:46 +08:00
parent b3539e22c4
commit bc9212c27d
5 changed files with 46 additions and 5 deletions

View File

@ -65,6 +65,20 @@
placeholder="必填,请填写联系方式" class="form-control">
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label">缴费周期</label>
<div class="col-sm-10">
<input v-model="addCommunityInfo.payFeeMonth" type="text"
placeholder="必填,请填写缴费周期(月)" class="form-control">
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label">每月单价</label>
<div class="col-sm-10">
<input v-model="addCommunityInfo.feePrice" type="text"
placeholder="必填,请填写每月单价(元)" class="form-control">
</div>
</div>
<div v-for="(item,index) in addCommunityInfo.attrs">
<div class="form-group row" v-if="item.specType == '2233'">
<label class="col-sm-2 col-form-label">{{item.specName}}</label>

View File

@ -11,7 +11,9 @@
cityCode: '',
mapX: '101.33',
mapY: '101.33',
attrs: []
attrs: [],
payFeeMonth: 12,
feePrice: 0
},
areas: [],
provs: [],
@ -148,7 +150,9 @@
cityCode: '',
mapX: '101.33',
mapY: '101.33',
attrs: []
attrs: [],
payFeeMonth: 12,
feePrice: 0
};
$that.selectProv = '';
$that.selectCity = '';

View File

@ -28,6 +28,20 @@
placeholder="必填,请填写附近地标" class="form-control">
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label">缴费周期</label>
<div class="col-sm-10">
<input v-model="editCommunityInfo.payFeeMonth" type="text"
placeholder="必填,请填写缴费周期(月)" class="form-control">
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label">每月单价</label>
<div class="col-sm-10">
<input v-model="editCommunityInfo.feePrice" type="text"
placeholder="必填,请填写每月单价(元)" class="form-control">
</div>
</div>
<div v-for="(item,index) in editCommunityInfo.attrs">
<div class="form-group row" v-if="item.specType == '2233'">
<label class="col-sm-2 col-form-label">{{item.specName}}</label>

View File

@ -10,7 +10,8 @@
cityCode: '',
mapX: '101.33',
mapY: '101.33',
payFeeMonth: 12,
feePrice: 0,
attrs: []
}
},
@ -140,7 +141,8 @@
cityCode: '',
mapX: '101.33',
mapY: '101.33',
payFeeMonth: 12,
feePrice: 0,
attrs: _attrs
}
},

View File

@ -22,7 +22,8 @@
<th class="text-center">小区编码</th>
<th data-hide="phone" class="text-center">联系方式</th>
<th data-hide="phone" class="text-center">面积</th>
<!-- <th data-hide="phone">地标</th> -->
<th data-hide="phone" class="text-center">开始时间</th>
<th data-hide="phone" class="text-center">结束时间</th>
<!-- <th data-hide="phone,tablet" >城市编码</th> -->
<th data-hide="phone" class="text-center">状态</th>
<th class="text-center">操作</th>
@ -54,6 +55,12 @@
<td class="text-center">
{{community.communityArea}}
</td>
<td class="text-center">
{{community.startTime}}
</td>
<td class="text-center">
{{community.endTime}}
</td>
<!-- <td>
{{community.nearbyLandmarks}}
</td> -->