personal_archive_detail_data.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:7k
源码类别:
电子政务应用
开发平台:
Java
- <%@ taglib uri="/vnex.tld" prefix="vnex" %>
- <%@ taglib uri="/vnex_archive.tld" prefix="archive" %>
- <%@ page errorPage="/vnex/ErrorPage.jsp" %>
- <%@ page import="java.lang.*"%>
- <%@ page import="java.sql.Timestamp"%>
- <%@ page import="com.vnex.intranet.util.*"%>
- <%@ page import="com.vnex.intranet.system.loader.*"%>
- <%@ page import="com.vnex.intranet.system.value.*"%>
- <%@ page import="com.vnex.intranet.archives.value.ArchiveValueBean"%>
- <jsp:useBean id="archiveProxy" class="com.vnex.intranet.archives.proxy.ArchiveProxyBean" scope="session" />
- <%
- String str = request.getParameter("archiveId");
- ArchiveValueBean archiveInfo = archiveProxy.selectArchive((new Integer(str)).intValue());
- System.out.println("" + archiveInfo.getArchiveId());
- CategoryLoader cl = new CategoryLoader();
- CategoryValueBean[] cvb = cl.getByNameWithChildren("文件来源单位");
- System.out.println("OK1 " + archiveInfo.getFileSourceId());
- String fileSource = "";
- for (int i=0;i<cvb.length;i++)
- {
- if (cvb[i].getId() == archiveInfo.getFileSourceId())
- {
- fileSource = cvb[i].getName();
- break;
- }
- }
- System.out.println(archiveInfo.getFileSourceId() + fileSource);
- String createDate = "";
- if (archiveInfo.getCreateDate() != null)
- createDate = TimeStamp.formatCalendar(1,archiveInfo.getCreateDate());
- String pageTo = "/mainctrl/archive/archiveDetail?archiveId="+str;
- %>
- <table class=title border="0" cellpadding="2" cellspacing="1" width="600">
- <tr bgcolor="#e0e0e0">
- <td width="17%">
- <div align="left"><strong> 文件类型:</strong></div>
- </td>
- <td width="83%">
- <div align="left"><%= archiveInfo.getArchiveType()%></div>
- </td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="17%">
- <div align="left"><strong> 存档日期:</strong></div>
- </td>
- <td width="83%">
- <div align="left"><%= TimeStamp.formatCalendar(1,archiveInfo.getSaveArchiveDate())%></div>
- </td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="17%">
- <div align="left"><strong> 档案编号:</strong></div>
- </td>
- <td width="83%">
- <div align="left"><%= archiveInfo.getArchiveDisplayId()%></div>
- </td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="17%">
- <div align="left"><strong> 收件人:</strong></div>
- </td>
- <td width="83%">
- <div align="left"><%= archiveInfo.getReceiver()%></div>
- </td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="17%"><strong> 送存人:</strong></td>
- <td width="83%"><%= archiveInfo.getSender()%></td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="17%">
- <div align="left"><strong> 文件来源:</strong></div>
- </td>
- <td width="83%">
- <div align="left"> <%= fileSource%></div>
- </td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="17%">
- <div align="left"><strong> 发文日期:</strong></div>
- </td>
- <td width="83%">
- <div align="left"><%= createDate%></div>
- </td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="17%">
- <div align="left"><strong> 标题:</strong></div>
- </td>
- <td width="83%">
- <div align="left"> <%= archiveInfo.getArchiveTitle()%></div>
- </td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="17%"><strong> 主题词:</strong></td>
- <td width="83%"> <%= archiveInfo.getArchiveKeyword()%> </td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="17%" valign="top">
- <div align="left"><strong> 内容概要:</strong></div>
- </td>
- <td width="83%">
- <div align="left"><%= archiveInfo.getContents()%></div>
- </td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="17%">
- <div align="left"><strong> 保密级别:</strong></div>
- </td>
- <td width="83%">
- <div align="left"> <%= archiveInfo.getSafetyLevel()%></div>
- </td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="17%">
- <div align="left"><strong> 可否复制:</strong></div>
- </td>
- <td width="83%">
- <div align="left"> <%= (archiveInfo.getCopyPermission()==1)?("是"):("否") %></div>
- </td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="17%">
- <div align="left"><strong> 可复制份数:</strong></div>
- </td>
- <td width="83%">
- <div align="left"><%= archiveInfo.getCopyNum()%></div>
- </td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="17%">
- <div align="left"><strong> 可否打印:</strong></div>
- </td>
- <td width="83%">
- <div align="left"><%= (archiveInfo.getPrintPermission()==1)?("是"):("否") %></div>
- </td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="17%">
- <div align="left"><strong> 可打印份数:</strong></div>
- </td>
- <td width="83%">
- <div align="left"><%= archiveInfo.getPrintNum()%></div>
- </td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="17%">
- <div align="left"><strong> 可否借阅:</strong></div>
- </td>
- <td width="83%">
- <div align="left"><%= (archiveInfo.getLendPermission()==1)?("是"):("否") %></div>
- </td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="17%">
- <div align="left"><strong> 已经传阅:</strong></div>
- </td>
- <td width="83%">
- <div align="left"><%= (archiveInfo.getSendViewFlag()==1)?("是"):("否") %></div>
- </td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="17%" valign="top">
- <div align="left"><strong> 领导批示:</strong></div>
- </td>
- <td width="83%">
- <div align="left"><%= archiveInfo.getLeaderNotes()%></div>
- </td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="17%">
- <div align="left"><strong> 电子文档:</strong></div>
- </td>
- <td width="83%">
- <div align="left"> </div>
- </td>
- </tr>
- <archive:attachmentList archiveId="<%=(new Integer(str)).intValue()%>" >
- <tr bgcolor="#ffffff">
- <td colspan="2">
- <table width="100%" border="0" cellspacing="1" cellpadding="2" class="title">
- <tr align="center">
- <td bgcolor="#e0e0e0" width="20%">
- <div align="center"><font class="strong">文件名</font></div>
- </td>
- <td width="20%" bgcolor="#e0e0e0"><font class="strong">标题</font></td>
- <td width="40%" bgcolor="#e0e0e0"><font class="strong">概要</font></td>
- <td width="20%" bgcolor="#e0e0e0"><font class="strong">上传日期</font></td>
- </tr>
- <vnex:items paging="true">
- <tr bgcolor="<vnex:itemsColor />">
- <td width="20%" bgcolor="#fafafa"><a href="<archive:attachmentAttribute attribute="file_path"/>"
- target="_blank"><archive:attachmentAttribute attribute="file_name"/></a></td>
- <td width="20%" bgcolor="#fafafa"><a href="/mainctrl/archive/uploadFileDetail?fileId=<archive:attachmentAttribute attribute="file_id"/>"><archive:attachmentAttribute attribute="file_title"/></a></td>
- <td width="40%" bgcolor="#fafafa"><archive:attachmentAttribute attribute="file_summary"/></td>
- <td width="2%" bgcolor="#fafafa"><archive:attachmentAttribute attribute="send_date"/></td>
- </tr>
- </vnex:items>
- <tr bgcolor="#e0e0e0">
- <td colspan="4"> <vnex:pagingTag pageName="<%=pageTo%>" /> </td>
- </tr>
- </table>
- </td>
- </tr>
- </archive:attachmentList>
- <tr bgcolor="#fafafa" height="30">
- <td align="center" colspan="2"> <strong>
- <input onClick = toList() type="button" value="返回" name="list" class="text">
- </strong></td>
- </tr>
- </table>