MicroCommunityWeb/public/pages/admin/rentingPoolManage/rentingPoolManage.html
2021-04-23 10:14:20 +08:00

142 lines
7.3 KiB
HTML
Executable File

<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="rentingPoolManageInfo.conditions.rentingTitle" class=" form-control">
</div>
</div>
<div class="col-sm-4">
<select class="custom-select" v-model="rentingPoolManageInfo.conditions.paymentType">
<option selected value="">请选择预付类型</option>
<option value="1001">押一付一</option>
<option value="2002">押一付三</option>
<option value="3003">押一付六</option>
</select> </div>
<div class="col-sm-3">
<div class="form-group">
<input type="text" placeholder="请输入业主名称"
v-model="rentingPoolManageInfo.conditions.ownerName" class=" form-control">
</div>
</div>
<div class="col-sm-1">
<button type="button" class="btn btn-primary btn-sm" v-on:click="_queryRentingPoolMethod()">
<i class="glyphicon glyphicon-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="_openAddRentingPoolModal()">
<i class="glyphicon glyphicon-plus"></i>
房屋出租
</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">房屋</th>
<th class="text-center">出租标题</th>
<th class="text-center">租金</th>
<th class="text-center">预付类型</th>
<th class="text-center">入住时间</th>
<th class="text-center">出租配置</th>
<th class="text-center">业主名称</th>
<th class="text-center">业主电话</th>
<th class="text-center">状态</th>
<th class="text-right">操作</th>
</tr>
</thead>
<tbody>
<tr v-for="rentingPool in rentingPoolManageInfo.rentingPools">
<td class="text-center">{{rentingPool.roomName}}</td>
<td class="text-center">{{rentingPool.rentingTitle}}</td>
<td class="text-center">{{rentingPool.price}}</td>
<td class="text-center">{{rentingPool.paymentTypeName}}</td>
<td class="text-center">{{rentingPool.checkIn == '1001'?'立即入住':'预约入住'}}</td>
<td class="text-center">{{rentingPool.rentingType=='3344'?'整租':'合租'}}</td>
<td class="text-center">{{rentingPool.ownerName}}</td>
<td class="text-center">{{rentingPool.ownerTel}}</td>
<td class="text-center">{{rentingPool.stateName}}</td>
<td class="text-right">
<div class="btn-group" v-if="rentingPool.state == '3'">
<button class="btn-white btn btn-xs"
v-on:click="_openRentingPayModel(rentingPool,'rent')">租客支付</button>
</div>
<div class="btn-group" v-if="rentingPool.state == '7'">
<button class="btn-white btn btn-xs"
v-on:click="_openRentingPayModel(rentingPool,'owner')">业主支付</button>
</div>
<div class="btn-group" v-if="rentingPool.state == '4'">
<button class="btn-white btn btn-xs"
v-on:click="_applyContract(rentingPool)">申请合同</button>
</div>
<div class="btn-group">
<button class="btn-white btn btn-xs"
v-on:click="_openEditRentingPoolModel(rentingPool)">修改</button>
</div>
<div class="btn-group">
<button class="btn-white btn btn-xs"
v-on:click="_openDeleteRentingPoolModel(rentingPool)">删除</button>
</div>
<div class="btn-group" >
<button class="btn-white btn btn-xs"
v-on:click="_toRentingHistory(rentingPool)">详情</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="admin/addRentingPool" callBackListener="" callBackFunction=""></vc:create>
<vc:create path="admin/editRentingPool"></vc:create>
<vc:create path="admin/deleteRentingPool"></vc:create>
<vc:create path="admin/rentingPay"></vc:create>
<vc:create path="admin/addContract" callBackListener="" callBackFunction=""></vc:create>
</div>