DocProcess_Search.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. <%
  5. Session m_session = new Session(session);
  6. Request m_request = new Request(request);
  7. int iSysDirID = m_request.GetInt("SysDirID");
  8. %>
  9. <html>
  10.   <head>
  11.     <meta http-equiv="Content-Type" content="text/html; charset=gb2312"><meta http-equiv="pragma" content="no-cache">
  12.     <title>公文处理列表搜索管理-- GForce OA 2.0</title>
  13.     <link href="/css/txt.jsp" rel="stylesheet" type="text/css">
  14.     <script language="JavaScript" src="/js/changestyle.js"></script>
  15.     <SCRIPT language="JavaScript" src="/Calendar/PopUpCalendarDlg.js"></SCRIPT>
  16.     <script language="javascript">
  17.     function checktempletsearch(objform)
  18.     {
  19.       with(objform)
  20.       {
  21.         if(BuildTimeFrom.value!="")
  22.         {
  23.           if(!isDate(BuildTimeFrom.value))
  24.           {
  25.             alert("日期格式错误,请参照“2002-02-18”格式重新输入!");
  26.             BuildTimeFrom.focus();
  27.             return false;
  28.           }
  29.         }
  30.         if(BuildTimeTo.value!="")
  31.         {
  32.           if(!isDate(BuildTimeTo.value))
  33.           {
  34.             alert("日期格式错误,请参照“2002-02-18”格式重新输入!");
  35.             BuildTimeTo.focus();
  36.             return false;
  37.           }
  38.         }
  39.         if(BuildTimeFrom.value!="" && BuildTimeTo.value!="" && BuildTimeFrom.value>BuildTimeTo.value)
  40.         {
  41.           alert("开始日期不能大于结束日期!");
  42.           BuildTimeFrom.focus();
  43.           return false;
  44.         }
  45.       }
  46.     }
  47.     </script>
  48.   </head>
  49.   <body bgcolor="<%=m_session.GetString("BackColor")%>" leftmargin="0" topmargin="0">
  50.      <table width="100%" height="100%" border="0" align="center" cellspacing="0">
  51.     <tr>
  52.     <td align="center" valign="top">
  53.       <table width="100%" border="0" cellpadding="0" cellspacing="0">
  54.         <tr>
  55.           <td height="50" valign="top" background="../images/dy-back.gif">
  56.             <table width="100%" border="0" cellpadding="0" cellspacing="0">
  57.               <tr valign="middle">
  58.                 <td width="61" align="center" height="20"><img src="../images/dy-01.gif" width="38" height="36"></td>
  59.                 <td width="118" nowrap="nowrap" valign="middle"><strong><font color="#000000">待办公文搜索</font></strong></td>
  60.                 <td align="right" nowrap="nowrap" valign="bottom">&nbsp;
  61.                    <!-- 群增<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;-->
  62.                  <!--<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;-->
  63.                   <!-- 修改<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;-->
  64.                   <!-- 删除<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;-->
  65.                   <!-- 查看<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;-->
  66.                   <!-- 组合查询<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;-->
  67.                 </td>
  68.               </tr>
  69.             </table>
  70.           </td>
  71.         </tr>
  72.       </table>
  73.     <table width="100%" height="100%" border="0" align="center" cellspacing="0">
  74.       <tr>
  75.         <td align="center" valign="top"><p>&nbsp</p>
  76.           <form action="DocumentProcessManage.jsp?SysDirID=<%=iSysDirID%>" method="post" name="DocProcess_Search" onsubmit="return checktempletsearch(this)">
  77.               <table width="90%" border="1" cellpadding="1" cellspacing="1" style="">
  78.               <tr>
  79.                 <td align="right" width="17%">公文名称:&nbsp;</td>
  80.                 <td align="left" width="81%">&nbsp;&nbsp;<input type="text" name="DocumentName" size="35"></td>
  81.               </tr>
  82.               <tr>
  83.                 <td align="right" width="17%">生成时间:&nbsp;</td>
  84.                 <td align="left" width="81%">
  85.                   &nbsp;&nbsp;从&nbsp;<input type="text" name="BuildTimeFrom" size="12" onFocus="JavaScript:this.value=fPopUpCalendarDlg(this.value);" onDblClick="JavaScript:this.value=fPopUpCalendarDlg(this.value);">&nbsp;到&nbsp;<input type="text" name="BuildTimeTo" size="12"  onFocus="JavaScript:this.value=fPopUpCalendarDlg(this.value);" onDblClick="JavaScript:this.value=fPopUpCalendarDlg(this.value);"></td>
  86.               </tr>
  87.               <tr>
  88.                 <td align="right" width="17%">生成用户姓名:&nbsp;</td>
  89.                 <td align="left" width="81%">&nbsp;&nbsp;<input type="text" name="BuildUserName" size="28"></td>
  90.               </tr>
  91.               <tr>
  92.                 <td align="right" width="17%">填表用户姓名:&nbsp;</td>
  93.                 <td align="left" width="81%">&nbsp;&nbsp;<input type="text" name="FillUserName" size="28"></td>
  94.               </tr>
  95.               <tr>
  96.                 <td align="right" width="17%">当前环节名称:&nbsp;</td>
  97.                 <td align="left" width="81%">&nbsp;&nbsp;<input type="text" name="TacheName" size="28"></td>
  98.               </tr>
  99.               <tr>
  100.                 <th align="center" valign="top" colspan="2">
  101.                   <input type="submit" value="搜 索" name="Search" style="background-color: #FFFFFF; border: 1 solid #000000">&nbsp;&nbsp;&nbsp;
  102.                   <input type="reset" value="重 置" name="Reset" style="background-color: #FFFFFF; border: 1 solid #000000">&nbsp;&nbsp;&nbsp;
  103.                   <input type="button" value="返 回" name="B2" onclick="javascript:self.location='DocumentProcessManage.jsp?SysDirID=<%=iSysDirID%>'" style="background-color: #FFFFFF; border: 1 solid #000000">
  104.                 </th>
  105.               </tr>
  106.             </table>
  107.           </form>
  108.         </td>
  109.       </tr>
  110.     </table>
  111.   </body>
  112. </html>