DTMF_Send_Search.jsp
资源名称:OA.rar [点击查看]
上传用户:mingda
上传日期:2017-06-20
资源大小:27691k
文件大小:8k
源码类别:
OA系统
开发平台:
Java
- <%@ page contentType="text/html; charset=gb2312"%>
- <%@ page import="com.gforce.gfoa.*,com.gforce.currency.*,java.util.*" %>
- <jsp:include page="/CheckLogin.jsp" flush="true"/>
- <%
- Session m_session = new Session(session);
- Request m_request = new Request(request);
- int iSysDirID = m_request.GetInt("SysDirID");
- %>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312"><meta http-equiv="pragma" content="no-cache">
- <title>公文流转模板管理-- GForce OA 2.0</title>
- <link href="/css/txt.jsp" rel="stylesheet" type="text/css">
- <script language="JavaScript" src="/js/changestyle.js"></script>
- <SCRIPT language="JavaScript" src="/Calendar/PopUpCalendarDlg.js"></SCRIPT>
- <script language="javascript">
- function checktempletsearch(objform)
- {
- with(objform)
- {
- if(UpdateTimeFrom.value!="")
- {
- if(!isDate(UpdateTimeFrom.value))
- {
- alert("日期格式错误,请参照“2002-02-18”格式重新输入!");
- UpdateTimeFrom.focus();
- return false;
- }
- }
- if(UpdateTimeTo.value!="")
- {
- if(!isDate(UpdateTimeTo.value))
- {
- alert("日期格式错误,请参照“2002-02-18”格式重新输入!");
- UpdateTimeTo.focus();
- return false;
- }
- }
- if(UpdateTimeFrom.value!="" && UpdateTimeTo.value!="" && UpdateTimeFrom.value>UpdateTimeTo.value)
- {
- alert("开始日期不能大于结束日期!");
- UpdateTimeFrom.focus();
- return false;
- }
- }
- }
- </script>
- </head>
- <body bgcolor="<%=m_session.GetString("BackColor")%>" leftmargin="0" topmargin="0">
- <table width="100%" height="100%" border="0" align="center" cellspacing="0">
- <tr>
- <td align="center" valign="top">
- <table width="100%" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td height="50" valign="top" background="../images/dy-back.gif">
- <table width="100%" border="0" cellpadding="0" cellspacing="0">
- <tr valign="middle">
- <td width="61" align="center" height="20"><img src="../images/dy-01.gif" width="38" height="36"></td>
- <td width="118" nowrap="nowrap" valign="middle"><strong><font color="#000000">发放公文查询</font></strong></td>
- <td align="right" nowrap="nowrap" valign="bottom">
- <!-- 群增<img src="../images/MulAdd.gif" onMouseOver="this.src='../images/MulAdd_a.gif';" onMouseOut="this.src='../images/MulAdd.gif';" border="0" height="22" width="59"> -->
- <!--<img src="../images/Single.gif" onMouseOver="this.src='../images/Single_a.gif';" onMouseOut="this.src='../images/Single.gif';" border="0" height="22" width="59"> -->
- <!-- 修改<img src="../images/Update.gif" onMouseOver="this.src='../images/Update_a.gif';" onMouseOut="this.src='../images/Update.gif';" border="0" height="22" width="59"> -->
- <!-- 删除<img src="../images/Del.gif" onMouseOver="this.src='../images/Del_a.gif';" onMouseOut="this.src='../images/Del.gif';" border="0" height="22" width="59"> -->
- <!-- 查看<img src="../images/Query.gif" onMouseOver="this.src='../images/Query_a.gif';" onMouseOut="this.src='../images/Query.gif';" border="0" height="22" width="59"> -->
- <!-- 组合查询<img src="../images/GroupQuery.gif" onMouseOver="this.src='../images/GroupQuery_a.gif';" onMouseOut="this.src='../images/GroupQuery.gif';" border="0" height="22" width="79"> -->
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <table width="100%" height="100%" border="0" align="center" cellspacing="0">
- <tr>
- <td align="center" valign="top"><p> </p>
- <form action="SendDocument.jsp?SysDirID=<%=iSysDirID%>" method="post" name="DTMF_Send_Search" onsubmit="return checktempletsearch(this)">
- <table width="90%" border="1" cellpadding="3" cellspacing="0" bordercolordark="#ffffff" bordercolorlight="#0a0a0a" style="">
- <tr>
- <td align="left" width="17%">
- 公文流转模板名称:
- </td>
- <td align="left" width="81%">
- <input type="text" name="Name" size="28"></td>
- </tr>
- <tr>
- <td align="left" width="17%">
- 公文模板名称:
- </td>
- <td align="left" width="81%">
- <input type="text" name="DocTempletName" size="28"></td>
- </tr>
- <tr>
- <td align="left" width="17%">
- 流转模板名称:
- </td>
- <td align="left" width="81%">
- <input type="text" name="MoveFlowName" size="28"></td>
- </tr>
- <tr>
- <td align="left" width="17%">
- 更新日期:</td>
- <td align="left" width="81%">
- 从<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>
- </tr>
- <tr>
- <td align="left" width="17%">
- 可写用户姓名:</td>
- <td align="left" width="81%">
- <textarea name="WritableUserNames" cols="30" rows="3" readonly="true" ondblclick="GetUserIDAndNames(document.DTMF_Send_Search.WritableUserIDs, this);"></textarea>
- <input name="WritableUserIDs" type="hidden" value=""><a href="" onclick="GetUserIDAndNames(document.DTMF_Send_Search.WritableUserIDs, document.DTMF_Send_Search.WritableUserNames);return false;" title="选择员工名称"><img src="/images/couple.gif" border="0"></a>
- </td>
- </tr>
- <tr>
- <td align="left" width="17%">
- 可写部门名称:</td>
- <td align="left" width="81%">
- <textarea name="WritableDepartNames" cols="30" rows="3" readonly="true" ondblclick="GetDepartIDAndNames(document.DTMF_Send_Search.WritableDepartIDs, this);"></textarea>
- <input name="WritableDepartIDs" type="hidden" value=""><a href="" onclick="GetDepartIDAndNames(document.DTMF_Send_Search.WritableDepartIDs, document.DTMF_Send_Search.WritableDepartNames);return false;" title="选择部门"><img src="/images/couple.gif" border="0"></a>
- </td>
- </tr>
- <tr>
- <td align="left" width="17%">
- 只读用户姓名:</td>
- <td align="left" width="81%">
- <textarea name="ReadOnlyUserNames" cols="30" rows="3" readonly="true" ondblclick="GetUserIDAndNames(document.DTMF_Send_Search.ReadOnlyUserIDs, this);"></textarea>
- <input name="ReadOnlyUserIDs" type="hidden" value=""><a href="" onclick="GetUserIDAndNames(document.DTMF_Send_Search.ReadOnlyUserIDs, document.DTMF_Send_Search.ReadOnlyUserNames);return false;" title="选择员工名称"><img src="/images/couple.gif" border="0"></a>
- </td>
- </tr>
- <tr>
- <td align="left" width="17%">
- 只读部门名称:</td>
- <td align="left" width="81%">
- <textarea name="ReadOnlyDepartNames" cols="30" rows="3" readonly="true" ondblclick="GetDepartIDAndNames(document.DTMF_Send_Search.ReadOnlyDepartIDs, this);"></textarea>
- <input name="ReadOnlyDepartIDs" type="hidden" value=""><a href="" onclick="GetDepartIDAndNames(document.DTMF_Send_Search.ReadOnlyDepartIDs, document.DTMF_Send_Search.ReadOnlyDepartNames);return false;" title="选择部门"><img src="/images/couple.gif" border="0"></a>
- </td>
- </tr>
- <tr>
- <th align="center" valign="top" colspan="2">
- <input type="submit" value="搜索" name="Search">
- <input type="reset" value="重置" name="Reset">
- <input type="button" value="返回" name="B2" onclick="javascript:self.location='SendDocument.jsp?SysDirID=<%=iSysDirID%>'">
- </th>
- </tr>
- </table>
- </form>
- </td>
- </tr>
- </table>
- </body>
- </html>