person_elc_search.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:15k
源码类别:
电子政务应用
开发平台:
Java
- <%@ page language="java" %>
- <%@ page import="java.util.*"%>
- <%@ page import="java.lang.*"%>
- <%@ page import="com.vnex.intranet.privilegeassign.proxy.*"%>
- <%@ page import="com.vnex.intranet.organization.proxy.*"%>
- <%@ page import="com.vnex.intranet.organization.value.*"%>
- <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/personElcSearchResult";
- 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;
- }
- if(isEmpty(form.buildYear.value))
- form.buildYear.value=0;
- if(isEmpty(form.buildYearEnd.value))
- form.buildYearEnd.value=3000;
- }
- 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;
- }
- }
- if(!isEmpty(form.buildYear.value))
- {
- if(!isInteger(form.buildYear.value))
- {
- alert("年度只能是数字!");
- form.buildYear.focus();
- return false;
- }
- }
- if(!isEmpty(form.buildYearEnd.value))
- {
- if(!isInteger(form.buildYearEnd.value))
- {
- alert("年度只能是数字!");
- form.buildYearEnd.focus();
- return false;
- }
- }
- if((!isEmpty(form.buildYear.value))&&(!isEmpty(form.buildYearEnd.value)))
- {
- if(form.buildYear.value>form.buildYearEnd.value)
- {
- alert("年度的前一个数字应该小于后一个数字!");
- form.buildYear.focus();
- 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/personal/main"><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">
- <p><strong>请选择查询条件:</strong><br>
- <strong>(缺省查询条件为“与”关系,若选中单选框则为‘或’关系)</strong></p>
- </td>
- </tr>
- <tbody>
- <!--
- <tr bgcolor=#fafafa>
- <td width="12%">
- <div align=left><strong> </strong></div>
- </td>
- <td width="22%">
- <div align=left><strong> 全宗号:</strong></div>
- </td>
- <td width="66%">
- <div align=left>
- <input type="text" name="topName" size="30" class="text" value="铁通总公司" maxlength="40">
- </div>
- </td>
- </tr>
- -->
- <tr bgcolor=#e0e0e0>
- <td width="12%">
- <div align="center">
- <input type="checkbox" name="docNameTag" value="1">
- </div>
- </td>
- <td width="22%">
- <input type="hidden" name="topName" size="30" class="text" value="铁通总公司" maxlength="40">
- <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="fileBefTag" value="1">
- </div>
- </td>
- <td width="22%">
- <div align=left><strong> 电子文档类型:</strong></div>
- </td>
- <td width="66%">
- <div align=left>
- <input type="text" name="fileName" size="30" class="text" maxlength="40">
- </div>
- </td>
- </tr>
- <tr bgcolor=#e0e0e0>
- <td width="12%">
- <div align="center">
- <input type="checkbox" name="titleTag" value="1">
- </div>
- </td>
- <td width="22%">
- <div align=left><strong> 电子文档标题:</strong></div>
- </td>
- <td width="66%">
- <div align=left>
- <input class=text name="title" size=30 maxlength="40">
- </div>
- </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%">
- <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 width="12%">
- <div align="center">
- <input type="checkbox" name="saveDateTag" value="1">
- </div>
- </td>
- <td width="22%">
- <div align=left><strong> 保管期限:</strong></div>
- </td>
- <td width="66%" bgcolor="#fafafa">
- <div align=left> <strong>
- <select name="saveDate" size=1>
- <option value="-1" selected>-请选择-</option>
- <option value="1">短期</option>
- <option value="2">长期</option>
- <option value="3">永久</option>
- </select>
- </strong></div>
- </td>
- </tr>
- <tr bgcolor=#e0e0e0>
- <td width="12%">
- <div align="center">
- <input type="checkbox" name="secretTag" value="1">
- </div>
- </td>
- <td width="22%">
- <div align=left><strong> 密级:</strong></div>
- </td>
- <td width="66%"><strong>
- <select name="secret" size=1>
- <option value="-1" selected>-请选择-</option>
- <option value="1">一般</option>
- <option value="2">秘密</option>
- <option value="3">机密</option>
- <option value="4">绝密</option>
- </select>
- </strong></td>
- </tr>
- <tr bgcolor=#fafafa>
- <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=#e0e0e0>
- <td width="12%">
- <div align="center">
- <input type="checkbox" name="buildYearTag" value="1">
- </div>
- </td>
- <td width="22%"><strong> 年度:</strong></td>
- <td width="66%"> 从
- <input class=text maxlength=5 name="buildYear" size=6>
- 年--到
- <input class=text maxlength=5 name="buildYearEnd" size=6>
- 年</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>