📄 searchresult.jsp
字号:
<%@ page contentType="text/html;charset=GB2312"%>
<%@ page language="java"%>
<%@ taglib uri="/web-inf/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/web-inf/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/web-inf/struts-html.tld" prefix="html"%>
<%@ include file="/share/share.jsp"%>
<%@ page import="com.stsc.util.PageCt"%>
<%PageCt PageCount=(PageCt)session.getAttribute("PageCt_volumn");%>
<html:html locale="true">
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>查询结果</title>
</head>
<body>
<p align="center"><font size="5" face="楷体-GB2312">查询结果</font></p>
<html:form method="POST" action="searchresultAction" onsubmit="return delconfirm()">
<table border="1" cellpadding="0" cellspacing="0" align="center" width="777" bgcolor="#3A5C9F" >
<tr>
<td width="34" height="30"> </td>
<td width="72" height="30" align="center">档案种类</td>
<td width="77" height="30" align="center">案卷号</td>
<td width="102" height="30" align="center">案卷标题</td>
<td width="60" height="30" align="center">工程代号</td>
<td width="60" height="30" align="center">保管期限</td>
<td width="60" height="30" align="center">类目号</td>
<td width="77" height="30" align="center">起始年月</td>
<td width="72" height="30" align="center">截止年月</td>
<td width="102" height="30" align="center">案卷总件数</td>
<td width="60" height="30" align="center">案卷总页数</td>
<td width="60" height="30" align="center">责任者</td>
<td width="77" height="30" align="center">密级</td>
<td width="102" height="30" align="center">立卷单位</td>
<td width="60" height="30" align="center">状态</td>
<td width="60" height="30" align="center">备注</td>
<td width="60" height="30" align="center">查看</td>
<td width="60" height="30" align="center">编辑</td>
<td width="60" height="30" align="center">查看文件</td>
<td width="60" height="30" align="center">删除标记</td>
</tr>
<logic:iterate id="element" name="myhashtable" property="fileNames">
<tr>
<td width="34" height="30" align="center"> <html:multibox property="enterName"><bean:write name="element" property="volumnid" filter="true"/></html:multibox></td>
<td width="72" height="30" align="center"> <bean:write name="element" property="archivetype" filter="true"/></td>
<td width="77" height="30"> <bean:write name="element" property="volumnno" filter="true"/></td>
<td width="102" align="center" height="30"> <bean:write name="element" property="volumntitle" filter="true"/></td>
<td width="72" height="30" align="center"> <bean:write name="element" property="code" filter="true"/></td>
<td width="77" height="30"> <bean:write name="element" property="retentionperiod" filter="true"/></td>
<td width="102" align="center" height="30"> <bean:write name="element" property="category" filter="true"/></td>
<td width="72" height="30" align="center"> <bean:write name="element" property="startdate" filter="true"/></td>
<td width="77" height="30"> <bean:write name="element" property="enddate" filter="true"/></td>
<td width="102" align="center" height="30"> <bean:write name="element" property="totalnum" filter="true"/></td>
<td width="72" height="30" align="center"> <bean:write name="element" property="totalpage" filter="true"/></td>
<td width="77" height="30"> <bean:write name="element" property="duty" filter="true"/></td>
<td width="102" align="center" height="30"> <bean:write name="element" property="security" filter="true"/></td>
<td width="72" height="30" align="center"> <bean:write name="element" property="archiveunit" filter="true"/></td>
<td width="77" height="30"> <bean:write name="element" property="status" filter="true"/></td>
<td width="102" align="center" height="30"> <bean:write name="element" property="remark" filter="true"/></td>
<td width="60" align="center" height="30"><a href="searchAction.do?search=<bean:write name="element" property="volumnid" filter="true"/>">查看</a></td>
<td width="60" align="center" height="30"><a href="editAction.do?edit=<bean:write name="element" property="volumnid" filter="true"/>">编辑</a></td>
<td width="60" align="center" height="30"><a href="showArchiveList.do?volumnno=<bean:write name="element" property="volumnno" filter="true"/>">文件</a></td>
<td width="102" align="center" height="30"> <bean:write name="element" property="deleted" filter="true"/></td>
</tr>
</logic:iterate>
</table>
<table border="0" cellpadding="0" cellspacing="0" align="center" width="777" bgcolor="#3A5C9F">
全选<input type="checkbox" name="chkall" value="on" onClick="CheckAll(this.form)">
<p>
<p> <html:submit>删除选中文件</html:submit>
<input type="button" value="返回" name="B4" onClick="javascript:location.href='<%=app_path%>secondjsp/filesearch.jsp'">
</p>
</table>
<table border="0" cellpadding="0" cellspacing="0" align="center" width="777" bgcolor="#3A5C9F">
<td width=80 valign=bottom>共 <%=PageCount.getTotalnum()%> 条</td>
<td width=80 valign=bottom><%=PageCount.getCurpage()+1%>/<%=PageCount.getTotalpage()%> 页</td>
<!--
<td width=120 >查看第 <input type=text name=Query_Page size=3> 页</td>
-->
<%if(PageCount.getCurpage()+1!=1){%>
<td width=50 valign=bottom><a href='<%=app_path%>filesearchAction.do?currentpage=<%=0%>'>第一页</a></td>
<td width=50 valign=bottom><a href='<%=app_path%>filesearchAction.do?currentpage=<%=PageCount.getPrepage()%>'>上一页</a></td>
<%}%>
<% long temp_int=PageCount.getCurpage();
//if(temp_int!=0){
temp_int=temp_int+1;
//out.println("temp_int=========="+temp_int);
//}%>
<%if(temp_int!=PageCount.getTotalpage() && PageCount.getTotalpage()!=0){%>
<td width=50 valign=bottom><a href='<%=app_path%>filesearchAction.do?currentpage=<%=PageCount.getNextpage()%>'>下一页</a>
<td width=50 valign=bottom><a href='<%=app_path%>filesearchAction.do?currentpage=<%=PageCount.getTotalpage()-1%>'>最后页</a></td>
<%}%>
</td>
</table>
</html:form>
</body>
<script language="JavaScript">
function CheckAll(form)
{
for (var i=0;i<form.elements.length;i++)
{
var e = form.elements[i];
if (e.name != 'chkall')
e.checked = form.chkall.checked;
}
}
function delconfirm()
{
return confirm("您确认要删除选种文件吗?")
}
</script>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -