elc_search_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;
- WritValueBean writB = (WritValueBean)session.getAttribute("elcSession");
- ElcProcess archiveProxy = new ElcProcess();
- Collection coll = archiveProxy.selectArchiveRows(writB);
- Iterator iter = coll.iterator();
- %>
- <body bgcolor="#FFFFFF" text="#000000" onload=doprint()>
- <div align="center">
- <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" >
- <div align="center"><font size="2"><b>案卷号</b></font></div>
- </td>
- <td width="140" >
- <div align="center"><font size="2"><b>电子文档类型</b></font></div>
- </td>
- <td width="300" >
- <div align="center"><font size="2"><b>电子文档标题</b></font></div>
- </td>
- <td width="120">
- <div align="center"><font size="2"><b>文件作者</b></font></div>
- </td>
- <td width="121" >
- <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="80" >
- <div align="center"><font size="2"><b>年度</b></font></div>
- </td>
- <td width="100">
- <div align="center"><font size="2"></font><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.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">
- <%
- int wDate=writBean.getBuildDate();
- out.println(StringUtil.changeIntToString(wDate));
- %>
- </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">
- <%
- 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"><%=writBean.getBuildYear()%></div>
- </td>
- <td >
- <div align="center"><font size="2"><%=writBean.getRemark()%> </font></div>
- </td>
- </tr>
- <%
- }
- %>
- </table>
- </div>
- </body>
- </html>
- <script language="JavaScript">
- function doprint()
- {
- window.print();
- window.history.back();
- }
- </script>