return_archive_list.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:5k
源码类别:
电子政务应用
开发平台:
Java
- <%@ page errorPage="/vnex/ErrorPage.jsp" %>
- <%@ taglib uri="/vnex.tld" prefix="vnex" %>
- <%@ taglib uri="/vnex_archive.tld" prefix="archive" %>
- <%
- String queryStr = "";
- String pageName = "/mainctrl/archive/returnArchiveList?a";
- if(session.getAttribute("condition") != null)
- {
- queryStr += (String)session.getAttribute("condition");
- }
- if(request.getParameter("search") == null)
- {
- session.removeAttribute("conditionBean");
- session.removeAttribute("condition");
- }
- else
- pageName += "&search";
- %>
- <script Language="JavaScript" src="/vnex/util/strUtil.js"></script>
- <script language=JavaScript>
- function deleteThem(form)
- {
- if(form.returnIds == null)
- {
- alert("目前尚未有数据可供删除");
- return;
- }
- if(!isChecked(form.returnIds))
- {
- alert("请至少选择一条记录再进行删除");
- return;
- }
- if(confirm("是否删除所选记录?"))
- {
- form.action="/mainctrl/archive/deleteReturnArchives";
- form.submit();
- }
- }
- function SelectAll(form)
- {
- for (var i=0;i<form.elements.length;i++)
- {
- var e = form.elements[i];
- if (e.name != 'C1')
- e.checked = form.C1.checked;
- }
- }
- </script>
- <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>
- <DIV align=center>
- <form name="form1" method="post">
- <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><font class="strongw"><a href="/mainctrl/home/index"><font color="#ffffff">首页</font></a>>><a href="/mainctrl/archives/main"><font color="#ffffff">档案管理</font></a>>>归还记录</font>
- </td>
- </tr>
- </table>
- <table class=title border="0" cellpadding="2" cellspacing="1" width="600">
- <tr bgcolor="#fafafa">
- <td colspan="7" height="30">
- <input type="button" value="查询" name="B251" class="text" onclick="location='/mainctrl/archive/queryReturnArchive'">
-
- <input type="button" value="删除" name="B252" class="text" onclick="deleteThem(this.form)">
- </td>
- </tr>
- <tr align="center">
- <td width="7%"><strong>选择</strong></td>
- <td width="8%"><strong>编号</strong></td>
- <td width="14%"><strong>借阅日期</strong></td>
- <td width="46%" align="center"><strong>档案标题</strong></td>
- <td width="10%"><strong>借阅人</strong></td>
- <td width="14%"><strong>归还日期</strong></td>
- </tr>
- <archive:returnList queryStr="<%=queryStr%>">
- <vnex:items paging="true">
- <tr bgcolor="<vnex:itemsColor />" align="center">
- <td align="center" width="7%">
- <input type="checkbox" name="returnIds" value="<archive:returnAttribute attribute="return_id" />"></td>
- <td width="8%"><a href="/mainctrl/archive/returnArchiveDetail?returnId=<archive:returnAttribute attribute="return_id" />"><archive:returnAttribute attribute="return_id" /></a></td>
- <td width="14%"><archive:returnAttribute attribute="borrow_date" /></td>
- <td width="46%"><archive:returnAttribute attribute="archive_title" />
- </td>
- <td width="10%"><archive:returnAttribute attribute="borrower" /></td>
- <td width="14%"><archive:returnAttribute attribute="return_date" /></td>
- </tr>
- </vnex:items>
- <tr bgcolor="#e0e0e0">
- <td width="7%" align="center"><input type="checkbox" name="C1" onclick="SelectAll(this.form)"></td>
- <td colspan="5"> 全选
- </td>
- </tr>
- <tr>
- <td colspan="6" align="left" bgcolor="#fafafa"> <vnex:pagingTag pageName="<%=pageName%>" />
- </td>
- </tr>
- </archive:returnList>
- </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>