project_draft_accessory_audit.jsp
来自「java jsp教程」· JSP 代码 · 共 115 行
JSP
115 行
<%
/**
* @author liyd
* @desc 财务类证据列表
* 北京中软国际信息技术有限公司 审计事业部
*/
%>
<%@ page contentType="text/html;charset=GBK" %>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%
response.setHeader("Pragma", "No-cache");
response.setHeader("Cache-Control", "no-cache");
response.setDateHeader("Expires", 0);
%>
<html>
<head>
<title>审核、审理附件列表</title>
<meta http-equiv="Content-Type" content="text/html;charset=GBK">
<link rel="stylesheet" href="../css/style.css">
<script language="JavaScript" src="/auditpm/include/common.js"></script>
<style type="text/css">
<!--
body {
background-image: url("<%=request.getContextPath()%>/images/grid.gif");
}
.inp1 {
border-left-style:none;border-right-style:none;border-top-style:none; background-color:#EEF4FF;
}
.tag1 {
background-color:#6699CC;
width:73px; position:absolute;
left:50px;
top: 14px;
font-weight:300;
height:15px;
border-bottom-color:#FFFFFF;
font-size:13px;
text-align:center;
cursor:hand;
}
.tag2 {
background-color:#EEF4FF;
width:73px; position:absolute;
left:123px;
top: 14px;
font-weight:300;
height:15px;
border-bottom-color:#FFFFFF;
font-size:13px;
text-align:center;
cursor:hand;
}
-->
</style>
<script language="javascript">
function doDel(no){
var belongNo='<c:out value="${attachList[0].scriptno}"/>';
if(confirm("确认删除该条记录?")){
if(no == "")
return;
var url = "/cnpc/servlet/DeleteAttachmentServlet?attachNo=" + no +
"&attachType=0" + "&isAuditing=true&scriptNo=" + belongNo + "&toJsp=/servlet/ShowAttachmentServlet" ;
window.location=url;
}
}
function _viewScript(belongNo){
window.location = "/cnpc/servlet/ShowAuditingScriptServlet?scriptNo="+belongNo;
}
</script>
</head>
<body>
<br>
<div class="tag1" style="background-color:#EEF4FF " onClick="_viewScript('<c:out value="${belongNo}"/>')">审计底稿</div>
<div class="tag2" style="background-color:#a6d0f2">审计证据</div>
<table width="90%" border="0" cellspacing="1" cellpadding="2" align="center" bordercolordark="#DFDFFF" bordercolorlight="#003366" bgcolor="#6699CC">
<tr bgcolor="#a6d0f2"><td colspan="2" align="center"><strong>审计证据</strong></td>
</tr>
<tr bgcolor="#EEF4FF">
<td width="86%" bgcolor="#EEF4FF"><div align="center"><strong>名称</strong></div></td>
<!-- <td width="14%" align="center"><strong>操作</strong></td> -->
</tr>
<c:forEach var="attach" items="${attachList}">
<tr bgcolor="#EEF4FF">
<td width="56%" bgcolor="#EEF4FF">
<a href="#" onclick="download('<c:out value="${attach.attachmentno}"/>')">
<c:out value="${attach.attachmentname}"/>
</a>
</td>
<!-- <td width="44%" align="center" style="cursor:hand;color:blue"
onclick="doDel('<c:out value="${attach.attachmentno}" />')">删除</a></td> -->
</tr>
</c:forEach>
</table>
</body>
</html>
<script>
function download(attachno)
{
if(attachno == "")
{
alert("无法获取要下载的文件信息");
return;
}
var url = "<%=request.getContextPath()%>/servlet/DownloadAttachServlet?attachNo="+attachno;
window.location = url;
}
</script>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?