📄 project_viewinfo2_2.jsp
字号:
<%
response.setHeader("Pragma", "No-cache");
response.setHeader("Cache-Control", "no-cache");
response.setDateHeader("Expires", 0);
%>
<%@ page contentType="text/html;charset=GBK" %>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%@ page import="java.util.Map" %>
<%@ page import="java.util.StringTokenizer" %>
<%@ page import="java.util.Iterator" %>
<%@ page import="com.icss.cnpc.project.vo.DocListVO" %>
<%@ page import="com.icss.j2ee.util.StringUtil" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<link rel="stylesheet" href="<%=request.getContextPath()%>/css/stylesheet1.css">
<link rel="stylesheet" href="<%=request.getContextPath()%>/css/style.css">
<title>项目资料卡--准备阶段</title>
<style type="text/css">
<!--
.style4 {font-size: 18px}
.style5 {background-color: #6699CC; width: 130px; position: absolute; left: 36px; top: 31px; font-weight: 300; height: 18px; border-bottom-color: #FFFFFF; font-size: 14px; text-align: center; cursor: hand; }
.style6 {background-color: #EEF4FF; width: 126px; position: absolute; left: 619px; top: 31px; font-weight: 300; height: 18px; border-bottom-color: #FFFFFF; font-size: 14px; text-align: center; cursor: hand; }
.style13 {background-color: #EEF4FF; width: 130px; position: absolute; left: 165px; top: 31px; font-weight: 300; height: 18px; border-bottom-color: #FFFFFF; font-size: 14px; text-align: center; cursor: hand; }
.style14 {background-color: #EEF4FF; width: 130px; position: absolute; left: 289px; top: 31px; font-weight: 300; height: 18px; border-bottom-color: #FFFFFF; font-size: 14px; text-align: center; cursor: hand; }
.style15 {background-color: #EEF4FF; width: 130px; position: absolute; left: 406px; top: 31px; font-weight: 300; height: 18px; border-bottom-color: #FFFFFF; font-size: 14px; text-align: center; cursor: hand; }
.style16 {background-color: #EEF4FF; width: 120px; position: absolute; left: 516px; top: 31px; font-weight: 300; height: 18px; border-bottom-color: #FFFFFF; font-size: 14px; text-align: center; cursor: hand; }
.style12 {font-size: 12pt}
.style17 {font-size: 10pt}
-->
</style>
<script>
function _view(id)
{
var projNo = '<c:out value="${projNo}"/>';
window.location = "<%=request.getContextPath()%>/servlet/ShowProjectViewInfoServlet?projNo=" + projNo + "&phaseno=" + id;
}
function download(attachno)
{
if(attachno == "")
{
alert("无法获取要下载的文件信息");
return;
}
var url = "<%=request.getContextPath()%>/servlet/DownloadAttachServlet?attachNo="+attachno;
window.location = url;
}
</script>
</head>
<body background=<%=request.getContextPath()%>/images/grid.gif bgColor=#eef4ff>
<TABLE cellSpacing=0 cellPadding=0 width="98%" align=center border=0>
<tr>
<td>
<div class="style5" onclick="_view(1)" style="background-color: #EEF4FF">项目基础信息</div>
<div class="style13" style="background-color: #a6d0f2">项目准备阶段</div>
<div class="style14" onclick="_view(3)" style="background-color: #EEF4FF">项目实施阶段</div>
<div class="style15" onclick="_view(4)" >审计报告阶段</div>
<div class="style16" onclick="_view(5)">审计处理阶段</div>
<div class="style6" onclick="_view(6)">审计整改阶段</div>
<p> </p>
<table width="95%" border="0" cellspacing="1" cellpadding="2" align="center" valign="top" bordercolordark="#DFDFFF" bordercolorlight="#003366" bgcolor="#b3c4db">
<tr bgcolor="#a6d0f2">
<td height="29" colspan="5" ><div align="center"><span class="style4">项 目 准 备 阶 段</span></div></td>
</tr>
<tr bgcolor="#ffffff"><td colspan="5"> </td></tr>
<%
Map docMap = (Map)request.getAttribute("docMap");
if(docMap != null )
{
int index = 1;
Iterator iter = docMap.entrySet().iterator();
while(iter.hasNext())
{
Map.Entry entry = (Map.Entry)iter.next();
DocListVO docInfo = (DocListVO)entry.getValue();
pageContext.setAttribute("docInfo",docInfo);
%>
<tr bgcolor="#EEF4FF">
<td width="209" rowspan="5" bgcolor="#EEF4FF" align="center" style="vertical-align:middle">
<span class="style12"><%=(index++)%>.<%=docInfo.getPhaseresourcenamename()%></span></td>
<td width="199" height="22" bgcolor="#EEF4FF"><div align="right">文号:</div></td>
<td width="260" bgcolor="#EEF4FF"><div align="left"><c:out value="${docInfo.docnumber}" /></div></td>
<td width="260" bgcolor="#EEF4FF"><div align="right">编写时间:</div></td>
<td width="260" bgcolor="#EEF4FF"><p align="left"><c:out value="${docInfo.createtime}" /></p></td>
</tr>
<tr bgcolor="#EEF4FF">
<td width="199" height="20" bgcolor="#EEF4FF"><div align="right">抄送:</div></td>
<td width="260" bgcolor="#EEF4FF">
<div align="left"><c:out value="${docInfo.copyfor}" /></div></td>
<td width="260" bgcolor="#EEF4FF"><div align="right">成文时间:</div></td>
<td width="260" bgcolor="#EEF4FF">
<p align="left"><c:out value="${docInfo.createtime}" /></p></td>
</tr>
<tr bgcolor="#EEF4FF">
<td height="20" bgcolor="#EEF4FF"><div align="right">抄报:</div></td>
<td bgcolor="#EEF4FF">
<div align="left"><c:out value="${docInfo.report}" /></div></td>
<td bgcolor="#EEF4FF"><div align="right">送达时间:</div></td>
<td bgcolor="#EEF4FF">
<div align="left"><c:out value="${docInfo.receivetime}" /></div></td>
</tr>
<tr bgcolor="#EEF4FF">
<td height="21" bgcolor="#EEF4FF"><div align="right">审计人:</div></td>
<td bgcolor="#EEF4FF">
<div align="left"><c:out value="${docInfo.creatorname}" /></div></td>
<td bgcolor="#EEF4FF"><div align="right">审计单位:</div></td>
<td bgcolor="#EEF4FF">
<div align="left"><c:out value="${docInfo.createorgname}" /></div></td>
</tr>
<tr bgcolor="#EEF4FF">
<td height="26" align="center" bgcolor="#EEF4FF" style="vertical-align:middle"><div align="right">备注:</div></td>
<td height="24" align="center" bgcolor="#EEF4FF" style="vertical-align:middle">
<div align="left"><c:out value="${docInfo.note}" /></div></td>
<td height="24" align="center" bgcolor="#EEF4FF" style="vertical-align:middle"><div align="right">相关文档:</div></td>
<td height="24" align="center" bgcolor="#EEF4FF" style="vertical-align:middle">
<div align="left">
<%
String key = (String)entry.getKey();
StringTokenizer st = new StringTokenizer(key,"%");
if(st.hasMoreTokens())
{
String attachInfo = st.nextToken();
String attachNo = "";
String attachName = "";
if( !"none".equals(attachInfo) )
{
StringTokenizer st2 = new StringTokenizer(attachInfo,"$");
if(st2.hasMoreTokens())
attachNo = st2.nextToken();
if(st2.hasMoreTokens())
attachName = st2.nextToken();
%>
<a href="#" onclick="download('<%=attachNo%>')"><%=attachName%></a>
<%
}
}
else
{
%>
<c:out value="${docInfo.docname}" />
<%
}
%>
</div></td>
</tr>
<tr bgcolor="#ffffff"><td colspan="5"> </td></tr>
<%
}
}
%>
</table> <p> </p></td>
</tr>
</TABLE>
<br>
<p align="center"><img src="<%=request.getContextPath()%>/images/close.gif" style="cursor:hand;" align="absmiddle" alt="关闭" onClick="window.close()"></p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -