<%@include file="/auth.jsp"%>
<%@page import="com.zky.zhyw.smwj.QueryUtils"%>
<%@page language="java" contentType="text/html;charset=utf-8"%>
<jsp:useBean id="getPara" scope="application" class="com.zky.para.SyncPara"/>
<%
	
	HashFmlBuf bufInfo=(HashFmlBuf)request.getAttribute("fileBuf");
	//HashFmlBuf param=Util.readStatic("SCOREVALUE");
	String writeDate="";
	String year[]=null;
	String fileSecret="";
	String fileState="";
%>
<html>
<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 rel="stylesheet" type="text/css" href="../../../js/2k3Grid.css">
<link rel="stylesheet" type="text/css" href="../../../js/2k3Menu.css">
<link rel="stylesheet" type="text/css" href="../../../js/2k3Dialog.css">
<script src="/js/check.js"></script>
<style type="text/css">
	
	.td1{
		width: 30%;
	}


table#csstable{
border-top:#D8E9FE 1px solid;
border-left:#D8E9FE 1px solid;
}
table#csstable td{
border-bottom:#D8E9FE 1px solid;
border-right:#D8E9FE 1px solid;
}


</style>
</head>
<body>
<h3 align="center">文件统计查询管理</h3>
<table id="csstable" width="90%"  border="0" align="center" cellpadding="0" cellspacing="0">
		
   		<tr bgcolor="#FFFFFF">
   			<td class="cell3">发放编号</td>
   			<td class="cell4"><%=bufInfo.fget("provide_id",0) %></td>
   			<td class="cell3">文件名称</td>
   			<td class="cell4"><%=bufInfo.fget("file_name",0)%></td>
   		</tr>
   		<tr bgcolor="#FFFFFF">
   			<td class="cell3">发放单位</td>
   			<td class="cell4"><%=QueryUtils.queryDepartname(bufInfo.fget("provide_departid",0))%></td>
   				<td class="cell3">
    				发放人员
    			</td>
    			<td class="cell4">
    		<%=QueryUtils.queryEmpName(bufInfo.fget("provide_staffid",0))%>
    			</td>	
   		</tr>
   		<tr bgcolor="#FFFFFF">
   			<td class="cell3">持有单位</td>
   			<td class="cell4"><%=bufInfo.fget("departname",0)%></td>
   				<td class="cell3">
    				持有人员
    			</td>
    			<td class="cell4">
    			<%=bufInfo.fget("empname",0) %>
    			</td>	
   		</tr>
   		<tr bgcolor="#FFFFFF">
   		<td class="cell3">持有日期</td>
   			<td class="cell4">
   			<%
   				writeDate=bufInfo.fget("hold_date",0);
   				 year=writeDate.split(" ");
   			%>
   				<%=year[0]%>
   			</td>
   			<td class="cell3">文件密级</td>
   			<td class="cell4">
   				<%if(bufInfo.fget("file_secret",0).equals("1")){ %>
    			秘密
    			<%}else if(bufInfo.fget("file_secret",0).equals("2")){ %>
    			机密
    			<%}else{ %>绝密<%} %>
   			</td>
   		</tr>
   		<tr bgcolor="#FFFFFF" >
    			<td class="cell3">
    			紧急程度
    			</td>
    			<td class="cell4" style="width: 20%" >
    			<%if(bufInfo.fget("instancy_extent",0).equals("1")){ %>
    			急件
    			<%}else if(bufInfo.fget("instancy_extent",0).equals("2")){ %>
    			加急
    			<%}else{ %>普通<%} %>
    			</td>
    			<td class="cell3" style="width: 19%">
    				接收部门
    			</td>
    			
    			<td class="cell4" style="width: 35%">
    				<%if(bufInfo.fget("target_departid",0).equals("")){ %>无接收部门<%}else{ %>
    				<%=QueryUtils.queryDepartname(bufInfo.fget("target_departid",0)) %>
    				<%} %>
    			</td>
    		</tr >
   	
   		<tr bgcolor="#FFFFFF" >
    	    	<td class="cell3" style="width: 19%">
    				发放状态
    			</td>
    			<td class="cell4" style="width: 35%">
    		<%if(bufInfo.fget("provide_state",0).equals("0")){ %>
    			<font color="#ff0000">未发放</font>
    			<%}else{ %>
    			<font color="#ff0000">已发放</font><%} %>
    			</td>
    			<td class="cell3">
    			接收状态
    			</td>
    			<td class="cell4" style="width: 20%" >
    				<%if(bufInfo.fget("receive_state",0).equals("0")){ %>
    			<font color="#ff0000">未接收</font>
    			<%}else{ %>
    			<font color="#ff0000">已接收</font>
    			<%} %>
    			</td>
    		</tr>
    			<tr bgcolor="#FFFFFF" >
    	    	<td class="cell3" style="width: 19%">
    				借阅状态
    			</td>
    			<td class="cell4" style="width: 35%">
    		<%if(bufInfo.fget("borrow_state",0).equals("0")){ %>
    			<font color="#ff0000">未借阅</font>
    			<%}else{ %>
    			<font color="#ff0000">已借阅</font>
    			<%} %>
    			</td>
    			<td class="cell3">
    			回收状态
    			</td>
    			<td class="cell4" style="width: 20%" >
    				<%if(bufInfo.fget("recover_state",0).equals("0")){ %>
    			<font color="#ff0000">未回收</font>
    			<%}else{ %>
    			<font color="#ff0000">已回收</font>
    			<%} %>
    			</td>
    		</tr>
    			<tr bgcolor="#FFFFFF" >
    	    	<td class="cell3" style="width: 19%">
    				提取状态
    			</td>
    			<td class="cell4" style="width: 35%">
    			<%if(bufInfo.fget("extract_state",0).equals("0")){ %>
    			<font color="#ff0000">未提取</font>
    			<%}else{ %>
    			<font color="#ff0000">已提取</font>
    			<%} %>
    			</td>
    			<td class="cell3">
    			销毁状态
    			</td>
    			<td class="cell4" style="width: 20%" >
    				<%if(bufInfo.fget("destory_state",0).equals("0")){ %>
    			<font color="#ff0000">未销毁</font>
    			<%}else{ %>
    			<font color="#ff0000">已销毁</font>
    			<%} %>
    			</td>
    		</tr>
    		
</table><br>
<%@include file="/print/print.jsp"%>
</body>
</html>