top.jsp 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <%@ page contentType="text/html; charset=utf-8" session="false" %>
  2. <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
  3. <div>
  4. 管理员:<strong>${userName }</strong>,欢迎您!
  5. <a target="contfrm" href="javascript:void(0);" onclick="userchangepwd(this)">修改密码</a>
  6. |
  7. <a target="contfrm" href="welcome.html">回到首页</a>
  8. |
  9. <a href="##" onclick="loginout();">安全退出</a>
  10. </div>
  11. <ul>
  12. <li>
  13. <a id="id_reeorchart" href="javascript:void(0);" onclick="reeorchart(this)"></a>
  14. </li>
  15. <script>
  16. function userchangepwd(e){
  17. iframeBox(e, {
  18. src:"${contextPath}/admin/adminuser/changepwd.html?message=",
  19. width:470,
  20. height:280
  21. });
  22. }
  23. function reeorchart(e){
  24. var pageWidth = document.body.clientWidth;
  25. var pageHeight = document.body.clientHeight;
  26. var child = document.getElementById("contfrm").contentWindow;
  27. var beginDate = child.document.getElementById("beginDate").value;
  28. var endDate = child.document.getElementById("endDate").value;
  29. var Times = child.document.getElementById("Times").value;
  30. var DataCaptureNo = child.document.getElementById("DataCaptureNo").value;
  31. var DriverID = child.document.getElementById("DriverID").value;
  32. iframeBox(e, {
  33. src:"${contextPath}/admin/statistics/reeorchart.html?beginDate="+beginDate+"&endDate="+endDate+"&Times="+Times+"&DataCaptureNo="+DataCaptureNo+"&DriverID="+DriverID,
  34. width:pageWidth-50,
  35. height:pageHeight-50
  36. });
  37. }
  38. </script>
  39. <!-- <li>|</li> -->
  40. <!-- <li><a href="#">导航栏</a></li> -->
  41. <!-- <li>|</li> -->
  42. <!-- <li><a href="#">导航栏</a></li> -->
  43. </ul>