usermain.jsp 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. <%@ page language="java" contentType="text/html; charset=UTF-8"
  2. pageEncoding="UTF-8"%>
  3. <!DOCTYPE html>
  4. <html lang="en">
  5. <head>
  6. <meta charset="utf-8">
  7. <title>江苏省港口建设与经营管理信息系统</title>
  8. <meta name="viewport" content="width=device-width, initial-scale=1">
  9. <%@ include file="../../common.jsp"%>
  10. <script type="text/javascript" src="${app }/static/biz/js/set/user/usermain.js"></script>
  11. <script type="text/javascript">
  12. $(document).ready(function () {
  13. user.main.init();
  14. iFrameHeightIframe('${menuid}');//自适应高度
  15. $('#sfjyr').width('80%');
  16. });
  17. </script>
  18. </head>
  19. <body>
  20. <div class="box" >
  21. <div class="box-content" >
  22. <form action="${app }/user/main" id="userform" method="post">
  23. <div >
  24. <table class="search_table" cellpadding="0" cellspacing="0">
  25. <tr>
  26. <th width="10%"></th>
  27. <th width="25%"></th>
  28. <th width="10%"></th>
  29. <th width="25%"></th>
  30. <th width="10%"></th>
  31. <th width="20%"></th>
  32. </tr>
  33. <tr>
  34. <tr>
  35. <td class="right">
  36. 用户名称 :&nbsp;
  37. </td>
  38. <td >
  39. <input type="text" class="form-control" name="username" value="${username }">
  40. </td>
  41. <td class="right">
  42. 登录名:&nbsp;
  43. </td>
  44. <td >
  45. <input type="text" class="form-control" name="uname" value="${uname }">
  46. </td>
  47. <td class="right">
  48. 是否经营人:&nbsp;
  49. </td>
  50. <td >
  51. <select id="sfjyr" name="sfjyr" class='selectpicker' >
  52. <option></option>
  53. <option
  54. <c:if test="${sfjyr == '201' }">
  55. selected="selected"
  56. </c:if>
  57. value="201">是</option>
  58. <option
  59. <c:if test="${sfjyr == '202' }">
  60. selected="selected"
  61. </c:if>
  62. value="202">否</option>
  63. </select>
  64. </td>
  65. </tr>
  66. <tr>
  67. <td class="right" colspan="6">
  68. <authz:hasPermission name="${appName}:user:main">
  69. <a class="btn btn-default btn-sm" href="#" onclick="user.main.search()">
  70. <i class="glyphicon glyphicon-search"></i>
  71. 查询</a>
  72. </authz:hasPermission>
  73. <authz:hasPermission name="${appName}:user:add">
  74. <a class="btn btn-default btn-sm" href="#" onclick="user.main.add()">
  75. <i class="glyphicon glyphicon-plus"></i>
  76. 新增</a>
  77. </authz:hasPermission>
  78. </td>
  79. </tr>
  80. </table>
  81. </div>
  82. <!-- 列表 -->
  83. <div style="background-color:#f4f4f4;">
  84. <table class="main_table" cellpadding="0" cellspacing="0">
  85. <tr>
  86. <th width="10%">序号</th>
  87. <th width="20%">用户名称</th>
  88. <th width="20%">登录账号</th>
  89. <th width="20%">所属管理部门</th>
  90. <th width="10%">排序号</th>
  91. <th width="1%" class='operatetd'>操作</th>
  92. </tr>
  93. <c:forEach items="${list}" var="user" varStatus="status">
  94. <tr class="tr_bg">
  95. <td>${status.index+1 }</td>
  96. <td>${user.name }</td>
  97. <td>${user.uname }</td>
  98. <td>${user.ssglbmzw }</td>
  99. <td>${user.sortno }</td>
  100. <td class='operatetd'>
  101. <a class="btn btn-default btn-xs" href="#" onclick="user.main.view('${user.id}')" title='查看'>
  102. <i class="glyphicon glyphicon-search"></i>
  103. </a>
  104. <authz:hasPermission name="${appName}:user:edit">
  105. <a class="btn btn-default btn-xs" href="#" onclick="user.main.edit('${user.id}')" title='编辑'>
  106. <i class="glyphicon glyphicon-pencil"></i>
  107. </a>
  108. </authz:hasPermission>
  109. <authz:hasPermission name="${appName}:user:delete">
  110. <a class="btn btn-default btn-xs" href="#" onclick="user.main.del('${user.id}')" title='删除'>
  111. <i class="glyphicon glyphicon-trash"></i>
  112. </a>
  113. </authz:hasPermission>
  114. <authz:hasPermission name="${appName}:user:edit">
  115. <a class="btn btn-default btn-xs" href="#" onclick="user.main.reset('${user.id}')" title='重置密码'>
  116. <i class="glyphicon glyphicon-asterisk"></i>
  117. </a>
  118. </authz:hasPermission>
  119. </td>
  120. </tr>
  121. </c:forEach>
  122. </table>
  123. </div>
  124. <!-- 分页 -->
  125. <jsp:include page="../../pageinfo.jsp"></jsp:include>
  126. </div>
  127. </form>
  128. </div>
  129. </body>
  130. </html>