selectRoom.html 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. <div class="modal" tabindex="-1" role="dialog" style="z-index:1;">
  2. <div class="modal-dialog" style="width: 1200px;">
  3. <div class="card">
  4. <div class="header" dragable-header>
  5. <button type="button" class="close" ng-click="$hide()">&times;</button>
  6. <h4 class="modal-title">选择房间</h4>
  7. </div>
  8. <div activate-input activate-select class="body" style="height:750px;">
  9. <div class="row" style="height:95%;margin:0px;">
  10. <div class="col-lg-8 col-md-8" style="width: 65%; height: 100%; border: 1px solid #ddd;">
  11. <div class="card">
  12. <div class="header">房间列表</div>
  13. <div class="search-header">
  14. <div class="search-param-panel">
  15. <div class="search-input">
  16. <div class="row clearfix form-inline">
  17. <div class="col-lg2 col-md-2 dj-label">
  18. <label>大楼</label>
  19. </div>
  20. <div class="col-lg4 col-md-4">
  21. <div class="form-group">
  22. <div class="form-line">
  23. <select boots-select class="form-control show-tick" name="buildingId"
  24. ng-model="selectparams.buildingId"
  25. data-live-search="true" option-datas="buildingList"
  26. ng-options="type.BuildingId as type.Name for type in buildingList"
  27. ng-change="getFloorList();search()">
  28. <option value="" selected>--全部--</option>
  29. </select>
  30. </div>
  31. </div>
  32. </div>
  33. <div class="col-lg2 col-md-2 dj-label">
  34. <label>楼层</label>
  35. </div>
  36. <div class="col-lg4 col-md-4">
  37. <div class="form-group">
  38. <div class="form-line">
  39. <select boots-select class="form-control show-tick" name="floorId"
  40. ng-model="selectparams.floorId"
  41. data-live-search="true" option-datas="floorList"
  42. ng-options="type.BuildingFloorId as type.Name for type in floorList"
  43. ng-change="search()">
  44. <option value="" selected>--全部--</option>
  45. </select>
  46. </div>
  47. </div>
  48. </div>
  49. </div>
  50. <div class="row clearfix form-inline">
  51. <div class="col-lg-2 col-md-2 dj-label">
  52. <label>名称</label>
  53. </div>
  54. <div class="col-lg-4 col-md-4">
  55. <div class="form-group">
  56. <div class="form-line">
  57. <input type="text" class="form-control" name="name"
  58. ng-model="selectparams.name"
  59. placeholder="" ng-keypress="search()" />
  60. </div>
  61. </div>
  62. </div>
  63. </div>
  64. </div>
  65. <div class="search-btn">
  66. <button class="btn btn-default1"
  67. ng-click="search()">
  68. 查询
  69. </button>
  70. </div>
  71. </div>
  72. </div>
  73. <div class="body" style="height:500px;">
  74. <div class="table-responsive list-table-panel table-adapt">
  75. <table class="gt-table gt-table-bordered gt-table-evenodd table-text-clip">
  76. <thead>
  77. <tr>
  78. <th class="th-select" th-select-all datalist="dataList"></th>
  79. <th class="th-rownum"><div>序号</div></th>
  80. <th>大楼</th>
  81. <th>楼层</th>
  82. <th>房间</th>
  83. </tr>
  84. </thead>
  85. <tbody>
  86. <tr ng-repeat="it in dataList" fixed-table-header max-height="445" parent-height="445">
  87. <td class="text-center">
  88. <input type="checkbox" ng-model="it.rowChecked" />
  89. </td>
  90. <td class="text-center" td-rownum index="$index" pageindex="selectparams.pageIndex" pagesize="selectparams.pageSize"></td>
  91. <td class="text-center">{{it.BuildingName}}</td>
  92. <td class="text-center">{{it.FloorName}}</td>
  93. <td class="text-center">{{it.Name}}</td>
  94. </tr>
  95. <tr ng-if="dataList.length==0">
  96. <td colspan="15" style="text-align:center">暂无数据</td>
  97. </tr>
  98. </tbody>
  99. </table>
  100. </div>
  101. <pagination data-pageindex="selectparams.pageIndex" data-pagesize="selectparams.pageSize"
  102. data-ptotal="pageInfo.ptotal"></pagination>
  103. </div>
  104. </div>
  105. </div>
  106. <div class="col-lg-1 col-md-1" style="width: 5%; height: 100%;display:flex; align-items: center;">
  107. <div>
  108. <i class="material-icons ng-binding" style="font-size:36px;cursor:pointer;" ng-click="select()">chevron_right</i>
  109. <p></p>
  110. <i class="material-icons ng-binding" style="font-size: 36px; cursor: pointer;" ng-click="remove()">chevron_left</i>
  111. </div>
  112. </div>
  113. <div class="col-lg-3 col-md-3" style="width: 30%; height: 100%; border: 1px solid #ddd; ">
  114. <div class="card">
  115. <div class="header">已选列表</div>
  116. <div class="body">
  117. <div class="table-responsive list-table-panel table-adapt">
  118. <table class="gt-table gt-table-bordered gt-table-evenodd">
  119. <thead>
  120. <tr>
  121. <th class="th-select" th-select-all datalist="selectList"></th>
  122. <th>大楼</th>
  123. <th>楼层</th>
  124. <th>房间</th>
  125. <th>操作</th>
  126. </tr>
  127. </thead>
  128. <tbody>
  129. <tr ng-repeat="it in selectList" fixed-table-header max-height="580">
  130. <td class="text-center">
  131. <input type="checkbox" ng-model="it.rowChecked" />
  132. </td>
  133. <td class="text-center">{{it.BuildingName}}</td>
  134. <td class="text-center">{{it.FloorName}}</td>
  135. <td class="text-center">{{it.Name}}</td>
  136. <td><a ng-click="remove($index)">删除</a></td>
  137. </tr>
  138. <tr ng-if="selectList.length==0">
  139. <td colspan="15" style="text-align:center">暂无数据</td>
  140. </tr>
  141. </tbody>
  142. </table>
  143. </div>
  144. </div>
  145. </div>
  146. </div>
  147. </div>
  148. <div class="form_foot">
  149. <button type="button" class="btn btn-default" ng-click="$hide()">取消</button>
  150. <button type="button" class="btn btn-primary" ng-click="save()">完成</button>
  151. </div>
  152. </div>
  153. </div>
  154. </div>
  155. </div>