From 4ee6445f67bbb56caa2b2f981afce6e87cc602af Mon Sep 17 00:00:00 2001
From: 吴学文 <wuxuewen@wuxuewendeMacBook-Pro.local>
Date: 星期三, 10 七月 2019 21:01:26 +0800
Subject: [PATCH] 每个页面显示当前页面名称,将上下框无法对其的处理对齐

---
 WebService/src/main/resources/components/room/room.html |   51 +++++++++++++++++++++++++++++++++++++++++++++++----
 1 files changed, 47 insertions(+), 4 deletions(-)

diff --git a/WebService/src/main/resources/components/room/room.html b/WebService/src/main/resources/components/room/room.html
index b44d9ea..5310b31 100644
--- a/WebService/src/main/resources/components/room/room.html
+++ b/WebService/src/main/resources/components/room/room.html
@@ -1,13 +1,47 @@
-<div id="component" class="wrapper wrapper-content animated fadeInRight ecommerce">
+<div id="component">
     <vc:create name="roomSelectFloor"
                openAddRoomModelName="addRoom"
     ></vc:create>
     <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