DTMF_Draft_Search.jsp
资源名称:OA.rar [点击查看]
上传用户:mingda
上传日期:2017-06-20
资源大小:27691k
文件大小:9k
源码类别:
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="DraftDocument.jsp?SysDirID=<%=iSysDirID%>" method="post" name="DTMF_Draft_Search" onsubmit="return checktempletsearch(this)">
- <tr>
- <td align="right" width="17%">
- 公文模板名称:
- </td>
- <td align="left" width="81%">
- <input type="text" name="DocTempletName" size="42"></td>
- </tr>
- <tr>
- <td align="right" width="17%">
- 流转模板名称:
- </td>
- <td align="left" width="81%">
- <input type="text" name="MoveFlowName" size="42"></td>
- </tr>
- <tr>
- <td align="right" 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="right" width="17%">
- 可写用户姓名: </td>
- <td align="left" width="81%">
- <textarea name="WritableUserNames" cols="42" rows="3" readonly="true" ondblclick="GetUserIDAndNames(document.DTMF_Draft_Search.WritableUserIDs, this);"></textarea>
- <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>
- </td>
- </tr>
- <tr>
- <td align="right" width="17%">
- 可写部门名称: </td>
- <td align="left" width="81%">
- <textarea name="WritableDepartNames" cols="42" rows="3" readonly="true" ondblclick="GetDepartIDAndNames(document.DTMF_Draft_Search.WritableDepartIDs, this);"></textarea>
- <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>
- </td>
- </tr>
- <tr>
- <td align="right" width="17%">
- 只读用户姓名: </td>
- <td align="left" width="81%">
- <textarea name="ReadOnlyUserNames" cols="42" rows="3" readonly="true" ondblclick="GetUserIDAndNames(document.DTMF_Draft_Search.ReadOnlyUserIDs, this);"></textarea>
- <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>
- </td>
- </tr>
- <tr>
- <td align="right" width="17%">
- 只读部门名称: </td>
- <td align="left" width="81%">
- <textarea name="ReadOnlyDepartNames" cols="42" rows="3" readonly="true" ondblclick="GetDepartIDAndNames(document.DTMF_Draft_Search.ReadOnlyDepartIDs, this);"></textarea>
- <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>
- </td>
- </tr>
- <tr>
- <th align="center" valign="top" colspan="2">
- <input type="submit" value="搜 索" name="Search" style="background-color: #FFFFFF; border: 1 solid #000000">
- <input type="reset" value="重 置" name="Reset" style="background-color: #FFFFFF; border: 1 solid #000000">
- <input type="button" value="返 回" name="B2" onclick="javascript:self.location='DraftDocument.jsp?SysDirID=<%=iSysDirID%>'" style="background-color: #FFFFFF; border: 1 solid #000000">
- </th>
- </tr>
- </table>
- </form>
- </td>
- </tr>
- </table>
- </body>
- </html>