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

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="DocTempletMoveFlowManage.jsp?SysDirID=<%=iSysDirID%>" method="post" name="DTMF_Manage_Search" onsubmit="return checktempletsearch(this)">
  77.             <table width="90%" border="1" cellpadding="3" cellspacing="0" bordercolordark="#ffffff" bordercolorlight="#0a0a0a" style="">
  78.               <tr>
  79.                 <td align="left" width="17%">
  80.                   公文流转模板名称:
  81.                 </td>
  82.                 <td align="left" width="81%">
  83.                 <input type="text" name="Name" size="28"></td>
  84.               </tr>
  85.               <tr>
  86.                 <td align="left" width="17%">
  87.                   公文模板名称:
  88.                 </td>
  89.                 <td align="left" width="81%">
  90.                 <input type="text" name="DocTempletName" size="28"></td>
  91.               </tr>
  92.               <tr>
  93.                 <td align="left" width="17%">
  94.                   流转模板名称:
  95.                 </td>
  96.                 <td align="left" width="81%">
  97.                 <input type="text" name="MoveFlowName" size="28"></td>
  98.               </tr>
  99.               <tr>
  100.                 <td align="left" width="17%">
  101.                   更新日期:</td>
  102.                 <td align="left" width="81%">
  103.                   从<input type="text" name="UpdateTimeFrom" size="12" onFocus="JavaScript:this.value=fPopUpCalendarDlg(this.value);" onDblClick="JavaScript:this.value=fPopUpCalendarDlg(this.value);">到<input type="text" name="UpdateTimeTo" size="12"  onFocus="JavaScript:this.value=fPopUpCalendarDlg(this.value);" onDblClick="JavaScript:this.value=fPopUpCalendarDlg(this.value);"></td>
  104.               </tr>
  105.         <tr>
  106.           <td align="left" width="17%">
  107.                   可写用户姓名:</td>
  108.                 <td align="left" width="81%">
  109.                 <textarea name="WritableUserNames" cols="30" rows="3" readonly="true" ondblclick="GetUserIDAndNames(document.DTMF_Manage_Search.WritableUserIDs, this);"></textarea>
  110.                 <input name="WritableUserIDs" type="hidden" value=""><a href="" onclick="GetUserIDAndNames(document.DTMF_Manage_Search.WritableUserIDs, document.DTMF_Manage_Search.WritableUserNames);return false;" title="选择员工名称"><img src="/images/couple.gif" border="0"></a>
  111.         </td>
  112.         </tr>
  113.         <tr>
  114.           <td align="left" width="17%">
  115.                   可写部门名称:</td>
  116.                 <td align="left" width="81%">
  117.         <textarea name="WritableDepartNames" cols="30" rows="3" readonly="true" ondblclick="GetDepartIDAndNames(document.DTMF_Manage_Search.WritableDepartIDs, this);"></textarea>
  118.         <input name="WritableDepartIDs" type="hidden" value=""><a href="" onclick="GetDepartIDAndNames(document.DTMF_Manage_Search.WritableDepartIDs, document.DTMF_Manage_Search.WritableDepartNames);return false;" title="选择部门"><img src="/images/couple.gif" border="0"></a>
  119.         </td>
  120.         </tr>
  121.         <tr>
  122.           <td align="left" width="17%">
  123.                   只读用户姓名:</td>
  124.                 <td align="left" width="81%">
  125.                 <textarea name="ReadOnlyUserNames" cols="30" rows="3" readonly="true" ondblclick="GetUserIDAndNames(document.DTMF_Manage_Search.ReadOnlyUserIDs, this);"></textarea>
  126.                 <input name="ReadOnlyUserIDs" type="hidden" value=""><a href="" onclick="GetUserIDAndNames(document.DTMF_Manage_Search.ReadOnlyUserIDs, document.DTMF_Manage_Search.ReadOnlyUserNames);return false;" title="选择员工名称"><img src="/images/couple.gif" border="0"></a>
  127.         </td>
  128.         </tr>
  129.         <tr>
  130.           <td align="left" width="17%">
  131.                   只读部门名称:</td>
  132.                 <td align="left" width="81%">
  133.         <textarea name="ReadOnlyDepartNames" cols="30" rows="3" readonly="true" ondblclick="GetDepartIDAndNames(document.DTMF_Manage_Search.ReadOnlyDepartIDs, this);"></textarea>
  134.         <input name="ReadOnlyDepartIDs" type="hidden" value=""><a href="" onclick="GetDepartIDAndNames(document.DTMF_Manage_Search.ReadOnlyDepartIDs, document.DTMF_Manage_Search.ReadOnlyDepartNames);return false;" title="选择部门"><img src="/images/couple.gif" border="0"></a>
  135.         </td>
  136.         </tr>
  137.               <tr>
  138.                 <th align="center" valign="top" colspan="2">
  139.                   <input type="submit" value="搜索" name="Search">
  140.                   <input type="reset" value="重置" name="Reset">
  141.                   <input type="button" value="返回" name="B2" onclick="javascript:self.location='DocTempletMoveFlowManage.jsp?SysDirID=<%=iSysDirID%>'">
  142.                 </th>
  143.               </tr>
  144.             </table>
  145.           </form>
  146.         </td>
  147.       </tr>
  148.     </table>
  149.   </body>
  150. </html>