searchRoom.html 4.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. <div id = "searchRoomModel" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="searchRoomModelLabel" aria-hidden="true" >
  2. <div class="modal-dialog modal-lg">
  3. <div class="modal-content">
  4. <div class="modal-header">
  5. <h3 class="modal-title" id="searchRoomModelLabel">选择房屋</h3>
  6. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  7. <span aria-hidden="true">&times;</span>
  8. </button>
  9. </div>
  10. <div class="modal-body">
  11. <div class=" row">
  12. <div class="col-lg-12">
  13. <div class="ibox ">
  14. <div class="row">
  15. <div class="col-sm-6 m-b-xs">
  16. <div class="input-group">
  17. <input placeholder="输入小区楼编号,必填" type="text" v-model="searchRoomInfo._currentFloorNum" class="form-control form-control-sm">
  18. </div>
  19. </div>
  20. <div class="col-sm-6">
  21. <div class="input-group">
  22. <input placeholder="输入房屋编号" type="text" v-model="searchRoomInfo._currentRoomNum" class="form-control form-control-sm">
  23. <span class="input-group-append">
  24. <button type="button" class="btn btn-sm btn-primary" v-on:click="searchRooms()">查询</button>
  25. </span>
  26. </div>
  27. </div>
  28. </div>
  29. <div class="table-responsive" style="margin-top:15px">
  30. <table class="table table-striped">
  31. <thead>
  32. <tr>
  33. <th>房屋ID</th>
  34. <th>房屋编号</th>
  35. <th>单元</th>
  36. <th>楼层</th>
  37. <th>房间数</th>
  38. <th>户型</th>
  39. <th>创建员工</th>
  40. <th>操作</th>
  41. </tr>
  42. </thead>
  43. <tbody>
  44. <tr v-for="room in searchRoomInfo.rooms">
  45. <td>
  46. {{room.roomId}}
  47. </td>
  48. <td>
  49. {{room.roomNum}}
  50. </td>
  51. <td>
  52. {{room.unitNum}}
  53. </td>
  54. <td>
  55. {{room.layer}}
  56. </td>
  57. <td>
  58. {{room.section}}
  59. </td>
  60. <td>
  61. {{room.apartment}}
  62. </td>
  63. <td>
  64. {{room.userName}}
  65. </td>
  66. <td>
  67. <button class="btn btn-primary btn-xs" v-on:click="chooseRoom(room)">选择</button>
  68. </td>
  69. </tr>
  70. </tbody>
  71. </table>
  72. </div>
  73. </div>
  74. </div>
  75. </div>
  76. </div>
  77. </div>
  78. </div>
  79. </div>