From e546f6e157e79e4074ca23f7e4e48a5c9aea4fdb Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期四, 09 五月 2019 14:30:08 +0800
Subject: [PATCH] 房屋管理开发测试完成
---
WebService/src/main/resources/components/room/room.html | 49 ++++++++++++++++++++++++++++++++++++++++++++++---
1 files changed, 46 insertions(+), 3 deletions(-)
diff --git a/WebService/src/main/resources/components/room/room.html b/WebService/src/main/resources/components/room/room.html
index b44d9ea..8ee4f65 100644
--- a/WebService/src/main/resources/components/room/room.html
+++ b/WebService/src/main/resources/components/room/room.html
@@ -5,9 +5,43 @@
<div class="row">
<div class="col-lg-12">
<div class="ibox">
+ <div class="ibox-title">
+ <h5>鎴垮眿淇℃伅</h5>
+ </div>
<div class="ibox-content">
- <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="10">
+ <div class="row">
+ <div class="col-sm-4 m-b-xs">
+ <select class="form-control-sm form-control input-s-sm inline" v-model="roomInfo.unitId">
+ <option selected value="">璇烽�夋嫨鍗曞厓</option>
+ <option v-for="(unit,index) in roomUnits" :key="index" v-bind:value="unit.unitId">{{unit.unitNum}}鍗曞厓</option>
+ </select>
+ </div>
+ <div class="col-sm-3 m-b-xs">
+ <select class="form-control-sm form-control input-s-sm inline" v-model="roomInfo.state">
+ <option selected value="">璇烽�夋嫨鐘舵��</option>
+ <option value="2001">鎴垮眿宸插敭</option>
+ <option value="2002">鎴垮眿鏈敭</option>
+ <option value="2003">宸蹭氦瀹氶噾</option>
+ <option value="2004">宸插嚭绉�</option>
+ </select>
+ </div>
+
+ <div class="col-sm-3">
+ <div class="input-group">
+ <input type="text" placeholder="璇峰~鍐欐埧灞嬬紪鍙�" class="form-control form-control-sm" v-model="roomInfo.roomNum">
+ </div>
+
+ </div>
+
+ <div class="col-sm-2">
+ <button type="button" class="btn btn-primary btn-sm" v-on:click="queryRoomMethod()">
+ <i class="glyphicon glyphicon-search"></i> 椹笂鏌ヨ</button>
+ </div>
+
+ </div>
+
+ <table class="footable table table-stripped toggle-arrow-tiny" style="margin-top:10px" data-page-size="10">
<thead>
<tr>
<th>鎴垮眿ID</th>
@@ -18,6 +52,7 @@
<th data-hide="phone" >鎴峰瀷</th>
<th data-hide="phone">寤虹瓚闈㈢Н</th>
<th data-hide="phone">鍗曚环</th>
+ <th data-hide="phone">鎴垮眿鐘舵��</th>
<th data-hide="phone">鍒涘缓鍛樺伐</th>
<th data-hide="phone">澶囨敞</th>
<th class="text-right">鎿嶄綔</th>
@@ -33,7 +68,7 @@
{{room.roomNum}}
</td>
<td>
- {{room.unitName}}
+ {{room.unitNum}}
</td>
<td>
{{room.layer}}
@@ -51,12 +86,18 @@
{{room.unitPrice}}
</td>
<td>
+ {{vc.component.showState(room.state)}}
+ </td>
+ <td>
{{room.userName}}
</td>
<td>
{{room.remark}}
</td>
<td class="text-right">
+ <div class="btn-group">
+ <button class="btn-white btn btn-xs" v-on:click="_openEditRoomModel(room)">淇敼</button>
+ </div>
<div class="btn-group">
<button class="btn-white btn btn-xs" v-on:click="_openDelRoomModel(room)">鍒犻櫎</button>
</div>
@@ -78,5 +119,7 @@
</div>
</div>
</div>
-
+ <!-- 鍒犻櫎鍛樺伐鏉冮檺 -->
+ <vc:create name="editRoom"></vc:create>
+ <vc:create name="deleteRoom"></vc:create>
</div>
\ No newline at end of file
--
Gitblit v1.8.0