DTMF_Config_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. int iconfigID = m_request.GetInt("configID");
  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 checktempletsearch(objform)
  19.     {
  20.       with(objform)
  21.       {
  22.         if(UpdateTimeFrom.value!="")
  23.         {
  24.           if(!isDate(UpdateTimeFrom.value))
  25.           {
  26.             alert("日期格式错误,请参照“2002-02-18”格式重新输入!");
  27.             UpdateTimeFrom.focus();
  28.             return false;
  29.           }
  30.         }
  31.         if(UpdateTimeTo.value!="")
  32.         {
  33.           if(!isDate(UpdateTimeTo.value))
  34.           {
  35.             alert("日期格式错误,请参照“2002-02-18”格式重新输入!");
  36.             UpdateTimeTo.focus();
  37.             return false;
  38.           }
  39.         }
  40.         if(UpdateTimeFrom.value!="" && UpdateTimeTo.value!="" && UpdateTimeFrom.value>UpdateTimeTo.value)
  41.         {
  42.           alert("开始日期不能大于结束日期!");
  43.           UpdateTimeFrom.focus();
  44.           return false;
  45.         }
  46.       }
  47.     }
  48.     </script>
  49.   </head>
  50.   <body bgcolor="<%=m_session.GetString("BackColor")%>" leftmargin="0" topmargin="0">
  51.     <table width="100%" height="100%" border="0" align="center" cellspacing="0">
  52.     <tr>
  53.     <td align="center" valign="top">
  54.       <table width="100%" border="0" cellpadding="0" cellspacing="0">
  55.         <tr>
  56.           <td height="50" valign="top" background="../images/dy-back.gif">
  57.             <table width="100%" border="0" cellpadding="0" cellspacing="0">
  58.               <tr valign="middle">
  59.                 <td width="61" align="center" height="20"><img src="../images/dy-01.gif" width="38" height="36"></td>
  60.                 <td width="118" nowrap="nowrap" valign="middle"><strong><font color="#000000">模板配置搜索</font></strong></td>
  61.                 <td align="right" nowrap="nowrap" valign="bottom">&nbsp;
  62.                    <!-- 群增<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;-->
  63.                  <!--<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;-->
  64.                   <!-- 修改<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;-->
  65.                   <!-- 删除<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;-->
  66.                   <!-- 查看<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;-->
  67.                   <!-- 组合查询<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;-->
  68.                 </td>
  69.               </tr>
  70.             </table>
  71.           </td>
  72.         </tr>
  73.       </table>
  74.     <table width="100%" height="100%" border="0" align="center" cellspacing="0">
  75.       <tr>
  76.         <td align="center" valign="top"><p> </p>
  77.           <form action="DocTempletMoveFlowConfig.jsp?SysDirID=<%=iSysDirID%>&configID=<%=iconfigID%>" method="post" name="DTMF_Config_Search" onsubmit="return checktempletsearch(this)">
  78.             <table width="90%" border="1" cellpadding="3" cellspacing="0" bordercolordark="#ffffff" bordercolorlight="#0a0a0a" style="">
  79.               <tr>
  80.                 <td align="left" width="17%">
  81.                   公文流转模板名称:
  82.                 </td>
  83.                 <td align="left" width="81%">
  84.                 <input type="text" name="Name" size="28"></td>
  85.               </tr>
  86.               <tr>
  87.                 <td align="left" width="17%">
  88.                   公文模板名称:
  89.                 </td>
  90.                 <td align="left" width="81%">
  91.                 <input type="text" name="DocTempletName" size="28"></td>
  92.               </tr>
  93.               <tr>
  94.                 <td align="left" width="17%">
  95.                   流转模板名称:
  96.                 </td>
  97.                 <td align="left" width="81%">
  98.                 <input type="text" name="MoveFlowName" size="28"></td>
  99.               </tr>
  100.               <tr>
  101.                 <td align="left" width="17%">
  102.                   更新日期:</td>
  103.                 <td align="left" width="81%">
  104.                   从<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>
  105.               </tr>
  106.         <tr>
  107.           <td align="left" width="17%">
  108.                   可写用户姓名:</td>
  109.                 <td align="left" width="81%">
  110.                 <textarea name="WritableUserNames" cols="30" rows="3" readonly="true" ondblclick="GetUserIDAndNames(document.DTMF_Config_Search.WritableUserIDs, this);"></textarea>
  111.                 <input name="WritableUserIDs" type="hidden" value=""><a href="" onclick="GetUserIDAndNames(document.DTMF_Config_Search.WritableUserIDs, document.DTMF_Config_Search.WritableUserNames);return false;" title="选择员工名称"><img src="/images/couple.gif" border="0"></a>
  112.         </td>
  113.         </tr>
  114.         <tr>
  115.           <td align="left" width="17%">
  116.                   可写部门名称:</td>
  117.                 <td align="left" width="81%">
  118.         <textarea name="WritableDepartNames" cols="30" rows="3" readonly="true" ondblclick="GetDepartIDAndNames(document.DTMF_Config_Search.WritableDepartIDs, this);"></textarea>
  119.         <input name="WritableDepartIDs" type="hidden" value=""><a href="" onclick="GetDepartIDAndNames(document.DTMF_Config_Search.WritableDepartIDs, document.DTMF_Config_Search.WritableDepartNames);return false;" title="选择部门"><img src="/images/couple.gif" border="0"></a>
  120.         </td>
  121.         </tr>
  122.         <tr>
  123.           <td align="left" width="17%">
  124.                   只读用户姓名:</td>
  125.                 <td align="left" width="81%">
  126.                 <textarea name="ReadOnlyUserNames" cols="30" rows="3" readonly="true" ondblclick="GetUserIDAndNames(document.DTMF_Config_Search.ReadOnlyUserIDs, this);"></textarea>
  127.                 <input name="ReadOnlyUserIDs" type="hidden" value=""><a href="" onclick="GetUserIDAndNames(document.DTMF_Config_Search.ReadOnlyUserIDs, document.DTMF_Config_Search.ReadOnlyUserNames);return false;" title="选择员工名称"><img src="/images/couple.gif" border="0"></a>
  128.         </td>
  129.         </tr>
  130.         <tr>
  131.           <td align="left" width="17%">
  132.                   只读部门名称:</td>
  133.                 <td align="left" width="81%">
  134.         <textarea name="ReadOnlyDepartNames" cols="30" rows="3" readonly="true" ondblclick="GetDepartIDAndNames(document.DTMF_Config_Search.ReadOnlyDepartIDs, this);"></textarea>
  135.         <input name="ReadOnlyDepartIDs" type="hidden" value=""><a href="" onclick="GetDepartIDAndNames(document.DTMF_Config_Search.ReadOnlyDepartIDs, document.DTMF_Config_Search.ReadOnlyDepartNames);return false;" title="选择部门"><img src="/images/couple.gif" border="0"></a>
  136.         </td>
  137.         </tr>
  138.               <tr>
  139.                 <th align="center" valign="top" colspan="2">
  140.                   <input type="submit" value="搜索" name="Search">
  141.                   <input type="reset" value="重置" name="Reset">
  142.                   <input type="button" value="返回" name="B2" onclick="javascript:self.location='DocTempletMoveFlowConfig.jsp?SysDirID=<%=iSysDirID%>&configID=<%=iconfigID%>'">
  143.                 </th>
  144.               </tr>
  145.             </table>
  146.           </form>
  147.         </td>
  148.       </tr>
  149.     </table>
  150.   </body>
  151. </html>