flow_doc_archive_content.jsp
资源名称:JSP-OA.rar [点击查看]
上传用户:jhtang88
上传日期:2014-01-27
资源大小:28528k
文件大小:1k
源码类别:
Jsp/Servlet
开发平台:
Java
- <%@ page contentType="text/html; charset=utf-8" %>
- <%@ page import="cn.js.fan.module.cms.*"%>
- <%@ page import="cn.js.fan.util.*"%>
- <%@ page import="com.redmoon.oa.flow.WorkflowPredefineDb"%>
- <%@ page import="com.redmoon.oa.flow.WorkflowDb"%>
- <%@ page import="com.redmoon.oa.flow.Render"%>
- <%@ page import="com.redmoon.oa.flow.WorkflowMgr"%>
- <%@ page import="com.redmoon.oa.flow.WorkflowActionDb"%>
- <%@ page import="com.redmoon.oa.fileark.DirView"%>
- <script src="inc/flow_dispose_js.jsp"></script>
- <script>
- function getFormReportContent() {
- return formDiv.innerHTML;
- }
- </script>
- <jsp:useBean id="privilege" scope="page" class="com.redmoon.oa.pvg.Privilege"/>
- <%
- int flowId = ParamUtil.getInt(request, "flowId");
- int actionId = ParamUtil.getInt(request, "actionId");
- WorkflowMgr wfm = new WorkflowMgr();
- WorkflowDb wf = wfm.getWorkflowDb(flowId);
- WorkflowActionDb wa = new WorkflowActionDb();
- wa = wa.getWorkflowActionDb(actionId);
- %>
- <table width="98%" border="0" cellpadding="5" cellspacing="0" class="tableframe">
- <form id="flowForm" name="flowForm" action="flow_doc_archive_save_do.jsp" method="post" onsubmit="return flowForm_onsubmit()" target="_self">
- <tr>
- <td><%
- int doc_id = wf.getDocId();
- com.redmoon.oa.flow.DocumentMgr dm = new com.redmoon.oa.flow.DocumentMgr();
- com.redmoon.oa.flow.Document doc = dm.getDocument(doc_id);
- Render rd = new Render(request, wf, doc);
- out.print(rd.report());
- %> </td>
- </tr>
- </form>
- </table>