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

📄 netresultinputer.jsp

📁 本套系统采用了业界当前最为流行的beanAction组件
💻 JSP
字号:
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ page import="teleReport.domain.NetInfo"%>
<%@page import="org.apache.struts.util.LabelValueBean"%>
<%@page import="java.util.*"%>

<%@ 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"%>
<html:html lang="true">
<html:base />
<head>
	<bean:define id="totalPId" name="netBean" property="totalPage" />
	<bean:define id="curPId" name="netBean" property="currentPage" />
	<link rel="stylesheet" type="text/css" href="../common/css/common.css" />
	<title>显示网间结算搜索结果</title>
	<%
		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>
	<html:link href="./index.do">返回首页</html:link>
	<table width="97%">
		<tr class="title">
			<td>
				网间结算编号
			</td>
			<td>
				结算月份
			</td>
			<td>
				地市
			</td>
			<td>
				产品
			</td>
			<td>
				结算类型
			</td>
			<td>
				结算运营商
			</td>
			<td>
				结算金额
			</td>
			<td>
				稽查状态
			</td>
			<td>
				稽核人员
			</td>
			<td>
				稽核时间
			</td>
			<td>
				操作
			</td>
		</tr>


		<logic:iterate id="element" name="netBean" property="pageNetInfoList">
			<tr>
				<td>
					<bean:write name="element" property="netInfoId" />
				</td>
				<td>
					<bean:write name="element" property="netMonth" />
				</td>
				<td>		 
					<bean:write name="element" property="cityName" />
				</td>
				<td>
					<bean:write name="element" property="prodName" />
				</td>
				<td>
					<bean:write name="element" property="netTypeName" />
				</td>
				<td>
					<bean:write name="element" property="netSalerName" />
				</td>
				<td>
					<bean:write name="element" property="netMoney" />
				</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="check_time" />
				</td>
				<td>
					<div id="operation"
						<%if(((NetInfo) element).getState().equals("1")){%>
						style="visibility: hidden" <%} %>>
						<a
							href="./gotoUpdateNet.do?netInfoId=<%=((NetInfo) element).getNetInfoId()%>">
							更新 </a>
						<a
							href="./ensure.do?netInfoId=<%=((NetInfo) element).getNetInfoId()%>">
							删除 </a>
					</div>
				</td>

			</tr>
			

		</logic:iterate>

	</table>
	
	 <br>
     <br>
  	<table>
		<tr>
			<td width="2%"></td>
			<td>
				<html:form action="/jsp/goHeadPageNetInputer">
					<html:submit value="首页"></html:submit>
				</html:form>
			</td>
			<td>
				<html:form action="/jsp/goToLastPageNetInputer">
					<html:submit value="上一页"></html:submit>
				</html:form>
			</td>
			<td>
				<html:form action="/jsp/goToNextPageNetInputer">
					<html:submit value="下一页"></html:submit>
				</html:form>
			</td>
			<td>
				<html:form action="/jsp/goEndPageNetInputer">
					<html:submit value="尾页"></html:submit>
				</html:form>
			</td>
			<td>
				<html:form action="/jsp/goNextPageNetIn">
					总共有
					<bean:write name="netBean" 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>
	<br>
	<html:form action="/jsp/download">
		<p align="right">
			<input name="Submit" type="submit" class="button" value="导出">
		</p>
	</html:form>
</body>
</html:html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -