save_result.jsp 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  2. <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
  3. <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
  4. <%
  5. String path = request.getContextPath();
  6. String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
  7. %>
  8. <!DOCTYPE html>
  9. <html lang="en">
  10. <head>
  11. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  12. <title>保存结果</title>
  13. <base href="<%=basePath%>">
  14. <meta name="description" content="overview & stats" />
  15. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  16. <script type="text/javascript" src="static/js/jquery-1.7.2.js"></script>
  17. </head>
  18. <body>
  19. <div id="zhongxin"></div>
  20. <input type="hidden" name="sunval" id="sunval" value="${sunval}"/><!-- 传值用 -->
  21. <input type="hidden" name="ASSIGNEE_" id="ASSIGNEE_" value="${ASSIGNEE_}"/><!-- 用于给待办人发送新任务消息 -->
  22. <script type="text/javascript">
  23. var errer = "${errer}";
  24. if(errer=="errer"){
  25. alert("${msgContent}");
  26. top.Dialog.close();
  27. }
  28. var ASSIGNEE_ = "${ASSIGNEE_}";
  29. if("" != ASSIGNEE_){
  30. top.fhtaskmsg(ASSIGNEE_); //websocket即时通讯用于给待办人发送新任务消息 ,fhtaskmsg()函数 editUserH()在 WebRoot\static\js\myjs\head.js
  31. }
  32. var FHSMS = "${FHSMS}";
  33. if("" != FHSMS){
  34. top.fhsmsmsg(FHSMS); //websocket即时通讯用于给待办人发送站内信消息 ,fhsmsmsg()函数 editUserH()在 WebRoot\static\js\myjs\head.js
  35. }
  36. var msg = "${msg}";
  37. if(msg=="success" || msg==""){
  38. document.getElementById('zhongxin').style.display = 'none';
  39. top.Dialog.close();
  40. }else{
  41. top.Dialog.close();
  42. }
  43. </script>
  44. </body>
  45. </html>