<%@page import="com.zky.pojo.MyUtils"%> <%@page import="com.zky.pub.HashFmlBuf"%> <%@page language="java" contentType="text/html;charset=utf-8"%> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>文件下发管理</title> <link href="../../css/font.css" rel="stylesheet" type="text/css"></link> <style> .bt{text-align:center;} body { background-color: #FFF; margin:0 auto; width:740px; text-align:center; } .partone{ font-family:宋体; font-size:14px; font-weight:bolder;} .main{ font-family:宋体; font-size:14px; text-align:center;} table{border-collapse:collapse; cellspacing:0px;cellpadding:0px;text-align: center;} .maintwo{float:left;font-family:宋体; font-size:14px; text-align:center;} .footer{float:left;font-family:宋体; font-size:14px; margin-left:500px; margin-top:10px;} </style> </head> <% HashFmlBuf buf=(HashFmlBuf)request.getAttribute("provideBuf"); %> <body> <div class="bt"> <h1><%=buf.fget("departname",0) %> <%if(buf.fget("file_secret",0).equals("1")){ %> 秘密 <%}else if(buf.fget("file_secret",0).equals("2")){ %> 机密 <%}else{ %>绝密<%} %> 文件分发登记表</h1> </div> <div> <table width="740" border="0" > <tr> <td width="8%" class="partone">单位:</td> <td width="70%" class="partone" align="left"><%=buf.fget("departname",0) %></td> <td width="8%" class="partone" align="right">日期:</td> <td width="12%" class="partone" align="right"><%=MyUtils.getDateString() %></td> </tr> </table> </div> <div class="main"> <table width="740px" border="1" > <tr height="30"> <td>文件标题</td> <td>文号</td> <td>密级及保密期限</td> <td>紧急程度</td> <td>定密依据</td> </tr > <tr height="30"> <td><%=buf.fget("file_name", 0) %></td> <td><%=buf.fget("file_num",0) %></td> <td> <%if(buf.fget("file_secret",0).equals("1")){ %> 秘密 <%}else if(buf.fget("file_secret",0).equals("2")){ %> 机密 <%}else{ %>绝密<%} %> </td> <td > <%if(buf.fget("instancy_extent",0).equals("1")){ %> 急件 <%}else if(buf.fget("instancy_extent",0).equals("2")){ %> 加急 <%}else{ %>普通<%} %> </td> <td><%=buf.fget("file_secretyj",0) %></td> </tr> </table> <table width="740px" border="1" > <tr height="40"> <td align="center">文件编号</td> <td align="center">收文单位</td> <td align="center">发文份数</td> <td align="center">接收人签字</td> <td align="center">接收时间</td> </tr> <% HashFmlBuf buf1=(HashFmlBuf)request.getAttribute("provideBuf1"); if (buf1 != null) { int rowcount = buf1.getRowCount(); for (int i=0; i<rowcount; i++) { %> <tr bgcolor="#FFFFFF" height="40"> <td><%=buf.fget("file_id",i)%></td> <td><%=buf1.fget("departname",i)%></td> <td><%=buf.fget("provide_count",i)%></td> <td><%=buf1.fget("empname",i)%></td> <td><%=buf1.fget("receive_date",i)%></td> </tr> <% } %> <% } %> </table> <table width="740" align="center"> <tr align="center" height="60" valign="middle"> <td> <%@include file="/print/print.jsp"%> </td> </tr> </table> </div> </body> </html>