list.html 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <div class="card">
  2. <div class="header">角色管理</div>
  3. <div activate-input activate-select class="header 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="roleName" class="form-control" type="text"
  15. ng-model="selectparams.roleName"
  16. placeholder="" ng-keypress="($event.which === 13)?search():0" />
  17. </div>
  18. </div>
  19. </div>
  20. </div>
  21. </form>
  22. </div>
  23. <div class="search-btn">
  24. <button class="btn btn-default1"
  25. ng-click="search()">
  26. 查询
  27. </button>
  28. </div>
  29. </div>
  30. <div class="search-tool">
  31. <div class="search-btn">
  32. <button class="btn btn-default1"
  33. ng-click="addRole()" function-code="990201">
  34. 新增
  35. </button>
  36. <button type="button"
  37. class="btn btn-default1" function-code="990203" ng-click="delRole()">
  38. 删除
  39. </button>
  40. </div>
  41. </div>
  42. </div>
  43. <div class="body">
  44. <div class="table-responsive list-table-panel">
  45. <table class="table table-bordered table-striped table-hover js-basic-example dataTable text-nowrap">
  46. <thead>
  47. <tr>
  48. <th class="th-select" th-select-all datalist="dataList"></th>
  49. <th class="th-rownum">序号</th>
  50. <th>角色名称</th>
  51. <th>备注</th>
  52. <th>是否系统角色</th>
  53. <th>创建时间</th>
  54. <th>操作</th>
  55. </tr>
  56. </thead>
  57. <tbody>
  58. <tr ng-repeat="it in dataList">
  59. <td class="text-center">
  60. <input type="checkbox" ng-model="it.rowChecked" />
  61. </td>
  62. <td class="text-center" td-rownum index="$index" pageindex="selectparams.pageIndex" pagesize="selectparams.pageSize"></td>
  63. <td>{{it.RoleName}}</td>
  64. <td>{{it.Description}}</td>
  65. <td class="text-center">{{it.IsSystemRole?"是":"否"}}</td>
  66. <td class="text-center">{{it.CreateTime | date: 'yyyy-MM-dd'}}</td>
  67. <td class="text-center">
  68. <i class="glyphicon glyphicon-pencil" function-code="990202" ng-click="editRole(it.RoleID)"></i>
  69. <i class="glyphicon glyphicon-user" function-code="990202" ng-click="editRoleUsers(it)" title="人员管理"></i>
  70. </td>
  71. </tr>
  72. <tr ng-if="pageInfo.ptotal==0">
  73. <td colspan="7" style="text-align:center">暂无数据</td>
  74. </tr>
  75. </tbody>
  76. </table>
  77. </div>
  78. <pagination data-pageindex="selectparams.pageIndex" data-pagesize="selectparams.pageSize"
  79. data-ptotal="pageInfo.ptotal"></pagination>
  80. </div>
  81. </div>