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

Jsp/Servlet

开发平台:

Java

  1. <%@ page contentType="text/html;charset=utf-8"%>
  2. <%@ page import = "java.net.URLEncoder"%>
  3. <%@ page import = "java.util.*"%>
  4. <%@ page import = "com.redmoon.oa.flow.*"%>
  5. <%@ page import="cn.js.fan.util.*"%>
  6. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  7. <html>
  8. <head>
  9. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  10. <title>修改流程</title>
  11. <link href="common.css" rel="stylesheet" type="text/css">
  12. <%@ include file="inc/nocache.jsp"%>
  13. <script language="JavaScript" type="text/JavaScript">
  14. <!--
  15. function MM_preloadImages() { //v3.0
  16.   var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
  17.     var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
  18.     if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
  19. }
  20. //-->
  21. </script>
  22. <style type="text/css">
  23. <!--
  24. .style2 {font-size: 14px}
  25. -->
  26. </style>
  27. </head>
  28. <body background="" leftmargin="0" topmargin="5" marginwidth="0" marginheight="0">
  29. <jsp:useBean id="fchar" scope="page" class="cn.js.fan.util.StrUtil"/>
  30. <jsp:useBean id="privilege" scope="page" class="com.redmoon.oa.pvg.Privilege"/>
  31. <%
  32. String priv="read";
  33. if (!privilege.isUserPrivValid(request, priv))
  34. {
  35. out.println(cn.js.fan.web.SkinUtil.makeErrMsg(request, cn.js.fan.web.SkinUtil.LoadString(request, "pvg_invalid")));
  36. return;
  37. }
  38. int flow_id = ParamUtil.getInt(request, "flowId");
  39. WorkflowMgr wfm = new WorkflowMgr();
  40. WorkflowDb wf = wfm.getWorkflowDb(flow_id);
  41. %>
  42. <table width="494" height="89" border="0" align="center" cellpadding="0" cellspacing="0" class="tableframe">
  43.   <tr> 
  44.     <td height="23" class="right-title">&nbsp;  修改流程名称</td>
  45.   </tr>
  46.   <tr> 
  47.     <td valign="top">
  48. <table width="100%"  border="0" cellspacing="0" cellpadding="0">
  49. <form id=form1 name="form1" action="flow_modify1_do.jsp" method=post>
  50.       <tr>
  51.         <td height="100" align="center" class="p14"><table width="63%" height="81"  border="0" cellpadding="0" cellspacing="0" class="p14">
  52.             <tr>
  53.               <td class="p14">
  54.    流程类型
  55. <%
  56. Leaf lf = new Leaf();
  57. lf = lf.getLeaf(wf.getTypeCode());
  58. %>
  59. <%=lf.getName()%>
  60. <input type="hidden" name="typeCode" value="<%=wf.getTypeCode()%>">
  61. <input type=hidden name=flowId value="<%=flow_id%>"> </td>
  62.             </tr>
  63.             <tr>
  64.               <td class="p14">流程名称:
  65.                 <input type="text" name="title" value="<%=wf.getTitle()%>" style="width:200px"></td>
  66.             </tr>
  67.           </table>
  68.           <br>          </td>
  69.       </tr>
  70.       <tr>
  71.         <td height="30" align="center"><input type="button" value=" 后 退 " onClick="window.location.href='flow_modify.jsp?flowId=<%=flow_id%>'"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  72.         <input type="submit" name="next" value=" 确 定 ">          </td>
  73.       </tr></form>
  74.     </table></td>
  75.   </tr>
  76. </table>
  77. <br>
  78. <br>
  79. </body>
  80. </html>