flow_sel_predefined_preview.jsp
上传用户:jhtang88
上传日期:2014-01-27
资源大小:28528k
文件大小:2k
源码类别:

Jsp/Servlet

开发平台:

Java

  1. <%@ page contentType="text/html;charset=utf-8"%>
  2. <%@ page import="java.net.URLEncoder"%>
  3. <%@ page import="cn.js.fan.util.*"%>
  4. <%@ page import="com.redmoon.oa.flow.*"%>
  5. <%@ page import="com.redmoon.oa.dept.*"%>
  6. <%@ page import="com.redmoon.oa.person.*"%>
  7. <jsp:useBean id="fchar" scope="page" class="cn.js.fan.util.StrUtil"/>
  8. <jsp:useBean id="privilege" scope="page" class="com.redmoon.oa.pvg.Privilege"/>
  9. <%
  10. WorkflowPredefineMgr wpm = new WorkflowPredefineMgr();
  11. WorkflowPredefineDb wpd = null;
  12. int id = ParamUtil.getInt(request, "id");
  13. wpd = wpm.getWorkflowPredefineDb(request, id);
  14. %>
  15. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  16. <html>
  17. <head>
  18. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  19. <title>预览预定义流程</title>
  20. <link href="common.css" rel="stylesheet" type="text/css">
  21. <%@ include file="inc/nocache.jsp"%>
  22. <style type="text/css">
  23. <!--
  24. .style1 {color: #FFFFFF}
  25. -->
  26. </style>
  27. </head>
  28. <body background="" leftmargin="0" topmargin="5" marginwidth="0" marginheight="0">
  29. <%
  30. String priv="read";
  31. if (!privilege.isUserPrivValid(request, priv))
  32. {
  33. out.println(fchar.makeErrMsg("对不起,您没有权限!"));
  34. return;
  35. }
  36. %>
  37. <table height="89" border="0" align="center" cellpadding="0" cellspacing="0">
  38.   <tr> 
  39.     <td height="23" class="right-title">&nbsp;&nbsp;预览流程&nbsp;-&nbsp;<%=wpd.getTitle()%></td>
  40.   </tr>
  41.   <tr> 
  42.     <td valign="top">
  43. <table width="100%"  border="0" cellspacing="0" cellpadding="0">
  44.       
  45.       <tr>
  46.         <td align="center">
  47. <OBJECT ID="Designer" CLASSID="CLSID:ADF8C3A0-8709-4EC6-A783-DD7BDFC299D7" codebase="<%=request.getContextPath()%>/activex/Designer.CAB" width=740 height=338>
  48.     <param name="Workflow" value="<%=wpd.getFlowString()%>">
  49. <param name="Mode" value="user"><!--debug user initiate complete-->
  50. </OBJECT></td>
  51.       </tr>
  52.     </table></td>
  53.   </tr>
  54. </table>
  55. </body>
  56. <script>
  57. function Operate()
  58. {
  59. }
  60. </script>
  61. </html>