📄 pre-inputsearchresult.jsp
字号:
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ page import="teleReport.domain.PreInfo" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>
<%@page import="org.apache.struts.util.LabelValueBean"%>
<%@page import="java.util.*" %>
<html:html lang="true">
<head>
<html:base/>
<link rel="stylesheet" type="text/css" href="../common/css/common.css" />
<title>录入者查询预存转信息结果</title>
<bean:define id="totalPId" name="preBean" property="totalPage" />
<bean:define id="curPId" name="preBean" property="currentPage" />
<%
String str = totalPId.toString();
int n = Integer.parseInt(str);
List v = new ArrayList();
for (int i = 1; i <= n; i++) {
v.add(new LabelValueBean(Integer.toString(i), Integer.toString(i)));
}
pageContext.setAttribute("v", v);
%>
<%
String type =(String)session.getAttribute("userClass");
if (!type.equals("1")) {
session.setAttribute("notLogin", true);
out.print("<script language=javascript>window.location.href='/TeleReport/jsp/login.jsp';</script>");
}
%>
</head>
<body><div style="position:absolute;margin:15px,0px,0px,0px;width:1085px;">
<bean:define id="totalPId" name="preBean" property="totalPage" />
<bean:define id="curPId" name="preBean" property="currentPage" />
<table width="97%" border="0">预存转收入查询结果:
<tr class = "title">
<td width="94" height="28">预存转业务编号</td>
<td width="66">销售日期</td>
<td width="46">地市</td>
<td width="136">产品</td>
<td width="191">销帐费用类型</td>
<td width="76">金额</td>
<td width="55">状态</td>
<td width="79">稽核者</td>
<td width="63">稽核时间</td>
<td width="78">操作</td>
</tr>
<logic:iterate id="element" name="preBean" property="pagePreList">
<tr>
<td>
<bean:write name = "element" property = "preid"/>
</td>
<td>
<bean:write name = "element" property = "sale_time"/>
</td>
<td>
<bean:write name = "element" property = "cityName"/>
</td>
<td>
<bean:write name = "element" property = "prodName"/>
</td>
<td>
<bean:write name = "element" property = "typeofcharge"/>
</td>
<td>
<bean:write name = "element" property = "money"/>
</td>
<td>
<logic:equal value = "0"name = "element" property = "state">
未通过
</logic:equal>
<logic:equal value = "1"name = "element" property = "state">
已通过
</logic:equal>
<logic:equal value = "2"name = "element" property = "state">
未稽核
</logic:equal>
</td>
<td>
<bean:write name = "element" property = "checkerId"/>
</td>
<td>
<bean:write name = "element" property = "checktime"/>
</td>
<td>
<div id = "operation" <%if(((PreInfo) element).getState().equals("1")){%>style="visibility:hidden"<%}%> >
<a href="./preGotoUpdateAll.do?preid=<%=((PreInfo) element).getPreid()%>">更新</a>
<a href="./deletePre.do?preid=<%=((PreInfo) element).getPreid()%>" onclick="{if(confirm('确定要删除记录吗?')){return true;}return false;}">删除 </a>
</td>
</tr>
</logic:iterate>
</table>
<br>
<table>
<tr>
<td width="2%"></td>
<td>
<html:form action="/jsp/preGoHeadPageIn">
<html:submit value="首页"></html:submit>
</html:form>
</td>
<td>
<html:form action="/jsp/preGoToLastPageIn">
<html:submit value="上一页"></html:submit>
</html:form>
</td>
<td>
<html:form action="/jsp/preGoToNextPageIn">
<html:submit value="下一页"></html:submit>
</html:form>
</td>
<td>
<html:form action="/jsp/preGoEndPageIn">
<html:submit value="尾页"></html:submit>
</html:form>
</td>
<td>
<html:form action="jsp/preGoNextPageIn">
总共有
<bean:write name="preBean" property="totalPage"></bean:write>
页, 第
<html:select property="currentPage">
<html:options collection="v" labelProperty="label"
property="value" />
</html:select>
页
<html:submit value="跳转"></html:submit>
</html:form>
</td>
<td width="55%"></td>
</tr>
</table>
<html:form action = "/jsp/preDownload">
<p align="right">
<input name="Submit" type="submit" class="button" value="导出">
</p>
</html:form></div>
</body>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -