list.html 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  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-lg-2 col-md-2 dj-label">
  9. <label>用户名</label>
  10. </div>
  11. <div class="col-lg-2 col-md-2">
  12. <div class="form-group">
  13. <div class="form-line">
  14. <input name="userName" class="form-control" type="text"
  15. ng-model="selectparams.userName"
  16. placeholder="" ng-keypress="($event.which === 13)?search():0" />
  17. </div>
  18. </div>
  19. </div>
  20. <div class="col-lg-2 col-md-2 dj-label">
  21. <label>用户角色</label>
  22. </div>
  23. <div class="col-lg-2 col-md-2">
  24. <div class="form-group">
  25. <div class="form-line">
  26. <select boots-select class="form-control" name="RoleID"
  27. ng-model="selectparams.RoleID"
  28. data-live-search="true" option-datas="RoleList"
  29. ng-options="owner.RoleID as owner.RoleName for owner in RoleList"
  30. ng-change="search()">
  31. <option value="" selected>--请选择--</option>
  32. </select>
  33. </div>
  34. </div>
  35. </div>
  36. <div class="col-lg-2 col-md-2 dj-label">
  37. <label>状态</label>
  38. </div>
  39. <div class="col-lg-2 col-md-2">
  40. <div class="form-group">
  41. <div class="form-line">
  42. <select class="form-control show-tick" name="recordStatus"
  43. ng-model="selectparams.recordStatus"
  44. ng-options="type.Value as type.Name for type in recordStatusList"
  45. ng-change="search()">
  46. <option value="" selected>--全部--</option>
  47. </select>
  48. </div>
  49. </div>
  50. </div>
  51. </div>
  52. </form>
  53. </div>
  54. <div class="search-btn">
  55. <button class="btn btn-default1"
  56. ng-click="search()">
  57. 查询
  58. </button>
  59. </div>
  60. </div>
  61. <div class="search-tool">
  62. <div class="search-btn">
  63. <button class="btn btn-default1"
  64. ng-click="addUser()" function-code="990301">
  65. 新增
  66. </button>
  67. <button type="button"
  68. class="btn btn-default1" function-code="990303" ng-click="delUser()">
  69. 删除
  70. </button>
  71. <button class="btn btn-default1" function-code="990305" ng-click="export()">Excel导出</button>
  72. </div>
  73. </div>
  74. </div>
  75. <div class="body">
  76. <div class="table-responsive list-table-panel">
  77. <table class="table table-bordered table-striped table-hover js-basic-example dataTable text-nowrap">
  78. <thead>
  79. <tr>
  80. <th class="th-select" th-select-all datalist="dataList"></th>
  81. <th class="th-rownum">序号</th>
  82. <th>用户名</th>
  83. <th>所在部门</th>
  84. <th>账号</th>
  85. <th>集团主账号</th>
  86. <th>用户角色</th>
  87. <th>状态</th>
  88. <th>操作</th>
  89. </tr>
  90. </thead>
  91. <tbody>
  92. <tr ng-repeat="it in dataList">
  93. <td class="text-center">
  94. <input type="checkbox" ng-model="it.rowChecked" />
  95. </td>
  96. <td class="text-center" td-rownum index="$index" pageindex="selectparams.pageIndex" pagesize="selectparams.pageSize"></td>
  97. <td class="text-center">{{it.Name}}</td>
  98. <td class="text-center">{{it.DepartmentName}}</td>
  99. <td class="text-center">{{it.LoginID}}</td>
  100. <td class="text-center">{{it.CmWorkLinkAccountPsid}}</td>
  101. <td class="text-center">{{it.RoleNames}}</td>
  102. <td class="text-center">{{it.RecordStatus == 1?'启用':'禁用'}}</td>
  103. <td class="text-center">
  104. <i class="glyphicon glyphicon-pencil" function-code="990302" ng-click="editUser(it.UserID)"></i>
  105. <i class="glyphicon glyphicon-lock" function-code="990304" ng-click="resetPwd(it.UserID)" title="重置密码"></i>
  106. </td>
  107. </tr>
  108. <tr ng-if="pageInfo.ptotal==0">
  109. <td colspan="7" style="text-align:center">暂无数据</td>
  110. </tr>
  111. </tbody>
  112. </table>
  113. </div>
  114. <pagination data-pageindex="selectparams.pageIndex" data-pagesize="selectparams.pageSize"
  115. data-ptotal="pageInfo.ptotal"></pagination>
  116. </div>
  117. </div>