userInfo.jsp 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. <%@ page language="java" contentType="text/html; charset=UTF-8"
  2. pageEncoding="UTF-8"%>
  3. <%@page import="java.util.*" %>
  4. <%@ include file="../common/base.jsp"%>
  5. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html xmlns="http://www.w3.org/1999/xhtml">
  6. <head>
  7. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  8. <title>编辑用户信息</title>
  9. <link rel="stylesheet" type="text/css" href="${basePath }/css/public.css"/>
  10. <link rel="stylesheet" type="text/css" href="${basePath }/css/vote.css"/>
  11. <script type="text/javascript" src="${basePath}/js/usermanage/user.js"></script>
  12. <script type="text/javascript">
  13. function back(){
  14. history.go(-1);
  15. }
  16. </script>
  17. </head>
  18. <body>
  19. <div class="voteBase main">
  20. <div class="first">
  21. <div class="first1">
  22. <div class="first_title">
  23. <span class="thems"><c:if test="${markTitle == 0}">新增</c:if>
  24. <c:if test="${markTitle == 1}">编辑</c:if>用户信息</span>
  25. </div>
  26. <div style=" float:right;height:35px; margin-right: 10px;">
  27. <div class="backBtn" onclick="back()">返回</div>
  28. </div>
  29. </div>
  30. <div class="remind">
  31. </div>
  32. <div class="grayLine"></div>
  33. </div>
  34. <form id="mainForm" method="post" class="mainForm">
  35. <input type="hidden" id="id" name="id" value="${user.id}">
  36. <!-- 初始折扣选中 -->
  37. <input type="hidden" id="selectUserSpIds" value="${userSpIds}"/>
  38. <input type="hidden" id="spids" name="spids" value=""/>
  39. <div class="voteBaseInfo">
  40. <div class="gz1 fisrtTr"></div>
  41. <table width="550px" border="0" cellspacing="0" cellpadding="0">
  42. <tbody>
  43. <tr>
  44. <td class="voteRight" width="15%">用户名称:</td>
  45. <td width=55%">
  46. <input type="text" style=" height:22px;width: 30%;" name="userName" id="userName" value="${user.userName }" maxlength="10" />
  47. <span style="color: red;">*</span><span id="userName_message" >用户名不能为空</span>
  48. </td>
  49. </tr>
  50. <c:if test="${markTitle == 0}">
  51. <tr>
  52. <td class="voteRight">密码:</td>
  53. <td width="23%">
  54. <input type="text" style=" height:22px;width: 30%;" name="passWord" id="passWord" value="${user.passWord }" maxlength="10"/>
  55. </td>
  56. </tr>
  57. </c:if>
  58. <tr>
  59. <td class="voteRight">所属系统:</td>
  60. <td width="60%">
  61. <select id="regSpid" name="regSpid" style=" height:25px; line-height:25px;width: 60%;">
  62. <option value="">请选择</option>
  63. <c:forEach items="${spList }" var="sp">
  64. <c:if test="${sp.spId == spId}">
  65. <option value="${sp.spId }" selected="selected">${sp.name }</option>
  66. </c:if>
  67. <c:if test="${sp.spId != spId}">
  68. <option value="${sp.spId }">${sp.name }</option>
  69. </c:if>
  70. </c:forEach>
  71. </select>
  72. </td>
  73. </tr>
  74. <tr>
  75. <td class="voteRight">可访问系统:</td>
  76. <td class="userSpIds">
  77. </td>
  78. </tr>
  79. <tr style="height:50px" valign="bottom">
  80. <td colspan="3">
  81. <div class="voteBtn" style="width:100px">
  82. <div class="btnSave saveBtn">完成</div>
  83. </div>
  84. </td>
  85. </tr>
  86. </tbody>
  87. </table>
  88. </div>
  89. </form>
  90. </div>
  91. </body>
  92. <script type="text/javascript">
  93. $(function() {
  94. User.manage.info.init();
  95. });
  96. </script>
  97. </html>