mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-12 10:00:56 +08:00
216 lines
13 KiB
HTML
Executable File
216 lines
13 KiB
HTML
Executable File
<div>
|
|
<!--<vc:create path="property/roomSelectFloor"
|
|
openAddRoomModelName="addRoom"></vc:create>-->
|
|
<div class="row">
|
|
<div class="col-lg-12">
|
|
<div class="ibox ">
|
|
<div class="ibox-title">
|
|
<h5>
|
|
<vc:i18n name="查询条件" namespace="room"></vc:i18n>
|
|
</h5>
|
|
<div class="ibox-tools" style="top:10px;">
|
|
<!-- <button type="button" class="btn btn-link btn-sm" style="margin-right:10px;"
|
|
v-on:click="_moreCondition()">{{roomInfo.moreCondition == true?'隐藏':'更多'}}
|
|
</button> -->
|
|
</div>
|
|
</div>
|
|
<div class="ibox-content">
|
|
|
|
<div class="row">
|
|
<div class="col-sm-4">
|
|
<div class="form-group input-group">
|
|
<input type="text" :placeholder="vc.i18n('请选择楼栋','room')" v-model="roomInfo.conditions.floorName" class=" form-control">
|
|
<div class="input-group-prepend">
|
|
<button type="button" class="btn btn-primary btn-sm" v-on:click="_openChooseFloorMethod()">
|
|
<i class="fa fa-search"></i> <vc:i18n name="选择" namespace="room"></vc:i18n>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-sm-3">
|
|
<div class="form-group">
|
|
<select class="form-control-sm form-control input-s-sm inline" v-model="roomInfo.conditions.unitId">
|
|
<option selected value="">{{vc.i18n('请选择单元','room')}}</option>
|
|
<option v-for="(unit,index) in roomUnits" :key="index" v-bind:value="unit.unitId">
|
|
{{unit.unitNum}}{{vc.i18n('单元','room')}}
|
|
</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<div class="col-sm-3">
|
|
<div class="form-group">
|
|
<input type="text" :placeholder="vc.i18n('请填写房屋编号','room')" class="form-control form-control-sm" v-model="roomInfo.conditions.roomNum">
|
|
</div>
|
|
</div>
|
|
<div class="col-sm-2">
|
|
<button type="button" class="btn btn-primary btn-sm" v-on:click="_queryRoomMethod()">
|
|
<i class="fa fa-search"></i> <vc:i18n name="查询" namespace="room"></vc:i18n>
|
|
</button>
|
|
<button type="button" class="btn btn-white btn-sm" v-on:click="_resetRoomInfo()">
|
|
重置
|
|
</button>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="col-sm-4">
|
|
<div class="form-group">
|
|
<input type="text" :placeholder="vc.i18n('请填写房屋编号 格式 楼栋-单元-房屋','room')" class="form-control form-control-sm" v-model="roomInfo.conditions.roomId">
|
|
</div>
|
|
</div>
|
|
<div class="col-sm-3">
|
|
<select class="form-control-sm form-control input-s-sm inline" v-model="roomInfo.conditions.state">
|
|
<option selected value="">{{vc.i18n('请选择状态','room')}}</option>
|
|
<option v-for="(item,index) in roomInfo.states" :key="index" :value="item.statusCd">
|
|
{{item.name}}
|
|
</option>
|
|
</select>
|
|
</div>
|
|
<div class="col-sm-3">
|
|
<select class="form-control-sm form-control input-s-sm inline" v-model="roomInfo.conditions.roomSubType">
|
|
<option selected value="">{{vc.i18n('必填,请选择房屋类型','room')}}</option>
|
|
<option :value="item.statusCd" v-for="(item,index) in roomInfo.roomSubTypes">{{item.name}}</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-lg-12">
|
|
<div class="ibox">
|
|
<div class="ibox-title">
|
|
<h5>
|
|
<vc:i18n name="房屋信息" namespace="room"></vc:i18n>
|
|
</h5>
|
|
<div class="ibox-tools" style="top:10px;" v-if="vc.hasPrivilege('502020082453087940')">
|
|
<button type="button" class="btn btn-primary btn-sm" style="margin-left:10px" v-on:click="_openAddRoom()">
|
|
<i class="fa fa-plus"></i> <vc:i18n name="添加" namespace="room"></vc:i18n>
|
|
</button>
|
|
<button type="button" class="btn btn-white btn-sm" style="margin-left:10px" v-on:click="_openImportRoomInfo()">
|
|
房产导入
|
|
</button>
|
|
</div>
|
|
</div>
|
|
<div class="ibox-content">
|
|
<table class="footable table table-stripped toggle-arrow-tiny" style="margin-top:10px" data-page-size="10">
|
|
<thead>
|
|
<tr>
|
|
<!-- <th><vc:i18n name="房屋" namespace="room"></vc:i18n>ID</th> -->
|
|
<th data-hide="phone" class="text-center">
|
|
<vc:i18n name="房屋" namespace="room"></vc:i18n>
|
|
</th>
|
|
<th data-hide="phone" class="text-center">
|
|
<vc:i18n name="楼层" namespace="room"></vc:i18n>
|
|
</th>
|
|
<th data-hide="phone" class="text-center">
|
|
<vc:i18n name="业主" namespace="room"></vc:i18n>
|
|
</th>
|
|
<th data-hide="phone" class="text-center">
|
|
<vc:i18n name="电话" namespace="room"></vc:i18n>
|
|
</th>
|
|
<th data-hide="phone" class="text-center">
|
|
<vc:i18n name="类型" namespace="room"></vc:i18n>
|
|
</th>
|
|
<th data-hide="phone" class="text-center">
|
|
<vc:i18n name="建筑面积" namespace="room"></vc:i18n>
|
|
</th>
|
|
<th data-hide="phone" class="text-center">
|
|
<vc:i18n name="室内面积" namespace="room"></vc:i18n>
|
|
</th>
|
|
<th data-hide="phone" class="text-center">
|
|
<vc:i18n name="租金" namespace="room"></vc:i18n>
|
|
</th>
|
|
<th data-hide="phone" class="text-center">
|
|
<vc:i18n name="房屋状态" namespace="room"></vc:i18n>
|
|
</th>
|
|
<th v-for="(item,index) in roomInfo.listColumns" class="text-center">{{item}}</th>
|
|
<th class="text-center">
|
|
<vc:i18n name="操作" namespace="room"></vc:i18n>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr v-for="room in roomInfo.rooms">
|
|
<!-- <td>
|
|
{{room.roomId}}
|
|
</td> -->
|
|
<td class="text-center">
|
|
{{room.floorNum}}-{{room.unitNum}}-{{room.roomNum}}
|
|
</td>
|
|
<td class="text-center">
|
|
{{room.layer}}
|
|
<vc:i18n name="层" namespace="room"></vc:i18n>
|
|
</td>
|
|
<td class="text-center">
|
|
{{room.ownerName}}
|
|
</td>
|
|
<td class="text-center">
|
|
{{room.link}}
|
|
</td>
|
|
<td class="text-center">
|
|
{{room.roomSubTypeName}}
|
|
</td>
|
|
<td class="text-center">
|
|
{{room.builtUpArea}}
|
|
<vc:i18n name="平方米" namespace="room"></vc:i18n>
|
|
</td>
|
|
<td class="text-center">
|
|
{{room.roomArea}}
|
|
<vc:i18n name="平方米" namespace="room"></vc:i18n>
|
|
</td>
|
|
<td class="text-center">
|
|
{{room.roomRent}}
|
|
</td>
|
|
<td class="text-center">
|
|
{{room.stateName}}
|
|
</td>
|
|
<td v-for="item in room.listValues" class="text-center">
|
|
{{item}}
|
|
</td>
|
|
<td class="text-center">
|
|
<div class="btn-group" v-if="vc.hasPrivilege('502020082493857941')">
|
|
<button class="btn-white btn btn-xs" v-on:click="_openEditRoomModel(room)"><vc:i18n name="修改" namespace="room"></vc:i18n>
|
|
</button>
|
|
</div>
|
|
<div class="btn-group" v-if="vc.hasPrivilege('502020082417457942')">
|
|
<button class="btn-white btn btn-xs" v-on:click="_openDelRoomModel(room)"><vc:i18n name="删除" namespace="room"></vc:i18n>
|
|
</button>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
<tfoot>
|
|
<tr>
|
|
<td colspan="10">
|
|
<ul class="pagination float-right"></ul>
|
|
</td>
|
|
</tr>
|
|
</tfoot>
|
|
</table>
|
|
<!-- 分页 -->
|
|
<div class="row margin-top-xs">
|
|
<div class="col-sm-9">
|
|
<div>
|
|
房屋状态 分为:未销售,未入住,已交房,已装修,已入住 等状态 </div>
|
|
<div>1、未销售表示 房屋和业主之间还没有任何关系,所以修改时状态不能手工修改 需要业主入住房屋的方式 将未销售改为已入住</div>
|
|
<div>2、未入住 已交房 已装修 已入住 状态表示业主和房屋之间已经有关系 可以相互修改,主要作用为在房屋创建费用时根据不同的状态去创建不同的费用</div>
|
|
<div>
|
|
租金:主要用于园区类或者房屋出租比较多的物业使用,小区物业忽略</div>
|
|
</div>
|
|
<div class="col-sm-3 float-right">
|
|
<vc:create path="frame/pagination"></vc:create>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<vc:create path="property/searchFloor" emitChooseFloor="room" emitLoadData="room"></vc:create>
|
|
<!-- 删除员工权限 -->
|
|
<vc:create path="property/editRoom"></vc:create>
|
|
<vc:create path="property/deleteRoom"></vc:create>
|
|
<vc:create path="property/importOwnerRoom"></vc:create>
|
|
</div>
|