AddMoveFlowTemplet.jsp
上传用户:mingda
上传日期:2017-06-20
资源大小:27691k
文件大小:6k
源码类别:

OA系统

开发平台:

Java

  1. <%@ page contentType="text/html; charset=gb2312"%>
  2. <%@ page import="com.gforce.gfoa.*,com.gforce.currency.*,java.util.*" %>
  3. <jsp:include page="/CheckLogin.jsp" flush="true"/>
  4. <% Session m_session = new Session(session); %>
  5. <html>
  6. <head>
  7.   <meta http-equiv="Content-Type" content="text/html; charset=gb2312"><meta http-equiv="pragma" content="no-cache">
  8.   <title>流转模板管理 -- GForce OA 2.0</title>
  9.   <link href="../css/txt.jsp" rel="stylesheet" type="text/css">
  10.   <script language="JavaScript" src="/js/changestyle.js"></script>
  11.   <script language="JavaScript" type="text/javascript">
  12.   function checkAddMoveFlowTemplet()
  13.   {
  14.     if(document.AddMoveFlowTemplet.FlowName.value == "")
  15.     {
  16.         alert("请输入流转模板名称!");
  17.         document.AddMoveFlowTemplet.FlowName.focus();
  18.         return false;
  19.     }
  20.   }
  21.   </script>
  22.   <style type="text/css"></style>
  23. </head>
  24. <body bgcolor="<%=m_session.GetString("BackColor")%>" leftmargin="0" topmargin="0" onload="document.AddMoveFlowTemplet.FlowName.focus();">
  25.   <table width="100%" height="100%" border="0" align="center" cellspacing="0">
  26.     <tr>
  27.     <td align="center" valign="top">
  28.       <table width="100%" border="0" cellpadding="0" cellspacing="0">
  29.         <tr>
  30.           <td height="50" valign="top" background="../images/dy-back.gif">
  31.             <table width="100%" border="0" cellpadding="0" cellspacing="0">
  32.               <tr valign="middle">
  33.                 <td width="61" align="center" height="20"><img src="../images/dy-01.gif" width="38" height="36"></td>
  34.                 <td width="118" nowrap="nowrap" valign="middle"><strong><font color="#000000">流转模板管理--新增流转模板</font></strong></td>
  35.                 <td align="right" nowrap="nowrap" valign="bottom">&nbsp;
  36.                    <!-- 群增<img src="../images/MulAdd.gif" onMouseOver="this.src='../images/MulAdd_a.gif';" onMouseOut="this.src='../images/MulAdd.gif';" border="0" height="22" width="59">&nbsp;-->
  37.                  <!--<img src="../images/Single.gif" onMouseOver="this.src='../images/Single_a.gif';" onMouseOut="this.src='../images/Single.gif';" border="0" height="22" width="59">&nbsp;-->
  38.                   <!-- 修改<img src="../images/Update.gif" onMouseOver="this.src='../images/Update_a.gif';" onMouseOut="this.src='../images/Update.gif';" border="0" height="22" width="59">&nbsp;-->
  39.                   <!-- 删除<img src="../images/Del.gif" onMouseOver="this.src='../images/Del_a.gif';" onMouseOut="this.src='../images/Del.gif';" border="0" height="22" width="59">&nbsp;-->
  40.                   <!-- 查看<img src="../images/Query.gif" onMouseOver="this.src='../images/Query_a.gif';" onMouseOut="this.src='../images/Query.gif';" border="0" height="22" width="59">&nbsp;-->
  41.                   <!-- 组合查询<img src="../images/GroupQuery.gif" onMouseOver="this.src='../images/GroupQuery_a.gif';" onMouseOut="this.src='../images/GroupQuery.gif';" border="0" height="22" width="79">&nbsp;-->
  42.                 </td>
  43.               </tr>
  44.             </table>
  45.           </td>
  46.         </tr>
  47.       </table>
  48. <table width="100%" height="100%" border="0" align="center" cellspacing="0">
  49.     <tr>
  50.         <td align="center" valign="top"><p>&nbsp;</p>
  51. <%
  52. Request m_request = new Request(request);
  53. int iUserID = m_session.GetInt("UserID");
  54. %>
  55. <form name="AddMoveFlowTemplet" action="AddMoveFlowTempletAction.jsp" method="post" onSubmit="javascript:return checkAddMoveFlowTemplet();">
  56.   <table border="1" cellpadding="0" cellspacing="4" width="90%">
  57.     <tr>
  58.       <td align="right" valign="middle"><font color="#0A0A0A">流转模板名称:</font></td>
  59.       <td colspan="3" align="left" valign="middle" nowrap>
  60.       &nbsp;<input name="FlowName" type="text" maxlength="60" size="60">
  61.     </tr>
  62.     <tr>
  63.       <td align="right" valign="middle"><font color="#0A0A0A">可写用户姓名:</font></td>
  64.       <td colspan="3" align="left" valign="middle" nowrap>
  65.         &nbsp;<textarea name="WritableUserNames" cols="60" rows="4" readonly="true" ondblclick="GetUserIDAndNames(document.AddMoveFlowTemplet.WritableUserIDs, this);"></textarea>
  66.         <input name="WritableUserIDs" type="hidden" value=""><a href="" onclick="GetUserIDAndNames(document.AddMoveFlowTemplet.WritableUserIDs, document.AddMoveFlowTemplet.WritableUserNames);return false;" title="选择员工名称"><img src="/images/couple.gif" border="0"></a><td align="left" valign="middle" nowrap>
  67.       </td>
  68.     </tr>
  69.     <tr>
  70.       <td align="right" valign="middle"><font color="#0A0A0A">可写部门名称:</font></td>
  71.       <td colspan="3" align="left" valign="middle" nowrap>
  72.         &nbsp;<textarea name="WritableDepartNames" cols="60" rows="4" readonly="true" ondblclick="GetDepartIDAndNames(document.AddMoveFlowTemplet.WritableDepartIDs, this);"></textarea>
  73.         <input name="WritableDepartIDs" type="hidden" value=""><a href="" onclick="GetDepartIDAndNames(document.AddMoveFlowTemplet.WritableDepartIDs, document.AddMoveFlowTemplet.WritableDepartNames);return false;" title="选择部门"><img src="/images/couple.gif" border="0"></a>
  74.       </td>
  75.     </tr>
  76.     <tr>
  77.       <td align="right" valign="middle"><font color="#0A0A0A">流转模板描述:</font></td>
  78.       <td colspan="3" align="left" valign="middle" nowrap>
  79.       &nbsp;<textarea name="FlowContent" cols="60" rows="4"></textarea>
  80.     </tr>
  81.           <table width="90%" border="0" align="center" cellspacing="0">
  82.             <tr>
  83.               <td width="30%">
  84.                 &nbsp;
  85.               </td>
  86.               <td width="70%">
  87.                 &nbsp;
  88.               </td>
  89.             </tr>
  90.     <tr>
  91.       <td  align="right" valign="middle">&nbsp;</td>
  92.       <td  align="left" valign="middle" nowrap>
  93.         <input type="hidden" name="BuildUserID" value="<%=iUserID%>">
  94.           <%java.util.Date t_Date = new java.util.Date();%>
  95.         <input name="BuildTime" type="hidden" value="<%=StringNew.GetDateString(t_Date,"yyyy-MM-dd HH:mm:ss")%>">
  96.         <input type="submit" value="确定">
  97.         &nbsp;&nbsp;&nbsp; <input type="reset" value="重填"> &nbsp;&nbsp;&nbsp;
  98.         <input type="button" value="返回" onclick="window.location='MoveFlowTempletManage.jsp';">
  99.       </td>
  100.     </tr>
  101.           </table>
  102.   </table>
  103. </form>
  104. </table>
  105. </body>
  106. </html>