list.html 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. <div class="card">
  2. <div class="header">部门/服务点管理</div>
  3. <div activate-input activate-select class="search-header">
  4. <div class="search-param-panel">
  5. <div class="search-input">
  6. <form class="form-horizontal">
  7. <div class="row clearfix form-inline">
  8. <div class="col-lg2 col-md-2 dj-label">
  9. <label>大楼</label>
  10. </div>
  11. <div class="col-lg2 col-md-2">
  12. <div class="form-group">
  13. <div class="form-line">
  14. <select boots-select class="form-control show-tick" name="buildingId"
  15. ng-model="selectparams.buildingId"
  16. data-live-search="true" option-datas="buildingList"
  17. ng-options="type.BuildingId as type.Name for type in buildingList"
  18. ng-change="getFloorList();search()">
  19. <option value="" selected>--全部--</option>
  20. </select>
  21. </div>
  22. </div>
  23. </div>
  24. <div class="col-lg2 col-md-2 dj-label">
  25. <label>楼层</label>
  26. </div>
  27. <div class="col-lg2 col-md-2">
  28. <div class="form-group">
  29. <div class="form-line">
  30. <select boots-select class="form-control show-tick" name="floorId"
  31. ng-model="selectparams.floorId"
  32. data-live-search="true" option-datas="floorList"
  33. ng-options="type.BuildingFloorId as type.Name for type in floorList"
  34. ng-change="search()">
  35. <option value="" selected>--全部--</option>
  36. </select>
  37. </div>
  38. </div>
  39. </div>
  40. <div class="col-lg-1 col-md-2 dj-label">
  41. <label>名称</label>
  42. </div>
  43. <div class="col-lg-2 col-md-2">
  44. <div class="form-group">
  45. <div class="form-line">
  46. <input type="text" class="form-control" name="name"
  47. ng-model="selectparams.name"
  48. placeholder="" />
  49. </div>
  50. </div>
  51. </div>
  52. </div>
  53. </form>
  54. </div>
  55. <div class="search-btn">
  56. <button class="btn btn-default1"
  57. ng-click="search()">
  58. 查询
  59. </button>
  60. </div>
  61. </div>
  62. <div class="search-tool">
  63. <div class="search-btn">
  64. <button type="button" class="btn btn-default1" ng-click="add()">
  65. 新增
  66. </button>
  67. <button type="button" class="btn btn-default1" ng-click="delete()">
  68. 删除
  69. </button>
  70. </div>
  71. </div>
  72. </div>
  73. <div class="body">
  74. <div class="table-responsive list-table-panel table-adapt">
  75. <table class="table table-bordered table-striped table-hover js-basic-example dataTable text-nowrap">
  76. <thead>
  77. <tr>
  78. <th class="th-select" th-select-all datalist="dataList"></th>
  79. <th class="th-rownum">序号</th>
  80. <th>大楼</th>
  81. <th>楼层</th>
  82. <th>部门/服务点名称</th>
  83. <th>房间</th>
  84. <th class="col-md-1">操作</th>
  85. </tr>
  86. </thead>
  87. <tbody>
  88. <tr ng-repeat="it in dataList">
  89. <td class="text-center">
  90. <input type="checkbox" ng-model="it.rowChecked" />
  91. </td>
  92. <td class="text-center" td-rownum index="$index" pageindex="selectparams.pageIndex" pagesize="selectparams.pageSize"></td>
  93. <td class="text-center">{{it.BuildingName}}</td>
  94. <td class="text-center">{{it.FloorName}}</td>
  95. <td class="text-center">{{it.Name}}</td>
  96. <td class="text-center">{{it.RoomName}}</td>
  97. <td class="text-center">
  98. <i class="glyphicon glyphicon-pencil" ng-click="edit(it.DepartmentOrServicePointId)"></i>
  99. </td>
  100. </tr>
  101. <tr ng-if="dataList.length==0">
  102. <td colspan="11" style="text-align:center">暂无数据</td>
  103. </tr>
  104. </tbody>
  105. </table>
  106. </div>
  107. <pagination data-pageindex="selectparams.pageIndex" data-pagesize="selectparams.pageSize"
  108. data-ptotal="pageInfo.ptotal"></pagination>
  109. </div>
  110. </div>