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

Jsp/Servlet

开发平台:

Java

  1. <%@ page contentType="text/html; charset=utf-8" %>
  2. <%@ page import="cn.js.fan.module.cms.*"%>
  3. <%@ page import="cn.js.fan.util.*"%>
  4. <%@ page import="com.redmoon.oa.flow.WorkflowPredefineDb"%>
  5. <%@ page import="com.redmoon.oa.flow.WorkflowDb"%>
  6. <%@ page import="com.redmoon.oa.flow.Render"%>
  7. <%@ page import="com.redmoon.oa.flow.WorkflowMgr"%>
  8. <%@ page import="com.redmoon.oa.flow.WorkflowActionDb"%>
  9. <%@ page import="com.redmoon.oa.fileark.DirView"%>
  10. <script src="inc/flow_dispose_js.jsp"></script>
  11. <script>
  12. function getFormReportContent() {
  13. return formDiv.innerHTML;
  14. }
  15. </script>
  16. <jsp:useBean id="privilege" scope="page" class="com.redmoon.oa.pvg.Privilege"/>
  17. <%
  18. int flowId = ParamUtil.getInt(request, "flowId");
  19. int actionId = ParamUtil.getInt(request, "actionId");
  20. WorkflowMgr wfm = new WorkflowMgr();
  21. WorkflowDb wf = wfm.getWorkflowDb(flowId);
  22. WorkflowActionDb wa = new WorkflowActionDb();
  23. wa = wa.getWorkflowActionDb(actionId);
  24. %>
  25. <table width="98%" border="0" cellpadding="5" cellspacing="0" class="tableframe">
  26.   <form id="flowForm" name="flowForm" action="flow_doc_archive_save_do.jsp" method="post" onsubmit="return flowForm_onsubmit()" target="_self">
  27.     <tr>
  28.       <td><%
  29.   int doc_id = wf.getDocId();
  30.   com.redmoon.oa.flow.DocumentMgr dm = new com.redmoon.oa.flow.DocumentMgr();
  31.   com.redmoon.oa.flow.Document doc = dm.getDocument(doc_id);
  32.   Render rd = new Render(request, wf, doc);
  33.   out.print(rd.report());
  34. %>      </td>
  35.     </tr>
  36.   </form>
  37. </table>