thing_search.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:11k
源码类别:
电子政务应用
开发平台:
Java
- <%@ page language="java" %>
- <%@ page import="java.util.*"%>
- <%@ page import="java.lang.*"%>
- <HTML>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <jsp:include page="/vnex/page/FORM_HEAD.jsp" />
- <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
- <script language="JavaScript1.2" src="/vnex/menu/dockmenu_archives.js"></script>
- <script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
- <script language="JavaScript" src="/vnex/util/strUtil.js"></script>
- <script Language="JavaScript" src="/vnex/util/Popup.js"></script>
- <script language="javascript" src="/vnex/validate.js"></script>
- <DIV align=center>
- <script language=javascript>
- function searchArchive(form)
- {
- if(checkIt(form))
- {
- modParameter(form);
- form.action="/mainctrl/thingSearchResult";
- form.submit();
- }
- }
- function modParameter(form)
- {
- if(!isEmpty(form.buildDate.value))
- {
- form.buildDate.value=form.buildDate.value.replace("-","");
- form.buildDate.value=form.buildDate.value.replace("-","");
- }
- else
- {
- form.buildDate.value=0;
- }
- if(!isEmpty(form.buildDateEnd.value))
- {
- form.buildDateEnd.value=form.buildDateEnd.value.replace("-","");
- form.buildDateEnd.value=form.buildDateEnd.value.replace("-","");
- }
- else
- {
- form.buildDateEnd.value=30000000;
- }
- }
- function checkIt(form)
- {
- if((!isEmpty(form.buildDate.value))&&(!isEmpty(form.buildDateEnd.value)))
- {
- var start = form.buildDate.value;
- var end = form.buildDateEnd.value;
- if(start>end)
- {
- alert("日期的结束时间不能小于开始时间!");
- return false;
- }
- }
- return true;
- }
- </script>
- <form name="form1" method="get">
- <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
- <TBODY>
- <jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" />
- <TR>
- <TD colSpan=3 align="center" class="iframestyle" valign="top"><br>
- <table width="600" border="1" cellspacing="1" bordercolor="#666666">
- <tr valign="top">
- <td bgcolor="#fafafa" >
- <table width="600" border="0" cellspacing="0" cellpadding="0">
- <tr valign="top" bgcolor="#cccccc">
- <td>
- <table width="600" border="0" cellpadding="2" cellspacing="0">
- <tr bgcolor="#666666">
- <td><font class="strongw"> <a href="/mainctrl/home/index"><font color="#ffffff">首页</font></a>>><a href="/mainctrl/archiveFileIn"><font color="#ffffff">档案管理</font></a>>><a href="/mainctrl/thingIndex"><font color="#ffffff">实物档案</font></a>>>
- 实物档案查询</font> </td>
- </tr>
- </table>
- <table border="0" cellpadding="2" cellspacing="0" width="600">
- <tr bgcolor="#e0e0e0">
- <td colspan="4">
- <table border=0 cellpadding=2 cellspacing=1 class=title width=600>
- <tr bgcolor=#e0e0e0>
- <td colspan="3"><strong>请选择查询条件:</strong><br>
- <strong>(缺省查询条件为“与”关系,若选中单选框则为‘或’关系)</strong></td>
- </tr>
- <tbody>
- <tr bgcolor=#e0e0e0>
- <td width="12%">
- <div align="center"> </div>
- </td>
- <td width="22%">
- <div align=left><strong> 档案号:</strong></div>
- </td>
- <td width="66%">
- <div align=left>
- <input type="text" name="docName" size="30" class="text" maxlength="40">
- </div>
- </td>
- </tr>
- <tr bgcolor=#fafafa>
- <td width="12%">
- <div align="center">
- <input type="checkbox" name="topNameTag" value="1">
- </div>
- </td>
- <td width="22%">
- <div align=left><strong> 类别:</strong></div>
- </td>
- <td width="66%">
- <div align=left>
- <input class=text name="topName" size=30 maxlength="40">
- </div>
- </td>
- </tr>
- <tr bgcolor=#e0e0e0>
- <td width="12%">
- <div align="center">
- <input type="checkbox" name="fileBefTag" value="1">
- </div>
- </td>
- <td width="22%">
- <div align=left><strong> 专业:</strong></div>
- </td>
- <td width="66%">
- <div align=left>
- <input class=text name="fileBef" size=30 maxlength="40">
- </div>
- </td>
- </tr>
- <tr bgcolor=#e0e0e0>
- <td width="12%" bgcolor="#fafafa">
- <div align="center">
- <input type="checkbox" name="titleTag" value="1">
- </div>
- </td>
- <td width="22%" bgcolor="#fafafa">
- <div align=left><strong> 名称:</strong></div>
- </td>
- <td width="66%" bgcolor="#fafafa">
- <div align=left>
- <input class=text name="title" size=30 maxlength="40">
- </div>
- </td>
- </tr>
- <tr bgcolor=#e0e0e0>
- <td width="12%">
- <div align="center">
- <input type="checkbox" name="wordKeyTag" value="1">
- </div>
- </td>
- <td width="22%">
- <div align=left><strong> 获奖级别:</strong></div>
- </td>
- <td width="66%">
- <input class=text maxlength=40 name="wordKey" size=15>
- </td>
- </tr>
- <tr bgcolor=#fafafa>
- <td width="12%">
- <div align="center">
- <input type="checkbox" name="depTag" value="1">
- </div>
- </td>
- <td width="22%"><strong> 发奖单位:</strong></td>
- <td width="66%" bgcolor="#fafafa">
- <input class=text name="dep" size=30 maxlength="40">
- </td>
- </tr>
- <tr bgcolor=#e0e0e0>
- <td width="12%" height="9">
- <div align="center">
- <input type="checkbox" name="buildDateTag" value="1">
- </div>
- </td>
- <td width="22%" height="9">
- <div align=left><strong> 获奖时间:</strong></div>
- </td>
- <td width="66%" height="9">
- <div align=left> 从
- <input type="text" name="buildDate" readonly size="10" class="text">
- <img src="/vnex/util/datetime.gif" style="cursor:hand;" align="absmiddle" alt="选择借阅档案日期" onClick="fPopUpCalendarDlg(buildDate);return false">
- 到
- <input type="text" name="buildDateEnd" readonly size="10" class="text">
- <img src="/vnex/util/datetime.gif" style="cursor:hand;" align="absmiddle" alt="选择借阅档案日期" onClick="fPopUpCalendarDlg(buildDateEnd);return false">
- </div>
- </td>
- </tr>
- <tr bgcolor=#fafafa>
- <td align=middle height=30 colspan="3">
- <div align="center">
- <input class=text onclick=searchArchive(this.form) type=button value=查询>
-
- <input class=text type=reset value=返回 onClick=history.back() >
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
- </TD>
- </TR>
- <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
- </TBODY>
- </TABLE>
- <BR>
- <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
- </form>
- </DIV>
- </BODY>
- </HTML>