datestat.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:5k
源码类别:
电子政务应用
开发平台:
Java
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <HTML>
- <jsp:include page="/vnex/page/FORM_HEAD.jsp" />
- <link rel="stylesheet" href="/vnex/hr_MacOS.css" type="text/css">
- <script language="JavaScript">
- <!--
- function MM_reloadPage(init) { //reloads the window if Nav4 resized
- if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
- document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
- else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
- }
- MM_reloadPage(true);
- // -->
- </script>
- <%@ page import="java.util.*"%>
- <%@ page import="java.sql.*"%>
- <%@ page import="com.vnex.intranet.util.*"%>
- <%@ page import="com.vnex.intranet.equipment.value.*"%>
- <%@ page import="com.vnex.intranet.equipment.process.*"%>
- <%
- EquipmentStatViewBean statInfo;
- %>
- <jsp:useBean id="StatCondition" class="com.vnex.intranet.equipment.value.EquipmentConditionBean" scope="Application" />
- <jsp:useBean id="DepartmentStatProxy" class="com.vnex.intranet.equipment.proxy.EquipmentProxyBean" scope="Application" />
- <%
- String year = request.getParameter("year");
- StatCondition.setYear(year);
- statInfo = DepartmentStatProxy.stat(StatCondition,"DateStat");
- Collection Col_categoryname = statInfo.getCategoryName();
- Collection Col_month = statInfo.getMonth();
- Collection Col_quantity = statInfo.getQuantity();
- %>
- <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
- <script language="JavaScript1.2" src="/vnex/menu/dockmenu_office.js"></script>
- <script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
- <DIV align=center>
- <form name="form1" method="post" action="">
- <TABLE class=outter cellSpacing=0 cellPadding=0 border=0 width="600">
- <TBODY>
- <jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" />
- <TR>
- <TD colSpan=3 align="center"><br>
- <table width="600" border="1" cellspacing="1" bordercolor="#666666">
- <tr>
- <td bgcolor="#fafafa">
- <div id="Layer1" style="width:600px; height:340px; z-index:1; overflow:auto ">
- <table class=title cellspacing=1 cellpadding=2 width="600" border=0>
- <tr bgcolor="#666666">
- <td colspan="<%=Col_categoryname.size()+1%>">
- <div align="left"><font class="strongw"><a href="/mainctrl/home/index"><font color="#FFFFFF">首页</font></a>>><a href="/mainctrl/office/main"><font color="#FFFFFF">办公室管理</font></a>>><a href="/mainctrl/equipmentSearchResult"><font color="#FFFFFF">固定资产管理</font></a>>><a href="/mainctrl/equipmentStat"><font color="#FFFFFF">固定资产统计</font></a>>>按时间统计</font></div>
- </td>
- </tr>
- <%
- int i,j;
- %>
- <tr align=middle>
- <td><font class="strong">月份</font></td>
- <%
- for (i = 0;i < Col_categoryname.size(); i++)
- {
- %>
- <td><font class="strong"><%=Col_categoryname.toArray()[i]%></font></td>
- <%
- }
- %>
- </tr>
- <%
- for (i = 0;i < Col_month.size();i ++)
- {
- if (i%2 == 0)
- out.println("<tr align=middle bgcolor=#fafafa>");
- else
- out.println("<tr align=middle bgcolor=#e0e0e0>");
- %>
- <td><font class="strong">
- <%
- out.print(Col_month.toArray()[i]+" 月");
- %>
- </font></td>
- <%
- for (j = 0;j < Col_categoryname.size(); j++)
- {
- %>
- <td><%=Col_quantity.toArray()[i * Col_categoryname.size() + j].toString()%></td>
- <%
- }
- %>
- </tr>
- <%
- }
- %>
- <tr bgcolor="#FAFAFA">
- <td colspan="<%=Col_categoryname.size()+1%>" align="center">
- <input type="button" name="Button322" value="返回" class="file" onclick="history.back()">
- </td>
- </tr>
- </table>
- </div>
- </td>
- </tr>
- </table>
- <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
- </TD>
- </TR>
- <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
- </TBODY>
- </TABLE>
- <BR>
- <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
- </form>
- </DIV>
- </BODY>
- </HTML>