tec_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>
- <%
- TecValueBean writBean = null;
- TecProcess archiveProxy = new TecProcess();
- 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="80" >
- <div align="center"><font size="2"><b>案卷号</b></font></div>
- </td>
- <td width="60" >
- <div align="center"><font size="2"><b>图号</b></font></div>
- </td>
- <td width="380" >
- <div align="center"><font size="2"><b>内容摘要</b></font></div>
- </td>
- <td width="100">
- <div align="center"><font size="2"><b>形成单位</b></font></div>
- </td>
- <td width="80" >
- <div align="center"><font size="2"><b>排架</b></font></div>
- </td>
- <td width="40" >
- <div align="center"><font size="2"><b>图别</b></font></div>
- </td>
- <td width="40" ><font size="2"><b>卷数</b></font></td>
- <td width="40" >
- <div align="center"><font size="2"><b>密级</b></font></div>
- </td>
- <td width="100" >
- <div align="center"><font size="2"><b>文字<br>
- (本)</b></font></div>
- </td>
- <td width="40" >
- <div align="center"><font size="2"><b>蓝图<br>
- (张)</b></font></div>
- </td>
- <td width="100" ><font size="2"><b>保管期限</b></font></td>
- <td width="100" ><font size="2"><b>形成日期</b></font></td>
- <td width="100" ><font size="2"><b>归档日期</b></font><font size="2"></font></td>
- <td width="40" ><font size="2"><b>备注</b></font></td>
- </tr>
- <%
- while(iter.hasNext())
- {
- writBean =(TecValueBean)iter.next();
- %>
- <tr>
- <td >
- <div align="center"><font size="2"> <%=writBean.getDocName()%> </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.getDep()%> </font></div>
- </td>
- <td >
- <div align="center"><font size="2"><%=writBean.getShelf()%> </font></div>
- </td>
- <td >
- <div align="center"><font size="2"> <%=writBean.getWordKey()%> </font></div>
- </td>
- <td >
- <div align="center"><font size="2"><%=writBean.getBuildMan()%> </font></div>
- </td>
- <td >
- <div align="center"><font size="2">
- <%
- if (writBean.getSecret()==1)
- out.println("一般");
- else if(writBean.getSecret()==2)
- out.println("秘密");
- else if(writBean.getSecret()==3)
- out.println("机密");
- else
- out.println("绝密");
- %>
- </font></div>
- </td>
- <td >
- <div align="center"><font size="2"><%=writBean.getTopName()%> </font></div>
- </td>
- <td >
- <div align="center"><font size="2"><%=writBean.getFileNum()%> </font></div>
- </td>
- <td >
- <div align="center"><font size="2">
- <%
- if (writBean.getSaveDate()==1)
- out.println("短期");
- else if(writBean.getSaveDate()==2)
- out.println("长期");
- else
- out.println("永久");
- %>
- </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">
- <%
- int wrDate=writBean.getBuildYear();
- out.println(StringUtil.changeIntToString(wrDate));
- %>
- </font></div>
- </td>
- <td >
- <div align="center"><font size="2"><%=writBean.getRemark()%></font></div>
- </td>
- </tr>
- <%
- }
- %>
- </table>
- </body>
- </html>
- <script language="JavaScript">
- function doprint()
- {
- window.print();
- window.history.back();
- }
- </script>