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

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(UpdateTimeFrom.value!="")
  22.         {
  23.           if(!isDate(UpdateTimeFrom.value))
  24.           {
  25.             alert("日期格式错误,请参照“2002-02-18”格式重新输入!");
  26.             UpdateTimeFrom.focus();
  27.             return false;
  28.           }
  29.         }
  30.         if(UpdateTimeTo.value!="")
  31.         {
  32.           if(!isDate(UpdateTimeTo.value))
  33.           {
  34.             alert("日期格式错误,请参照“2002-02-18”格式重新输入!");
  35.             UpdateTimeTo.focus();
  36.             return false;
  37.           }
  38.         }
  39.         if(UpdateTimeFrom.value!="" && UpdateTimeTo.value!="" && UpdateTimeFrom.value>UpdateTimeTo.value)
  40.         {
  41.           alert("开始日期不能大于结束日期!");
  42.           UpdateTimeFrom.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> </p>
  76.           <form action="DraftDocument.jsp?SysDirID=<%=iSysDirID%>" method="post" name="DTMF_Draft_Search" onsubmit="return checktempletsearch(this)">
  77.               <tr>
  78.                 <td align="right" width="17%">
  79.                   公文模板名称:&nbsp;
  80.                 </td>
  81.                 <td align="left" width="81%">
  82.                 &nbsp;&nbsp;<input type="text" name="DocTempletName" size="42"></td>
  83.               </tr>
  84.               <tr>
  85.                 <td align="right" width="17%">
  86.                   流转模板名称:&nbsp;
  87.                 </td>
  88.                 <td align="left" width="81%">
  89.                 &nbsp;&nbsp;<input type="text" name="MoveFlowName" size="42"></td>
  90.               </tr>
  91.               <tr>
  92.                 <td align="right" width="17%">
  93.                   更新日期:&nbsp;</td>
  94.                 <td align="left" width="81%">
  95.                   &nbsp;&nbsp;从&nbsp;<input type="text" name="UpdateTimeFrom" size="12" onFocus="JavaScript:this.value=fPopUpCalendarDlg(this.value);" onDblClick="JavaScript:this.value=fPopUpCalendarDlg(this.value);">&nbsp;到&nbsp;<input type="text" name="UpdateTimeTo" size="12"  onFocus="JavaScript:this.value=fPopUpCalendarDlg(this.value);" onDblClick="JavaScript:this.value=fPopUpCalendarDlg(this.value);"></td>
  96.               </tr>
  97.                           <tr>
  98.                             <td align="right" width="17%">
  99.                   可写用户姓名:&nbsp;</td>
  100.                 <td align="left" width="81%">
  101.                 &nbsp;&nbsp;<textarea name="WritableUserNames" cols="42" rows="3" readonly="true" ondblclick="GetUserIDAndNames(document.DTMF_Draft_Search.WritableUserIDs, this);"></textarea>
  102.                 <input name="WritableUserIDs" type="hidden" value=""><a href="" onclick="GetUserIDAndNames(document.DTMF_Draft_Search.WritableUserIDs, document.DTMF_Draft_Search.WritableUserNames);return false;" title="选择员工名称"><img src="/images/couple.gif" border="0"></a>
  103.                                 </td>
  104.                           </tr>
  105.                           <tr>
  106.                             <td align="right" width="17%">
  107.                   可写部门名称:&nbsp;</td>
  108.                 <td align="left" width="81%">
  109.                                 &nbsp;&nbsp;<textarea name="WritableDepartNames" cols="42" rows="3" readonly="true" ondblclick="GetDepartIDAndNames(document.DTMF_Draft_Search.WritableDepartIDs, this);"></textarea>
  110.                                 <input name="WritableDepartIDs" type="hidden" value=""><a href="" onclick="GetDepartIDAndNames(document.DTMF_Draft_Search.WritableDepartIDs, document.DTMF_Draft_Search.WritableDepartNames);return false;" title="选择部门"><img src="/images/couple.gif" border="0"></a>
  111.                                 </td>
  112.                           </tr>
  113.                           <tr>
  114.                             <td align="right" width="17%">
  115.                   只读用户姓名:&nbsp;</td>
  116.                 <td align="left" width="81%">
  117.                 &nbsp;&nbsp;<textarea name="ReadOnlyUserNames" cols="42" rows="3" readonly="true" ondblclick="GetUserIDAndNames(document.DTMF_Draft_Search.ReadOnlyUserIDs, this);"></textarea>
  118.                 <input name="ReadOnlyUserIDs" type="hidden" value=""><a href="" onclick="GetUserIDAndNames(document.DTMF_Draft_Search.ReadOnlyUserIDs, document.DTMF_Draft_Search.ReadOnlyUserNames);return false;" title="选择员工名称"><img src="/images/couple.gif" border="0"></a>
  119.                                 </td>
  120.                           </tr>
  121.                           <tr>
  122.                             <td align="right" width="17%">
  123.                   只读部门名称:&nbsp;</td>
  124.                 <td align="left" width="81%">
  125.                                 &nbsp;&nbsp;<textarea name="ReadOnlyDepartNames" cols="42" rows="3" readonly="true" ondblclick="GetDepartIDAndNames(document.DTMF_Draft_Search.ReadOnlyDepartIDs, this);"></textarea>
  126.                                 <input name="ReadOnlyDepartIDs" type="hidden" value=""><a href="" onclick="GetDepartIDAndNames(document.DTMF_Draft_Search.ReadOnlyDepartIDs, document.DTMF_Draft_Search.ReadOnlyDepartNames);return false;" title="选择部门"><img src="/images/couple.gif" border="0"></a>
  127.                                 </td>
  128.                           </tr>
  129.               <tr>
  130.                 <th align="center" valign="top" colspan="2">
  131.                   <input type="submit" value="搜 索" name="Search" style="background-color: #FFFFFF; border: 1 solid #000000">&nbsp;&nbsp;&nbsp;
  132.                                           <input type="reset" value="重 置" name="Reset" style="background-color: #FFFFFF; border: 1 solid #000000">&nbsp;&nbsp;&nbsp;
  133.                                           <input type="button" value="返 回" name="B2" onclick="javascript:self.location='DraftDocument.jsp?SysDirID=<%=iSysDirID%>'" style="background-color: #FFFFFF; border: 1 solid #000000">
  134.                                         </th>
  135.               </tr>
  136.             </table>
  137.           </form>
  138.         </td>
  139.       </tr>
  140.     </table>
  141.   </body>
  142. </html>