MicroCommunityWeb/public/pages/property/roomRenovationManage/roomRenovationManage.html

183 lines
11 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;">
<button type="button" class="btn btn-link btn-sm" style="margin-right:10px;"
v-on:click="_moreCondition()">{{roomRenovationManageInfo.moreCondition == true?'隐藏':'更多'}}
</button>
</div>
</div>
<div class="ibox-content">
<div class="row">
<div class="col-sm-4">
<div class="form-group">
<input type="text" placeholder="请输入房屋编号 楼栋-单元-房屋 如1-1-101"
v-model="roomRenovationManageInfo.conditions.roomName" class=" form-control">
</div>
</div>
<div class="col-sm-3">
<div class="form-group">
<input type="text" placeholder="请输入联系人"
v-model="roomRenovationManageInfo.conditions.personName" class=" form-control">
</div>
</div>
<div class="col-sm-3">
<div class="form-group">
<input type="text" placeholder="请输入联系电话" maxlength="11"
v-model="roomRenovationManageInfo.conditions.personTel" class=" form-control">
</div>
</div>
<div class="col-sm-2">
<button type="button" class="btn btn-primary btn-sm"
v-on:click="_queryRoomRenovationMethod()">
<i class="fa fa-search"></i> 查询
</button>
<button type="button" class="btn btn-info btn-sm" v-on:click="_resetRoomRenovationMethod()"
style="margin-left: 20px;">
<i class="fa fa-repeat"></i> 重置
</button>
</div>
</div>
<div class="row" v-if="roomRenovationManageInfo.moreCondition == true">
<div class="col-sm-4">
<select class="custom-select" v-model="roomRenovationManageInfo.conditions.state">
<option selected value="">请选择状态</option>
<option v-for="(item,index) in roomRenovationManageInfo.states" :key="index"
:value="item.statusCd">{{item.name}}
</option>
</select>
</div>
<div class="col-sm-3">
<select class="custom-select" v-model="roomRenovationManageInfo.conditions.isPostpone">
<option selected value="">请选择是否延期</option>
<option value="Y"></option>
<option value="N"></option>
</select>
</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="_openAddRoomRenovationModal()">
<i class="fa fa-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">装修ID</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-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>
</tr>
</thead>
<tbody>
<tr v-for="roomRenovation in roomRenovationManageInfo.roomRenovations">
<!-- <td class="text-center">{{roomRenovation.rId}}</td>-->
<td class="text-center">{{roomRenovation.roomName}}</td>
<td class="text-center">{{roomRenovation.personName}}</td>
<td class="text-center">{{roomRenovation.personTel}}</td>
<td class="text-center">{{roomRenovation.startTime}}<br/>{{roomRenovation.endTime}}</td>
<td class="text-center">{{roomRenovation.createTime}}</td>
<td class="text-center">{{roomRenovation.renovationCompany}}</td>
<td class="text-center">{{roomRenovation.personMain}}</td>
<td class="text-center">{{roomRenovation.personMainTel}}</td>
<td class="text-center">{{roomRenovation.stateName}}</td>
<td class="text-center">{{roomRenovation.isPostpone == 'Y'?'是':'否'}}</td>
<td class="text-center">{{roomRenovation.postponeTime}}</td>
<td class="text-center">{{roomRenovation.isViolation == 'Y'?'是':'否'}}</td>
<td class="text-center">{{roomRenovation.violationDesc}}</td>
<td class="text-center">{{roomRenovation.remark}}</td>
<td class="text-center">
<div class="btn-group" v-if="roomRenovation.state == '1000'">
<button class="btn-white btn btn-xs"
v-on:click="_openRoomRenovationFee(roomRenovation)">费用
</button>
</div>
<div class="btn-group"
v-if="roomRenovation.state == '1000' && roomRenovation.isViolation == 'N' && vc.hasPrivilege('502021031698730003')">
<button class="btn-white btn btn-xs"
v-on:click="_openToExamine(roomRenovation)">审核
</button>
</div>
<div class="btn-group"
v-if="roomRenovation.state == '3000' && roomRenovation.isViolation == 'N'">
<button class="btn-white btn btn-xs"
v-on:click="_openDecorationCompleted(roomRenovation)">装修完成
</button>
</div>
<div class="btn-group"
v-if="roomRenovation.state == '4000' && roomRenovation.isViolation == 'N' && vc.hasPrivilege('502021012701630060')">
<button class="btn-white btn btn-xs"
v-on:click="_openDecorationAcceptanceModel(roomRenovation)">装修验收
</button>
</div>
<div class="btn-group"
v-if="roomRenovation.state == '5000' || roomRenovation.state == '6000'">
<button class="btn-white btn btn-xs"
v-on:click="_openRoomRenovationDetail(roomRenovation)">验收明细
</button>
</div>
<div class="btn-group">
<button class="btn-white btn btn-xs"
v-on:click="_openEditRoomRenovationModel(roomRenovation)">修改
</button>
</div>
<div class="btn-group">
<button class="btn-white btn btn-xs"
v-on:click="_openDeleteRoomRenovationModel(roomRenovation)">删除
</button>
</div>
<div class="btn-group">
<button class="btn-white btn btn-xs"
v-on:click="_openRoomDecorationRecord(roomRenovation)">跟踪记录
</button>
</div>
</td>
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="15">
<ul class="pagination float-right"></ul>
</td>
</tr>
</tfoot>
</table>
<!-- 分页 -->
<vc:create path="frame/pagination"></vc:create>
</div>
</div>
</div>
</div>
<vc:create path="property/addRoomRenovation" callBackListener="" callBackFunction=""></vc:create>
<vc:create path="property/roomDecorationAcceptance" callBackListener="" callBackFunction=""></vc:create>
<vc:create path="property/roomToExamine" callBackListener="" callBackFunction=""></vc:create>
<vc:create path="property/editRoomRenovation"></vc:create>
<vc:create path="property/deleteRoomRenovation"></vc:create>
<vc:create path="property/roomRenovationCompleted"></vc:create>
</div>