TFDUserListPage.html 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. <%var cssParam = {%>
  2. <%};%>
  3. <%var jsParam = {%>
  4. <script type="text/javascript">
  5. function todel(url,msg){
  6. bootbox.dialog({
  7. title: "系统提示",
  8. message: msg,
  9. locale:"zh_CN",
  10. buttons: {
  11. cancel: {label: "取消",className: "btn-cancel",callback: function() {}},
  12. ok: {label: "确定",className: "btn-success",
  13. callback: function() {
  14. window.location.href = url;
  15. }
  16. }
  17. }
  18. });
  19. }
  20. </script>
  21. <%};%>
  22. <%layout("/topicsForDiscussion/afterPage/commonPage/_layout.html", {nav: "专题讨论用户管理",meunsel:"tfdUserManage",jsParam:jsParam,cssParam:cssParam}) {%>
  23. <div class="col-xs-12">
  24. <div class="row">
  25. <form id="searchForm" action="${contextPath}/TFDUserAfter/getTFDUserList" method="post" class="form-horizontal">
  26. <input type="hidden" name="pageNumber" value="1" />
  27. 查询身份证:<input type="text" name="cardNumber" placeholder="请输入身份证" value="" />
  28. 查询名称:<input type="text" name="name" placeholder="请输入名称" value="" />
  29. <button class="btn btn-xs btn-primary" onclick="document.getElementById('searchForm').submit();"><i class="icon-search bigger-120">查询</i></button>
  30. <a class="btn btn-xs btn-success" href="${contextPath}/TFDUserAfter/toEditUser?pageNumber=${pageNumber!1}&urlParas=${urlParas!}">
  31. <i class="icon-ok bigger-120">添加用户</i>
  32. </a>
  33. </form>
  34. </div>
  35. </div>
  36. <div class="col-xs-12">
  37. <div class="row">
  38. <div class="table-responsive">
  39. <table id="sample-table-1"
  40. class="table table-striped table-bordered table-hover">
  41. <thead>
  42. <tr>
  43. <th>序号</th>
  44. <th>名称</th>
  45. <th>身份证号码</th>
  46. <th>登陆名称</th>
  47. <th>联系电话</th>
  48. <th>电子邮箱</th>
  49. <th>后台权限</th>
  50. <th>创建时间</th>
  51. <th></th>
  52. </tr>
  53. </thead>
  54. <tbody>
  55. <%for(tempData in dataList!){%>
  56. <tr>
  57. <td>${tempDataLP.index}</td>
  58. <td>${tempData.name!''}</td>
  59. <td>${tempData.cardnumber!''}</td>
  60. <td>${tempData.loginName!''}</td>
  61. <td>${tempData.phone!''}</td>
  62. <td>${tempData.email!''}</td>
  63. <td>${tempData.roleName!'-'}</td>
  64. <td>${tempData.createDate!''}</td>
  65. <td>
  66. <div class="visible-md visible-lg hidden-sm hidden-xs btn-group">
  67. <!--
  68. <a class="btn btn-xs btn-info" href="${contextPath}/TFDUserAfter/view?id=${tempData.id}" target="_blank" data-toggle="tooltip" data-placement="auto" title="查看详情">
  69. <i class="icon-flag bigger-120"></i>
  70. </a>
  71. -->
  72. <a class="btn btn-xs btn-info" href="${contextPath}/TFDUserAfter/toEditUser?id=${tempData.id}&pageNumber=${pageNumber!1}&urlParas=${urlParas!}" onclick="" data-toggle="tooltip" data-placement="auto" title="编辑">
  73. <i class="icon-edit bigger-120"></i>
  74. </a>
  75. <a class="btn btn-xs btn-danger" href="javascript:todel('${contextPath}/TFDUserAfter/delUser?id=${tempData.id}&pageNumber=${pageNumber!1}&urlParas=${urlParas!}','记录将被永久删除,并且无法恢复。您确定吗?')" onclick="" data-toggle="tooltip" data-placement="auto" title="删除">
  76. <i class="icon-trash bigger-120"></i>
  77. </a>
  78. </div>
  79. </td>
  80. </tr>
  81. <%}elsefor{%>
  82. <tr>
  83. <td colspan="9">没有记录!</td>
  84. </tr>
  85. <%}%>
  86. </tbody>
  87. </table>
  88. </div>
  89. <div class="pull-right">
  90. <%include("/topicsForDiscussion/afterPage/commonPage/_paginate.html", {"currentPage": pageNumber!1, "totalPage": totalPage!1, "totalRow": totalRow!0, "actionUrl": contextPath+"/TFDUserAfter/getTFDUserList?pageNumber=", "urlParas": urlParas!''}){}%>
  91. </div>
  92. <!-- /.table-responsive -->
  93. </div>
  94. <!-- /span -->
  95. </div>
  96. <!-- /row -->
  97. <%}%>