MicroCommunityWeb/public/pages/common/propertyCommunity/propertyCommunity.html
2022-03-01 19:08:28 +08:00

96 lines
4.8 KiB
HTML

<div>
<div class="row">
<div class="col-lg-12">
<div class="ibox ">
<div class="ibox-title">
<h5>查询条件</h5>
<div class="ibox-tools" style="top:10px;">
</div>
</div>
<div class="ibox-content">
<div class="row">
<div class="col-sm-4">
<div class="form-group">
<input type="text" placeholder="请输入小区编号" v-model="propertyCommunityInfo.conditions.communityId" class=" form-control">
</div>
</div>
<div class="col-sm-3">
<div class="form-group">
<input type="text" placeholder="请输入小区名称" v-model="propertyCommunityInfo.conditions.name" class=" form-control">
</div>
</div>
<div class="col-sm-1">
<button type="button" class="btn btn-primary btn-sm" v-on:click="_queryCommunityMethod()">
<i class="fa fa-search"></i> 查询
</button>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-12">
<div class="ibox">
<div class="ibox-title">
<h5>小区信息</h5>
<div class="ibox-tools" style="top:10px;">
<button type="button" class="btn btn-primary btn-sm" v-on:click="_openAddCommunityModal()">
<i class="fa fa-plus"></i>加入小区
</button>
<button type="button" class="btn btn-white btn-sm" v-on:click="vc.goBack()">
返回
</button>
</div>
</div>
<div class="ibox-content">
<table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
<thead>
<tr>
<th class="text-center">小区ID</th>
<th class="text-center">小区名称</th>
<!--<th>小区地址</th>-->
<th width="25%" class="text-center">附近地标</th>
<th class="text-center">城市编码</th>
<th class="text-center">状态</th>
<th class="text-center">操作</th>
</tr>
</thead>
<tbody>
<tr v-for="community in propertyCommunityInfo.communitys">
<td class="text-center">{{community.communityId}}</td>
<td class="text-center">{{community.name}}</td>
<!--<td>{{community.address}}</td>-->
<td class="text-center">{{community.nearbyLandmarks}}</td>
<td class="text-center">{{community.cityName}}</td>
<td class="text-center">{{community.stateName}}</td>
<td class="text-center">
<div class="btn-group">
<button class="btn-white btn btn-xs" v-on:click="_openDeleteCommunityModel(community)">删除
</button>
</div>
<div class="btn-group">
<button class="btn-white btn btn-xs" v-on:click="_openEditCommunityModel(community)">修改
</button>
</div>
</td>
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="7">
<ul class="pagination float-right"></ul>
</td>
</tr>
</tfoot>
</table>
<!-- 分页 -->
<vc:create path="frame/pagination"></vc:create>
</div>
</div>
</div>
</div>
<vc:create path="common/addCommunity"></vc:create>
<vc:create path="common/editCommunity"></vc:create>
<vc:create path="common/deleteCommunity"></vc:create>
</div>