search_archives.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:7k
源码类别:
电子政务应用
开发平台:
Java
- <%@ taglib uri="/vnex.tld" prefix="vnex" %>
- <%@ taglib uri="/vnex.tld" prefix="vnex" %>
- <%@ taglib uri="/vnex_archive.tld" prefix="archive" %>
- <%
- session.removeAttribute("archiveCondition");
- %>
- <HTML>
- <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/Popup.js"></script>
- <script language="JavaScript" src="/vnex/validate.js"></script>
- <script language=JavaScript>
- function isDateValid(form)
- {
- if (form.saveDate.value.length >0 && form.saveEndDate.value.length >0)
- {
- if (form.saveDate.value > form.saveEndDate.value)
- {
- alert("存档日期查询条件开始时间不能在结束时间之后!");
- return false;
- }
- }
- if (form.createDate.value.length >0 && form.createEndDate.value.length >0)
- {
- if (form.createDate.value > form.createEndDate.value)
- {
- alert("发文日期查询条件开始时间不能在结束时间之后!");
- return false;
- }
- }
- if (includeInvalid(form.archiveDisplayId.value))
- {
- alert("存档编号包括非法字符’" );
- return false;
- }
- if (includeInvalid(form.archiveTitle.value))
- {
- alert("标题中包括非法字符’" );
- return false;
- }
- if (includeInvalid(form.archiveKeyword.value))
- {
- alert("主题词中包括非法字符’" );
- return false;
- }
- return true;
- }
- function includeInvalid(str)
- {
- if (str.indexOf("'") == -1)
- {
- return false;
- }
- else
- {
- return true;
- }
- }
- function toSearch(form)
- {
- if (! isDateValid(form))
- return false;
- else
- {
- form.action = "/mainctrl/archive/archivesSearchResult"
- form.submit();
- }
- }
- </script>
- <DIV align=center>
- <form name="form1" method="post" action="" >
- <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"><br>
- <table width="600" border="1" cellspacing="1" bordercolor="#666666">
- <tr>
- <td align="center" colspan="2" bgcolor="#FFFFFF">
- <table width="600" border="0" cellspacing="0" cellpadding="0">
- <tr bgcolor="#666666">
- <td colspan="2"><font class="strongw"><a href="/mainctrl/home/index"><font color="#ffffff">首页</font></a>>><a href="/mainctrl/archive/todayArchives"><font color="#ffffff">档案管理</font></a>>>档案查询</font>
- </td>
- </tr>
- </table>
- <table class=title border="0" cellpadding="2" cellspacing="1" width="600">
- <tr bgcolor="#e0e0e0">
- <td width="14%"> <font class="strong"> 档案编号:</font> </td>
- <td width="86%">
- <input size="32" name="archiveDisplayId" class="text">
- </td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="14%"> <font class="strong"> 存档日期:</font> </td>
- <td width="86%">
- <input type="text" name="saveDate" readonly size="32" class="text">
- <img src="/vnex/util/datetime.gif" style="cursor:hand;" align="absmiddle" alt="选择存档起始日期" onClick="fPopUpCalendarDlg(saveDate);return false">
- </td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="14%"><font class="strong"> 至:</font> </td>
- <td width="86%">
- <input type="text" name="saveEndDate" readonly size="32" class="text">
- <img src="/vnex/util/datetime.gif" style="cursor:hand;" align="absmiddle" alt="选择存档截止日期" onClick="fPopUpCalendarDlg(saveEndDate);return false">
- </td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="14%"><font class="strong"> 标题:</font> </td>
- <td width="86%">
- <input size="32" name="archiveTitle" class="text">
- </td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="14%"><font class="strong"> 主题词:</font> </td>
- <td width="86%">
- <input size="32" name="archiveKeyword" class="text">
- </td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="14%"><font class="strong"> 发文日期:</font> </td>
- <td width="86%">
- <input type="text" name="createDate" readonly size="32" class="text">
- <img src="/vnex/util/datetime.gif" style="cursor:hand;" align="absmiddle" alt="选择档案创建起始日期" onClick="fPopUpCalendarDlg(createDate);return false">
- </td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="14%"><font class="strong"> 至:</font> </td>
- <td width="86%">
- <input type="text" name="createEndDate" readonly size="32" class="text">
- <img src="/vnex/util/datetime.gif" style="cursor:hand;" align="absmiddle" alt="选择档案创建截止日期" onClick="fPopUpCalendarDlg(createEndDate);return false">
- </td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="14%"><font class="strong"> 文件来源:</font> </td>
- <td width="86%">
- <select name="fileSourceId" size="1">
- <archive:fileSourceTag />
- </select>
- </td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="14%"> <font class="strong"> 安全级别:</font> </td>
- <td width="86%">
- <select size="1" name="safetyLevel">
- <option selected value = -1>请选择</option>
- <option>5</option>
- <option>4</option>
- <option>3</option>
- <option>2</option>
- <option>1</option>
- </select>
- </td>
- </tr>
- <tr bgcolor="#fafafa">
- <td colspan="2" align="center" height="30">
- <input type="button" value="查询" name="B21" class="text" onClick=toSearch(form1) >
-
- <input type="reset" value="重置" name="B212" class="text">
- </td>
- </tr>
- <input type="hidden" name="attachment[]" >
- </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>