<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
	<%@page import="com.zky.pojo.MyUtils"%>
<%@page import="com.zky.pub.HashFmlBuf"%>
<!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;
}
.partone{ font-family:宋体; font-size:14px; font-weight:bolder;}
.main{float:left; font-family:宋体; font-size:14px; text-align:center;}
table{border-collapse:collapse; cellspacing="0px" cellpadding="0px"}
.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("SmryTj_info");
        int rowcount1 = buf.getRowCount();
%>
<body>
<div class="bt">
<br />
<h1 style="font-size: 25px;"><%= buf.fget("DEPARTNAME",0)%>人员信息表</h1>
</div>
<div>
<table width="740" border="0" >
  <tr>
    <td width="8%" class="partone">单位:</td>
    <td width="70%" class="partone"><%=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  style="line-height: 30px;">所属地市</td>
     <td><%= buf.fget("FRAMEWORKNAME",0)%></td>
     <td>所属区县</td>
     <td>
      <%if( buf.fget("FRAMEWORKNAME",0).equals("省直机关")){%>
           省直机关无区县
      <%}else{ %>
           <%= buf.fget("AREADEF",0)%>
      <%} %>

     </td>
     <td>下属部门</td>
       <td><%= buf.fget("part",0)%></td>
   </tr>
    <tr height="30"  >
     <td>单位名称</td>
     <td><%= buf.fget("DEPARTNAME",0)%></td>
     <td>人员数量</td>
     <td ><%=rowcount1 %></td>
     <td > 单位编号 </td>
       <td> <%= buf.fget("departid",0)%>     </td>
   </tr>
</table>
<table width="740px" border="1" >
  <tr  height="30"  >
    <td width="100" height="40" >人员编号</td>
    <td width="100" height="40" >人员姓名</td>
    <td width="100" height="40" >人员状态</td>
    <td width="100"height="40" >人员性别</td>
    <td width="100"height="40" >涉密程度</td>
     <td width="110"height="40" >是否为要害部门</td>
     <td width="100" height="40"  >拟任岗位</td>
       <td width="100" height="40"  >政治面貌</td>
  </tr>
  <%
  HashFmlBuf buf1=(HashFmlBuf)request.getAttribute("SmryTj_info");
	      if (buf1 != null) {
		    int rowcount = buf1.getRowCount();
		    for (int i=0; i<rowcount; i++) {
		    	  %>
   <tr  height="30"  bgcolor="#FFFFFF">
    <td  align="center" height="30"><%=buf1.fget("empid",i) %></td>
    <td><%=buf1.fget("empname",i) %></td>
    <td>
       <%
	             if(buf1.fget("empstate",i).equals("1") ){
	            %>
	             <font color="green">正常</font>
	            <%
	             }else{
	             %>
	           <font color="red">注销</font>  
	           <%
	            	 }
	            %>
  </td>
    <td> 
     <%
	             if(buf1.fget("sex",i).equals("1") ){
	            %>
	            男
	            <%
	             }else{
	             %>
	             女
	           <%
	            	 }
	            %></td>
    <td>
    <%=buf1.fget("empschool",i) %>
			<%					
		       if(buf1.fget("empschool",i).equals("0") ){
	            %>
	        核心
	            <%
	             }else if(buf1.fget("empschool",i).equals("1") ){
	             %>
	           核心
	           <%
	            	 }else if(buf1.fget("empschool",i).equals("2") ){
	            %>	
	            一般		
               <%} %>
</td>
    <td><%=buf1.fget("yaohaidemept",i) %></td>
    <td  >    
    <%=buf1.fget("empjob",i) %>    					
		     <%
	             if(buf1.fget("empjob",i).equals("0") ){
	            %>
	           核心涉密岗位
	            <%
	             }else if(buf1.fget("empjob",i).equals("1") ){
	             %>
	            重要涉密岗位
	           <%
	            	 }else if(buf1.fget("empjob",i).equals("2") ){
	            %>
	            一般涉密岗位
	            <%}else if(buf1.fget("empjob",i).equals("3") ){
		        %>
		        审计人员岗位
		        <%}else if(buf1.fget("empjob",i).equals("4") ){
		      %>
		      管理员岗位
		      <%}else if(buf1.fget("empjob",i).equals("5") ){
		    	  %>
		    	  销毁人员岗位
		    	  <%} %></td>
     <td  >
       <%=buf1.fget("emppolitics",i) %>    		
		   	<%					
		       if(buf1.fget("emppolitics",i).equals("0") ){
	            %>
	       党员
	            <%
	             }else if(buf1.fget("emppolitics",i).equals("1") ){
	             %>
	        团员
	           <%
	            	 }else if(buf1.fget("emppolitics",i).equals("2") ){
	            %>	
	        群众
               <%} %>	
</td>
  </tr>
  <%
	      }
  %>
  <%
	      }
  %>
</table>
<br></br>
<table align="center">
   <tr>
    <td><%@include file="/print/print.jsp"%></td>
  </tr>
</table>
</div>
</body>
</html>