sysUserGet.jsp 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322
  1. <%--
  2. time:2011-11-28 10:17:09
  3. --%>
  4. <%@ page language="java" contentType="text/html; charset=UTF-8"
  5. pageEncoding="UTF-8"%>
  6. <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
  7. <%@include file="/commons/include/html_doctype.html"%>
  8. <html>
  9. <head>
  10. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  11. <title>用户表明细</title>
  12. <%@include file="/commons/include/get.jsp"%>
  13. <script type="text/javascript" src="${ctx }/js/lg/plugins/ligerTab.js"></script>
  14. <script type="text/javascript">
  15. /*KILLDIALOG*/
  16. var dialog =null;
  17. try{
  18. dialog = frameElement.dialog; //调用页面的dialog对象(ligerui对象)
  19. }catch(e){
  20. }
  21. $(function() {
  22. var h = $('body').height();
  23. $("#tabMyInfo").ligerTab({
  24. // height : h - 60
  25. });
  26. });
  27. </script>
  28. </head>
  29. <body>
  30. <div class="panel-toolbar" id="pToolbar">
  31. <div class="toolBar">
  32. <c:if test="${canReturn==0 && openType!='detail'}">
  33. <div class="group">
  34. <a class="link back" href="${returnUrl}" ><span></span>返回</a>
  35. </div>
  36. </c:if>
  37. <c:if test="${openType=='detail'}">
  38. <div class="group">
  39. <a class="link close" href="javascript:;" onclick="dialog.close();"><span></span>关闭</a>
  40. </div>
  41. </c:if>
  42. <c:if test="${canReturn==1}">
  43. <div class="group">
  44. <a class="link back" href="${ctx}/platform/system/sysUser/editCommon.ht" ><span></span>修改信息</a>
  45. </div>
  46. </c:if>
  47. </div>
  48. </div>
  49. <div id="tabMyInfo" style="overflow: hidden; position: relative;">
  50. <div title="基本信息" tabid="userdetail"
  51. icon="${ctx}/styles/default/images/resicon/user.gif">
  52. <div class="panel-detail">
  53. <table class="table-detail" cellpadding="0" cellspacing="0"
  54. border="0">
  55. <tr>
  56. <td rowspan="11" align="center" width="26%">
  57. <div class="person_pic_div">
  58. <p><img src="${ctx}/${pictureLoad}" alt="个人相片" style="width: 100%;height: 480px" /></p>
  59. </div>
  60. </td>
  61. <th width="18%" style="height: 48px !important">帐 号:</th>
  62. <td>${sysUser.account}</td>
  63. </tr>
  64. <tr>
  65. <th style="height: 48px !important">用户姓名:</th>
  66. <td>${sysUser.fullname}</td>
  67. </tr>
  68. <tr>
  69. <th style="height: 48px !important">用户性别:</th>
  70. <td><c:choose>
  71. <c:when test="${sysUser.sex==1}">
  72. </c:when>
  73. <c:otherwise>
  74. </c:otherwise>
  75. </c:choose></td>
  76. </tr>
  77. <tr>
  78. <th style="height: 48px !important">是否锁定:</th>
  79. <td><c:choose>
  80. <c:when test="${sysUser.isLock==1}">
  81. 已锁定
  82. </c:when>
  83. <c:otherwise>
  84. 未锁定
  85. </c:otherwise>
  86. </c:choose></td>
  87. </tr>
  88. <tr>
  89. <th style="height: 48px !important">是否过期:</th>
  90. <td><c:choose>
  91. <c:when test="${sysUser.isExpired==1}">
  92. 已过期
  93. </c:when>
  94. <c:otherwise>
  95. 未过期
  96. </c:otherwise>
  97. </c:choose></td>
  98. </tr>
  99. <tr>
  100. <th style="height: 48px !important">当前状态:</th>
  101. <td><c:choose>
  102. <c:when test="${sysUser.status==1}">
  103. 激活
  104. </c:when>
  105. <c:when test="${sysUser.status==0}">
  106. 禁用
  107. </c:when>
  108. <c:otherwise>
  109. 删除
  110. </c:otherwise>
  111. </c:choose></td>
  112. </tr>
  113. <tr>
  114. <th style="height: 48px !important">创建时间:</th>
  115. <td>${f:shortDate(sysUser.createtime)}</td>
  116. </tr>
  117. <tr>
  118. <th style="height: 48px !important">邮箱地址:</th>
  119. <td>${sysUser.email}</td>
  120. </tr>
  121. <tr>
  122. <th>微 信: </th>
  123. <td>${sysUser.weixinid}</td>
  124. </tr>
  125. <tr>
  126. <th style="height: 48px !important">手 机:</th>
  127. <td>${sysUser.mobile}</td>
  128. </tr>
  129. <tr>
  130. <th style="height: 48px !important">电 话:</th>
  131. <td>${sysUser.phone}</td>
  132. </tr>
  133. </table>
  134. </div>
  135. </div>
  136. <div title="职责描述" tabid="orgdetailresponsibility">
  137. <c:forEach items="${orgList}" var="orgItem" varStatus="status">
  138. <table class="table-grid" cellpadding="1"
  139. cellspacing="1">
  140. <tr>
  141. <th style="width: 50%; text-align: center !important;">部门职责
  142. </th>
  143. <th style="width: 50%; text-align: center !important;">
  144. 职责描述
  145. </th>
  146. </tr>
  147. <tr>
  148. <td style="width: 50%;text-align: center !important;"><div>${orgItem.orgDesc}</div>
  149. </td>
  150. <td style="width: 50%;text-align: center !important;">
  151. <div>${orgItem.responsibilityDetail}</div>
  152. </td>
  153. </tr>
  154. </table>
  155. </c:forEach>
  156. </div>
  157. <c:if test="${isOtherLink==0}">
  158. <div title="所属组织" tabid="orgdetail"
  159. icon="${ctx}/styles/default/images/resicon/home.png">
  160. <div
  161. style="overflow-y: auto; overflow-x: hidden; border: 0px solid #6F8DC6;">
  162. <div class="panel-data">
  163. <table id="orgItem" class="table-grid" cellpadding="1"
  164. cellspacing="1">
  165. <thead>
  166. <th style="width: 25%; text-align: center !important;">组织名称</th>
  167. <th style="width: 25%; text-align: center !important;">是否主组织</th>
  168. <th style="width: 50%; text-align: center !important;">主要负责人</th>
  169. </thead>
  170. <c:forEach items="${orgList}" var="orgItem" varStatus="status">
  171. <tr class="${status.index%2==0?'odd':'even'}">
  172. <td style="text-align: center;">${orgItem.orgName}</td>
  173. <td style="text-align: center;"><c:choose>
  174. <c:when test="${orgItem.isPrimary==1}">
  175. </c:when>
  176. <c:otherwise>
  177. </c:otherwise>
  178. </c:choose></td>
  179. <!-- <td style="text-align: center;">${orgItem.chargeName}</td> -->
  180. <td style="text-align: center;">
  181. <c:choose>
  182. <c:when test="${orgItem.isCharge==1}">
  183. </c:when>
  184. <c:otherwise>
  185. </c:otherwise>
  186. </c:choose>
  187. </td>
  188. </tr>
  189. </c:forEach>
  190. </table>
  191. </div>
  192. </div>
  193. </div>
  194. <div title="所属岗位" tabid="posdetail"
  195. icon="${ctx}/styles/default/images/nav-sales.png">
  196. <div
  197. style="overflow-y: auto; overflow-x: hidden; border: 0px solid #6F8DC6;">
  198. <div class="panel-data">
  199. <table id="posItem" class="table-grid" cellpadding="1"
  200. cellspacing="1">
  201. <thead>
  202. <th style="width: 25%; text-align: center !important;">岗位名称</th>
  203. <th style="width: 25%; text-align: center !important;">是否主岗位</th>
  204. </thead>
  205. <c:forEach items="${posList}" var="posItem" varStatus="status">
  206. <tr class="${status.index%2==0?'odd':'even'}">
  207. <td style="text-align: center;">${posItem.posName}</td>
  208. <td style="text-align: center;"><c:choose>
  209. <c:when test="${posItem.isPrimary==1}">
  210. </c:when>
  211. <c:otherwise>
  212. </c:otherwise>
  213. </c:choose></td>
  214. </tr>
  215. </c:forEach>
  216. </table>
  217. </div>
  218. </div>
  219. </div>
  220. <div title="所属角色" tabid="roldetail"
  221. icon="${ctx}/styles/default/images/resicon/customer.png">
  222. <div
  223. style="overflow-y: auto; overflow-x: hidden; border: 0px solid #6F8DC6;">
  224. <div class="panel-data">
  225. <table id="rolItem" class="table-grid" cellpadding="1"
  226. cellspacing="1">
  227. <thead>
  228. <th style="width: 25%; text-align: center !important;">角色名称</th>
  229. <th style="width: 25%; text-align: center !important;">子系统名称</th>
  230. </thead>
  231. <c:forEach items="${roleList}" var="rolItem" varStatus="status">
  232. <tr class="${status.index%2==0?'odd':'even'}">
  233. <td style="text-align: center;">${rolItem.roleName}</td>
  234. <td style="text-align: center;">${rolItem.systemName}</td>
  235. </tr>
  236. </c:forEach>
  237. </table>
  238. </div>
  239. </div>
  240. </div>
  241. <div title="所属组织角色" tabid="orgRoldetail"
  242. icon="${ctx}/styles/default/images/resicon/customer.png">
  243. <div
  244. style="overflow-y: auto; overflow-x: hidden; border: 0px solid #6F8DC6;">
  245. <div class="panel-data">
  246. <table id="rolItem" class="table-grid" cellpadding="1"
  247. cellspacing="1">
  248. <thead>
  249. <th style="width: 25%; text-align: center !important;">组织</th>
  250. <th style="width: 25%; text-align: center !important;">角色</th>
  251. </thead>
  252. <c:forEach items="${sysOrgRoles}" var="sysOrgRole">
  253. <tr>
  254. <td style="text-align: center;">
  255. ${sysOrgRole.key.orgName}
  256. </td>
  257. <td style="text-align: center;">
  258. <c:forEach items="${sysOrgRole.value}" var="sysRole">
  259. ${sysRole.roleName}
  260. </c:forEach>
  261. </td>
  262. </tr>
  263. </c:forEach>
  264. </table>
  265. </div>
  266. </div>
  267. </div>
  268. <div title="参数属性" tabid="params"
  269. icon="${ctx}/styles/default/images/resicon/article.gif">
  270. <div
  271. style="overflow-y: auto; overflow-x: hidden; border: 0px solid #6F8DC6;">
  272. <div class="panel-detail">
  273. <table id="paramItem" class="table-grid" cellpadding="1"
  274. cellspacing="1">
  275. <thead>
  276. <th style="width: 25%; text-align: center !important;">参数名</th>
  277. <th style="width: 25%; text-align: center !important;">参数值</th>
  278. </thead>
  279. <c:forEach items="${userParamList}" var="para" varStatus="status">
  280. <tr class="${status.index%2==0?'odd':'even'}">
  281. <td style="text-align: center;">${para.paramName}</td>
  282. <td style="text-align: center;">${para.paramValue}</td>
  283. </tr>
  284. </c:forEach>
  285. </table>
  286. </div>
  287. </div>
  288. </div>
  289. </c:if>
  290. </div>
  291. </body>
  292. </html>