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

Jsp/Servlet

开发平台:

Java

  1. <%@ page contentType="text/html; charset=utf-8"%>
  2. <%@ page import="java.util.*"%>
  3. <%@ page import="cn.js.fan.util.*"%>
  4. <%@ page import="cn.js.fan.db.*"%>
  5. <%@ page import="com.redmoon.oa.person.*"%>
  6. <%@ page import="com.redmoon.oa.flow.*"%>
  7. <%@ page import="com.redmoon.oa.dept.*"%>
  8. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  9. <html>
  10. <head>
  11. <title>工作流管理</title>
  12. <link href="../common.css" rel="stylesheet" type="text/css">
  13. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  14. <style type="text/css">
  15. <!--
  16. .style4 {
  17. color: #FFFFFF;
  18. font-weight: bold;
  19. }
  20. -->
  21. </style>
  22. </head>
  23. <body bgcolor="#FFFFFF" text="#000000">
  24. <jsp:useBean id="docmanager" scope="page" class="cn.js.fan.module.cms.DocumentMgr"/>
  25. <jsp:useBean id="privilege" scope="page" class="com.redmoon.oa.pvg.Privilege"/>
  26. <%
  27. String priv="read";
  28. if (!privilege.isUserPrivValid(request,priv))
  29. {
  30. out.println(cn.js.fan.web.SkinUtil.makeErrMsg(request, cn.js.fan.web.SkinUtil.LoadString(request, "pvg_invalid")));
  31. return;
  32. }
  33. %>
  34. <table width="100%" height="68" cellPadding="0" cellSpacing="0">
  35.   <tbody>
  36.     <tr>
  37.       <td height="28" class="right-title">&nbsp;工作流序列号种类选择</td>
  38.     </tr>
  39.     <tr>
  40.       <td height="42" align="center" bgcolor="#FFFFFF" class="head"><%
  41. WorkflowSequenceDb wsd = new WorkflowSequenceDb();
  42. java.util.Iterator ir = wsd.list().iterator();
  43. String opts = "";
  44. while (ir.hasNext()) {
  45. wsd = (WorkflowSequenceDb)ir.next();
  46. opts += "<option value='" + wsd.getId() + "'>" + wsd.getName() + "</option>";
  47. }
  48. %>
  49. <select name="sel" style="width:200px">
  50. <%=opts%>
  51. </select>
  52. &nbsp;&nbsp;<input type="button" value="确定" onClick="doSel()"></td>
  53.     </tr>
  54.   </tbody>
  55. </table>
  56. </body>
  57. <script language="javascript">
  58. <!--
  59. function doSel() {
  60. window.opener.setSequence(sel.options[sel.selectedIndex].value, sel.options[sel.selectedIndex].text);
  61. window.close();
  62. }
  63. //-->
  64. </script>
  65. </html>