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

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