📄 searchsixmonth.jsp
字号:
<%@ page language="java" import="java.util.*" pageEncoding="GB2312"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="display" uri="http://displaytag.sf.net" %>
<jsp:directive.page import="imis_elec.TreeDemo"/>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%
ArrayList list = new ArrayList();
String userId = request.getParameter("userId");
if(!userId.equals("") || userId != null) {
TreeDemo demo = new TreeDemo();
list = demo.getSixMonth(userId);
}
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>">
<title>以往六个月的数据信息</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
</head>
<link rel="stylesheet" type="text/css" href="/Imis/imis_elec/css/style.css">
<body BGCOLOR=#FFFFFF LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 scrolling="auto" background="/Imis/imis_elec/images/bg_main.png" class="ziti">
<table width="90%" border="0" align="center">
<tr>
<td align="center"><img border="0" src="/Imis/imis_elec/images/logomain.gif" width="934" height="65"></td>
</tr>
<tr>
<td>
<hr/><br/>
<h3 align="center">查 询 结 果</h3>
<display:table name="<%=list %>" id="elecUseInfo" pagesize="15"
requestURI="/Imis/imis_elec/elecUseInfoBySearch.jsp" border="0" export="true" class="ziti" >
<display:column property="userId" title="户号" width="150" bgcolor="#FFFFFF" headerClass="chaxun"/>
<display:column property="elecMeterRegNo" title="电表编号" width="120" bgcolor="#FFFFFF" headerClass="chaxun"/>
<display:column property="nowReading" title="本月指数" width="100" bgcolor="#FFFFFF" headerClass="chaxun"/>
<display:column property="elecMeterReading" title="上月指数" width="100" bgcolor="#FFFFFF" headerClass="chaxun"/>
<display:column property="readOn" title="读数单位" width="80" bgcolor="#FFFFFF" headerClass="chaxun"/>
<display:column property="xianLoss" title="线损" width="100" bgcolor="#FFFFFF" headerClass="chaxun"/>
<display:column property="bianLoss" title="变损" width="100" bgcolor="#FFFFFF" headerClass="chaxun"/>
<display:column property="tuiBu" title="退补电量" width="100" bgcolor="#FFFFFF" headerClass="chaxun"/>
<display:column property="sumElec" title="计费电量" width="100" bgcolor="#FFFFFF" headerClass="chaxun"/>
<display:column property="priceUnit" title="单价" width="80" bgcolor="#FFFFFF" headerClass="chaxun"/>
<display:column property="readDate" title="结算日期" width="80" bgcolor="#FFFFFF" headerClass="chaxun"/>
<%-- <display:column property="reMark" title="标志" width="100"/>--%>
<display:column property="memo" title="备注" width="100" bgcolor="#FFFFFF" headerClass="chaxun"/>
<display:setProperty name="sort.behavior" value="list"/>
<display:setProperty name="paging.banner.include_first_last" value=""/>
<display:setProperty name="paging.banner.placement" value="bottom"/>
<display:setProperty name="export.csv" value="false"/>
<display:setProperty name="export.xml" value="false"/>
</display:table>
</c:if>
</td>
</tr>
<tr>
<td colspan="1"> </td>
</tr>
<tr>
<td align="center" valign="middle">
<script language="JavaScript">
function shutwin(){
window.close();
return;}
</script>
<input type="submit" name="Submit" value="关 闭" class="anniu" onclick="shutwin()"/>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -