⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pre-checksearchresult.jsp

📁 本套系统采用了业界当前最为流行的beanAction组件
💻 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>
	<link rel="stylesheet" type="text/css" href="../common/css/common.css" />
	<html:base />
	<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("2")) {
		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;">

	
	

	<table width="1019" border="0">预存转收入查询结果:
		<tr class="title">

			<td width="94">
				预存转业务编号
			</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="63">
				稽核操作
			</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>

					<logic:equal value="0" name="element" property="state">

						<a
							href="./preUpdateState.do?preid=<%=((PreInfo) element).getPreid()%>&newState=1"
							onclick="{if(confirm('确定要更改稽核状态吗?')){return true;}return false;}">
							通过 </a>

					</logic:equal>

					<logic:equal value="1" name="element" property="state">
						<a
							href="./preUpdateState.do?preid=<%=((PreInfo) element).getPreid()%>&newState=0"
							onclick="{if(confirm('确定要更改稽核状态吗?')){return true;}return false;}">
							不通过 </a>

					</logic:equal>
					<logic:equal value="2" name="element" property="state">


						<a
							href="./preUpdateState.do?preid=<%=((PreInfo) element).getPreid()%>&newState=1"
							onclick="{if(confirm('确定要更改稽核状态吗?')){return true;}return false;}">
							通过 </a>


						<a
							href="./preUpdateState.do?preid=<%=((PreInfo) element).getPreid()%>&newState=0"
							onclick="{if(confirm('确定要更改稽核状态吗?')){return true;}return false;}">
							不通过 </a>
					
					</logic:equal>
				</td>
			</tr>
		</logic:iterate>

	</table>

<br>

	
	<table>
		<tr>
			<td width="2%"></td>
			<td>
				<html:form action="/jsp/preGoHeadPageCh">
					<html:submit value="首页"></html:submit>
				</html:form>
			</td>
			<td>
				<html:form action="/jsp/preGoToLastPageCh">
					<html:submit value="上一页"></html:submit>
				</html:form>
			</td>
			<td>
				<html:form action="/jsp/preGoToNextPageCh">
					<html:submit value="下一页"></html:submit>
				</html:form>
			</td>
			<td>
				<html:form action="/jsp/preGoEndPageCh">
					<html:submit value="尾页"></html:submit>
				</html:form>
			</td>
			<td>
				<html:form action="jsp/preGoNextPageCh">
					总共有
					<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 + -