AddFlowTacheInfo.jsp
资源名称:OA.rar [点击查看]
上传用户:mingda
上传日期:2017-06-20
资源大小:27691k
文件大小:11k
源码类别:
OA系统
开发平台:
Java
- <%@ page contentType="text/html; charset=gb2312"%>
- <%@ page import="com.gforce.gfoa.*,com.gforce.currency.*,java.util.*" %>
- <jsp:include page="/CheckLogin.jsp" flush="true"/> <% Session m_session = new Session(session); %>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312"><meta http-equiv="pragma" content="no-cache">
- <title>流程环节信息管理-- GForce OA 2.0</title>
- <link href="../css/txt.jsp" rel="stylesheet" type="text/css">
- <script language="JavaScript" src="/js/changestyle.js"></script>
- <script language="JavaScript" type="text/javascript">
- function checkAddFields()
- {
- if(document.AddFlowTacheInfo.TacheName.value=="")
- {
- alert("请输入环节名称!");
- document.AddFlowTacheInfo.TacheName.focus();
- return false;
- }
- }
- </script>
- </head>
- <body bgcolor="<%=m_session.GetString("BackColor")%>" leftmargin="0" topmargin="0" onload="document.AddFlowTacheInfo.TacheName.focus();">
- <table width="100%" height="100%" border="0" align="center" cellspacing="0">
- <tr>
- <td align="center" valign="top"><p> </p>
- <%
- int intUserID = m_session.GetInt("UserID");
- Request m_request = new Request(request);
- String strIp = request.getRemoteAddr();
- int iSysDirID = m_request.GetInt("SysDirID");
- int intMoveFlowID = m_request.GetInt("MoveFlowID");
- String startmark = m_request.GetString("mark");
- Vector MoveFlow_vt = MoveFlowTempletManager.getRecordByID(intMoveFlowID);
- %>
- <table width="90%" border="0" align="center" cellspacing="0">
- <tr>
- <td width="30%">
- </td>
- <td align="left">
- <font color="#000000"><strong>《<%=((Vector)MoveFlow_vt.get(0)).get(1).toString()%>》环节新增</strong></font>
- </td>
- </tr>
- <tr>
- <td>
-
- </td>
- </tr>
- </table>
- <form name="AddFlowTacheInfo" action="AddFlowTacheInfoAction.jsp?MoveFlowID=<%=intMoveFlowID%>" method="post" onSubmit="javascript:return checkAddFields();">
- <table border="1" cellpadding="0" cellspacing="3" width="90%">
- <tr>
- <td nowrap="nowrap" width="17%" align="center" valign="middle"><font color="#0A0A0A">流程环节名称:</font></td>
- <td colspan="3" align="left" valign="middle" nowrap> <input name="TacheName" type="text" maxlength="300" size="48"></td>
- </tr>
- <tr>
- <td nowrap="nowrap" width="17%" align="center" valign="middle"><font color="#0A0A0A">环节位置属性:</font></td>
- <td colspan="3" align="left" valign="middle" nowrap>
- <select name="TacheStatus" onChange="if(this.options[this.selectedIndex].value=='S'){document.AddFlowTacheInfo.FromTacheID.selectedIndex=0;document.AddFlowTacheInfo.FromTacheID.disabled=true;}else{document.AddFlowTacheInfo.FromTacheID.disabled=false;}">
- <%
- if (startmark.equalsIgnoreCase("T"))
- {}
- else
- out.println("<option value='S'>起始环节</option>");
- out.println("<option value='M' selected>中间环节</option>");
- out.println("<option value='E'>结束环节</option>");
- %>
- </select>
- </td>
- </tr>
- <tr>
- <td nowrap="nowrap" width="17%" align="center" valign="middle"><font color="#0A0A0A">上级环节名称:</font></td>
- <td colspan="3" align="left" valign="middle" nowrap>
- <%
- Vector vt = FlowTacheInfoManager.getRecordBySearch("","","","","","","",intMoveFlowID+"","","","","","","","","","","");
- if (vt.size() < 1)
- out.println(" <select name='FromTacheID' disabled><option value='' selected>无</option></select>");
- else
- {
- out.println(" <select name='FromTacheID'><option value=''>无</option>");
- for (int i=0;i<vt.size();i++)
- {
- if (!(((Vector)vt.get(i)).get(3).toString().equalsIgnoreCase("E")))
- out.println("<option value="+ ((Vector)vt.get(i)).get(0).toString() + ">" + ((Vector)vt.get(i)).get(1).toString() + "</option><");
- }
- out.println("</select>");
- }
- %>
- </td>
- </tr>
- <tr>
- <td nowrap="nowrap" width="17%" align="center" valign="middle"><font color="#0A0A0A">审批用户姓名:</font></td>
- <td colspan="3" align="left" valign="middle" nowrap>
- <textarea name="ApproveUserNames" cols="40" rows="4" readonly="true" onDblClick="GetUserIDAndNames(document.AddFlowTacheInfo.ApproveUserIDs,this);"></textarea>
- <input name="ApproveUserIDs" type="hidden" value="">
- <a href="" onclick="GetUserIDAndNames(document.AddFlowTacheInfo.ApproveUserIDs,document.AddFlowTacheInfo.ApproveUserNames);return false;" title="选择用户"><img src="/images/couple.gif" border="0"></a>
- </td>
- </tr>
- <tr>
- <td nowrap="nowrap" width="17%" align="center" valign="middle"><font color="#0A0A0A">环节审批类型:</font></td>
- <td colspan="3" align="left" valign="middle" nowrap>
- <select name="TacheType">
- <option value="Q">抢签</option>
- <option value="H" selected>会签</option>
- </select>
- <input name="FlowID" type="hidden" Value="<%=intMoveFlowID%>">
- <input name="UpdateUserID" type="hidden" Value="<%=intUserID%>">
- <%java.util.Date t_Date = new java.util.Date();%>
- <input name="UpdateTime" type="hidden" Value="<%=StringNew.GetDateString(t_Date,"yyyy-MM-dd HH:mm:ss")%>">
- <input name="UpdateFromIP" type="hidden" Value="<%=strIp%>">
- </td>
- </tr>
- <tr>
- <td nowrap="nowrap" width="17%" align="center" valign="middle"><font color="#0A0A0A">查阅信息处理:</font></td> </div></td>
- <td colspan="3" align="left" valign="middle" nowrap>
- <input name="IsRecordRead" type="radio" value="1">
- 记录所有查阅信息
- <input type="radio" name="IsRecordRead" value="0" checked>不记录查阅信息
- </td>
- </tr>
- <tr>
- <td nowrap="nowrap" width="17%" align="center" valign="middle"><font color="#0A0A0A">提醒时间间隔:</font></td>
- <td colspan="3" align="left" valign="middle" nowrap>
- <select name="RemindInterval">
- <option value=0>不提醒</option>
- <option value=5>5分钟</option>
- <option value=10>10分钟</option>
- <option value=30>半小时</option>
- <option value=60>一小时</option>
- <option value=120>二小时</option>
- <option value=300>五小时</option>
- <option value=1440>一天</option>
- <option value=2880>二天</option>
- </select></td>
- </tr>
- <tr>
- <td nowrap="nowrap" width="17%" align="center" valign="middle"><font color="#0A0A0A">最大停留时间:</font></td>
- <td colspan="3" align="left" valign="middle" nowrap>
- <select name="MaxWaitTime">
- <option value=0>无限</option>
- <option value=60>一小时</option>
- <option value=120>二小时</option>
- <option value=300>五小时</option>
- <option value=1440>一天</option>
- <option value=2880>二天</option>
- <option value=7200>五天</option>
- <option value=14400>十天</option>
- <option value=21600>半个月</option>
- <option value=43200>一个月</option>
- </select>
- </td>
- </tr>
- <tr>
- <td nowrap="nowrap" width="17%" align="center" valign="middle"><font color="#0A0A0A">流程环节描述:</font></td>
- <td colspan="3" align="left" valign="middle" nowrap> <textarea name="TacheDescription" cols="60" rows="4"></textarea></td>
- </tr>
- <tr>
- <td width="17%" align="center" valign="middle"><font color="#0A0A0A">流程环节类型:</font></td>
- <td colspan="3" align="left" valign="middle" nowrap>
- <input name="IsFromDefault" type="radio" value="1" checked>
- 默认环节
- <input type="radio" name="IsFromDefault" value="0">非默认环节
- </td>
- </tr>
- <tr>
- <td width="17%" align="center" valign="middle"><font color="#0A0A0A">环节查阅处理:</font></td>
- <td colspan="3" align="left" valign="middle" nowrap>
- <input name="IsFinishedByRead" type="radio" value="1">
- 查阅后自动完成当前环节
- <input type="radio" name="IsFinishedByRead" value="0" checked>手动完成环节跳转
- </td>
- </tr>
- </table>
- <table width="90%" border="0">
- <tr>
- <td width="40%"> </td><td width="60%"> </td>
- </tr>
- <tr>
- <td width="40%"> </td>
- <td align="left" valign="middle" nowrap>
- <input type="hidden" name="mark" value="<%=startmark%>">
- <input type="submit" value="确定">
- <input type="reset" value="重填">
- <input type="button" value="返回" onclick="window.location='FlowTacheInfoManage.jsp?ID=<%=intMoveFlowID%>';">
- </td>
- </tr>
- </table>
- </form>
- </td>
- </tr>
- </table>
- </body>
- </html>