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

📄 popcashrangenew.jsp

📁 BI经营分析系统基于Hyperion Analyzer 前端展现层完整代码
💻 JSP
字号:
<html>
<head>
    <title>确认金额分段</title>
	<META content="text/html; charset=GBK" http-equiv=Content-Type>
<link rel=stylesheet href="../css/style.css" type="text/css">
	<%
	response.setHeader("Cache-Control", "no-store");
	response.setHeader("Pragma", "no-cache");
	%>
</head>

 <body  class=BODY >
<%@ page contentType="text/html;charset=GBK"
               import="com.boco.shpmcc.util.*,
               					com.boco.shpmcc.actions.*,
               					com.boco.shpmcc.data.*,
               					com.boco.shpmcc.common.*,
                       com.boco.shpmcc.beans.*"
%>
<jsp:useBean id="PopCashrangeAction" scope="session" class="com.boco.shpmcc.actions.PopCashrangeAction" />
<%
ActionData ACTIONDATA = PopDcCustomerAction.process(request,response);
PageCount pageCount = PopDcCustomerAction.getPageCount();
Page currentPage = pageCount.getCurrentPage();
int pageno = 0;
int rowCount = 0;
int pagecount = 0;
int pageSize = 0;

String ACTIONID = request.getParameter("ACTIONID");
if (ACTIONID ==  null) ACTIONID = String.valueOf(ActionMapping.ACTION_QUERY);

if (pageCount!=null){
  pageno = pageCount.getPage();
  pagecount = pageCount.getTotalPages();
//  pageSize = pageCount.getPageSize();
pageSize = currentPage.getEndRow() - currentPage.getStartRow() + 1;
rowCount = pageCount.getRowCount();
}
%>

<form name="thisForm" method="POST" action="">
<input  type="hidden" name="ACTIONID" value="<%=ACTIONID%>">
<TABLE width="100%" border=0 align=center >
  <TR>
    <TD align=center><b><font size="3">储汇专业金额分段信息</font> </b></TD>
  </TR><BR>
</TABLE>
<table width="100%"  class=CenterTable align=center id=ThisTab>
	<tr class=TopTR>
		<td width="10%" align="center">序号</td>
		<td align=center width="45%">客户编号</td>
		<td align=center width="45%">客户名称</td>
	</tr>
 <%
  if (ACTIONDATA!=null && ACTIONDATA.getTotalRowCount()>0) {
			for(int i=0; i<pageSize;i++){
%>
<tr  align="center">
		<td class=RightTD align=left width="10%"><%=i+currentPage.getStartRow()%></td>
		<td class=RightTD align=left width="45%"><%=ACTIONDATA.getValue(1 ,i,"startCash")%></td>
		<td class=RightTD align=left width="45%"><%=ACTIONDATA.getValue(1 ,i,"endCash")%></td>
		</tr>
<%   	}
   }
   String url="./popCashrangeNew.jsp?";
%>
</table>
<input type="hidden" name="pageNo" value="<%=pageno%>">

<table width="95%" align="center">
	<tr class=RightTD><td align=left>第<%=pageno %>页|共<%=pagecount %>页,共计<%=rowCount%>条记录</td>
		<td align=right>
			<a href=# language="javascript" onclick="gotopageno('<%=url%>',1);return false;">首 页</a>|
			<% if (pageno==1){%>
			         上一页|
             <%} else {%>
			<a href=# onclick="gotopageno('<%=url%>',<%=pageno-1%>);return false;">上一页</a>|
			  <%}%>
            <% if (pageno==pagecount){%>
			         下一页|
			<%} else {%>
			<a href=# language="javascript" onclick="gotopageno('<%=url%>',<%=pageno+1%>);return false;">下一页</a>|
			<%}%>

			<a href=# language="javascript" onclick="gotopageno('<%=url%>',<%=pagecount%>);return false;">末 页</a>

			直接查看第<input name="gotopage" size="2" maxlength="4">页
			<a href=# language="javascript" onclick="GotopagenoNo('<%=url%>',<%=pagecount%>);return false;"><B><font size=2>&nbsp;GO&nbsp;</font></B></a>
		</td>
	</tr>
</table>
</form>
<script language="JavaScript">
function GotopagenoNo(url,count) {
  var pageno;
    pageno = document.all("gotopage").value;

	if (isNaN(pageno)) {
			alert("页码不是一个数字。");
			return;
	}
	if (pageno>count || pageno<0) {
			alert("页码超出范围。");
			return;
	}
	document.all("pageNo").value = pageno;
	thisForm.submit();
}
function gotopageno(url,ipageno){
	document.all("pageNo").value = ipageno;
	thisForm.submit();
}

function rangeChange(){
  thisForm.action="cashRange.jsp";
//  document.all("ACTIONID").value=<%=ActionMapping.ACTION_DELETE%>;
  thisForm.submit();

	ClosePage();
}
function ClosePage(){
	window.close();
}


</script>
<table border="0" width="80%" height="15" align="center">
<tr class=ButtomTable align="center"><td><a onclick="return rangeChange();" href="javascript:void()">应用新的分段</a>
&nbsp;&nbsp;
<a onclick="return ClosePage();" href="javascript:void();">返  回</a></td>
</tr>
</table>
</form>
</body>
</html>

⌨️ 快捷键说明

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