add_userInfo.html 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <style>
  2. #user-lists{
  3. max-height: 600px;
  4. overflow-x: hidden;
  5. overflow-y: scroll;
  6. }
  7. @media screen and (max-width: 1366px){
  8. #user-lists{
  9. max-height: 368px;
  10. }
  11. }
  12. @media screen and (max-width: 1600px){
  13. #user-lists{
  14. max-height: 480px;
  15. }
  16. }
  17. </style>
  18. <div class="modal-header">
  19. <h3 class="modal-title">
  20. 客户分配
  21. </h3>
  22. </div>
  23. <div class="form-group" id="window-search" style="height: 36px; margin-bottom: 0; margin-top: 5px;">
  24. <div class="col-sm-12">
  25. <input type="text" class="form-control input-sm ng-pristine ng-invalid ng-invalid-required ng-touched" required="" placeholder="输入用户名关键词搜索" autofocus="" ng-model="keyword" ng-search="onSearch(keyword)" />
  26. <a class="btn input-group-addon" ng-click="onSearch()">搜索</a>
  27. </div>
  28. </div>
  29. <div class="modal-body" id="user-lists">
  30. <div>
  31. <table width="99%" class="block table table-bordered table-striped table-hover">
  32. <thead>
  33. <th width="80px;">用户UU</th>
  34. <th width="100px;">用户名称</th>
  35. <th width="40px;" style="text-align: center"><input type="checkbox" name="checkbox" ng-model="checkboxes.checked" ng-click="checkAll();"></th>
  36. </thead>
  37. <tbody>
  38. <div style="overflow-y:scroll; width:100%;max-height:500px">
  39. <tr ng-repeat="user in userinfos| filter: keyword" ng-if = "thisUser.userUU != user.userUU">
  40. <td width="80px;">{{user.userUU}}</td>
  41. <td width="100px;">{{user.userName}}</td>
  42. <td width="40px;" style="text-align: center"><input ng-model="user.distribute" name="checkbox" ng-click="checkOne()" type="checkbox"></td>
  43. </tr>
  44. </div>
  45. <tbody>
  46. </table>
  47. </div>
  48. </div>
  49. <div class="modal-footer">
  50. <button class="btn btn-primary" ng-click="close(true)" ng-disabled="!isChanged">确认</button>
  51. <button class="btn btn-default" ng-click="close(false)" type="button">取消</button>
  52. </div>