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