📄 accept.jsp
字号:
<%@ page contentType="text/html; charset=gb2312" language="java" errorPage="" %>
<%@ include file="../hear/hear.jsp"%>
<html >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>接收公文</title>
<link href="../css/style.css" rel="stylesheet" type="text/css" />
<script src="../js/oa.js" language="javascript"></script>
<style type="text/css">
<!--
.style1 {
font-size: 16px;
font-weight: bold;
color: #000000;
}
.style4 {
color: #0079F2;
font-weight: bold;
font-size: 12px;
}
.style6 {
color: #106AB4;
font-weight: bold;
}
.style7 {
color: #005EBB;
font-weight: bold;
}
.style8 {color: #000000}
-->
</style>
</head>
<body bgcolor="#ECF1FF">
<table width="668" height="25" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="78%" height="24" colspan="6" align="center" background="../image/zs.gif" class="advise style1"><div align="center">接收公文</div></td>
</tr>
</table>
<table width="668" height="196" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<form action="complete" method="post" name="form1" id="form1" onsubmit="return accepts()">
<%
Collection coll=(Collection)request.getAttribute("msg");
if(coll.isEmpty()){
%>
<tr>
<td height="19" colspan="5" align="center" class="advise style7">无待办公文</td>
</tr>
<% }else{
Iterator it=coll.iterator();
if(it.hasNext()){
Bumf bumf=(Bumf)it.next();
%>
<tr>
<td width="207" align="left" ><div align="right" class="style4">发送人序号:<%=bumf.getSendter()%></div></td>
<td width="342" align="center" class="style4" >现在有
<%
String ok=(String)request.getAttribute("count");
if(ok!=null){
out.print(ok);
}
request.removeAttribute("count");
%>条待办公文</td>
<td width="202"><span class="style4">公文第[<%=bumf.getId()%>]字号</span></td>
</tr>
<tr>
<td height="27" colspan="5" align="center" >标 题:<%=bumf.getTitle()%></td>
</tr>
<tr>
<td height="81" colspan="5" align="center" valign="top"><textarea name="bumf" cols="50" rows="5"><%=bumf.getContent()%></textarea></td>
</tr>
<tr>
<td> </td>
<td><div align="left"><span class="style6">附件:
</span></div></td>
<td><span class="style4">
<%
out.print(bumf.getAffix());
session.setAttribute("msg",bumf.getAffix());
%>
</span></td>
<td width="27" height="18" colspan="2" > <a href="upload.jsp">
</tr>
<tr>
<td colspan="5" align="center" ><input type="submit" name="Submit" value="处理完成" />
<input type="hidden" name="bumfid" value="<%=bumf.getId()%>">
<input type="submit" name="Submit" value="以后处理" /></td>
</tr>
<%
}
}
request.removeAttribute("msg");
%>
</form>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -