departmentstat.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" />
- <%@ 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" />
- <%
- statInfo = DepartmentStatProxy.stat(StatCondition,"DepartmentStat");
- Collection Col_categoryname = statInfo.getCategoryName();
- Collection Col_departmentname = statInfo.getDepartmentName();
- 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:365px; 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_departmentname.size();i ++)
- {
- if (i%2 == 0)
- {
- if (Col_departmentname.size() % 2 ==0)
- out.println("<tr align=middle bgcolor=#fafafa>");
- else
- out.println("<tr align=middle bgcolor=#e0e0e0>");
- }
- else
- if (Col_departmentname.size() % 2 ==0)
- out.println("<tr align=middle bgcolor=#e0e0e0>");
- else
- out.println("<tr align=middle bgcolor=#fafafa>");
- %>
- <td><font class="strong">
- <%
- out.print(Col_departmentname.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>