?? 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}
.style6 {color: #106AB4}
.style7 {
color: #005EBB;
font-weight: bold;
}
.style8 {color: #000000}
-->
</style>
</head>
<body bgcolor="#FFFFDF">
<table width="780" height="25" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="78%" height="24" colspan="6" align="center" background="../KCM/zs.gif" class="advise style1"><div align="center">接收公文</div></td>
</tr>
</table>
<table width="780" 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">發送人序號:<%=bumf.getSendter()%></div></td>
<td width="342" align="center" class="column" >現在有
<%
String ok=(String)request.getAttribute("count");
if(ok!=null){
out.print(ok);
}
request.removeAttribute("count");
%>條待辦公文</td>
<td width="202"><span class="style8">公文第[<%=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 + -