thing_print.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:4k
源码类别:
电子政务应用
开发平台:
Java
- <%@ page import="java.util.*" %>
- <%@ page import="com.vnex.intranet.util.*"%>
- <%@ page import="com.vnex.intranet.archives.value.*" %>
- <%@ page import="com.vnex.intranet.archives.process.*" %>
- <%@ page errorPage="/vnex/ErrorPage.jsp" %>
- <html>
- <head>
- <title>Net-Office</title>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- </head>
- <%
- WritValueBean writBean = null;
- ThingProcess archiveProxy = new ThingProcess();
- Collection coll = archiveProxy.selectAllRows();
- Iterator iter = coll.iterator();
- %>
- <body bgcolor="#FFFFFF" text="#000000" onload=doprint()>
- <div align="center"><font size="4"><b><font size="5">铁通公司实物档案库</font></b></font>
- </div>
- <table width="100%" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000">
- <tr>
- <td width="100" rowspan="2" >
- <div align="center"><font size="2"><b>档案号</b></font></div>
- </td>
- <td width="100" rowspan="2" >
- <div align="center"><font size="2"><b>类别</b></font></div>
- </td>
- <td width="101" rowspan="2" >
- <div align="center"><font size="2"><b>专业</b></font></div>
- </td>
- <td width="350" rowspan="2">
- <div align="center"><font size="2"><b>名称</b></font></div>
- </td>
- <td width="102" rowspan="2" >
- <div align="center"><font size="2"><b>获奖级别</b></font></div>
- </td>
- <td width="120" rowspan="2" >
- <div align="center"><font size="2"><b>发奖单位</b></font></div>
- </td>
- <td width="120" rowspan="2" >
- <div align="center"><font size="2"><b>获奖时间</b></font></div>
- </td>
- <td width="150" colspan="3" >
- <div align="center"><font size="2"><b>数量</b></font></div>
- </td>
- <td width="50" rowspan="2" >
- <div align="center"><font size="2"><b>备注</b></font></div>
- </td>
- </tr>
- <tr>
- <td width="50" >
- <div align="center"><font size="2"><b>奖状</b></font></div>
- </td>
- <td width="50" >
- <div align="center"><font size="2"><b>奖牌</b></font></div>
- </td>
- <td width="50" >
- <div align="center"><font size="2"><b>证书</b></font></div>
- </td>
- </tr>
- <%
- while(iter.hasNext())
- {
- writBean =(WritValueBean)iter.next();
- %>
- <tr>
- <td >
- <div align="center"><font size="2"> <%=writBean.getDocName()%> </font></div>
- </td>
- <td >
- <div align="center"><font size="2"><%=writBean.getTopName()%> </font></div>
- </td>
- <td >
- <div align="center"><font size="2"><%=writBean.getFileBef()%> </font></div>
- </td>
- <td >
- <div align="left"><font size="2"><%=writBean.getTitle()%></font></div>
- </td>
- <td >
- <div align="center"><font size="2"><%=writBean.getWordKey()%> </font></div>
- </td>
- <td >
- <div align="center"><font size="2"> <%=writBean.getDep()%> </font></div>
- </td>
- <td >
- <div align="center"><font size="2">
- <%
- int wDate=writBean.getBuildDate();
- out.println(StringUtil.changeIntToString(wDate));
- %>
- </font></div>
- </td>
- <td >
- <div align="center"><font size="2"> <%if(writBean.getSaveDate()!=0) out.println(writBean.getSaveDate());%> </font></div>
- </td>
- <td >
- <div align="center"><font size="2"> <%if(writBean.getBuildYear()!=0) out.println(writBean.getBuildYear());%> </font></div>
- </td>
- <td >
- <div align="center"><font size="2"><%if(writBean.getSecret()!=0) out.println(writBean.getSecret());%> </font></div>
- </td>
- <td >
- <div align="center"><font size="2"><%=writBean.getRemark()%> </font></div>
- </td>
- </tr>
- <%
- }
- %>
- </table>
- <font size="2"></font>
- </body>
- </html>
- <script language="JavaScript">
- function doprint()
- {
- window.print();
- window.history.back();
- }
- </script>