<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="cm" uri="/commons-tags" %>

<!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="../resources/style/base.css" rel="stylesheet" type="text/css"/>
<s:include value="../common/head.jsp" />
<script language="javascript" src="../resources/report/FusionCharts.js"></script>
<script language="javascript">
$(function(){
	var dataXml=$("#chartData").html();
	if(dataXml!=null){
		var chart = new FusionCharts("../resources/report/FCF_MSColumn3D.swf", "ChartId", ($(window).width()-70)+"", "300");
		chart.setDataXML(dataXml);		   
		chart.render("chartBody");
	}
});
</script>
</head>

<body>
<div class="body_list">
<s:include value="../common/body.jsp" />
<s:form action="emplReportTotalDept" onsubmit="return checkForm(this)">

 <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="table_line">
    <tr class="form_title">
      <td colspan="2">统计条件</td>
    </tr>
    <tr class="form_item">
      <td width="85%"><span class="required">•</span>统计类型：
	   		<s:select cssStyle="width:100px;" name="type.id" title="统计类型 为必填项" 
				list='#request.SysCodeFinder.find("REPORT_EMPL_DEPT_TOTAL_TYPE")' headerKey="" headerValue="" 
				listKey="id" listValue="codeName"/>
	  </td>
      <td width="15%" align="center">
        <input name="q" value="统 计" type="submit" />
      </td>
    </tr>
  </table>
</s:form>

<s:include value="../common/reportData.jsp">
	<s:param name="kindName" value="%{'部门'}" />
	<s:param name="caption" value="%{'在职员工各部门人数'}" />
	<s:param name="subcaption">按照 <s:property value="type.codeName"/> 统计</s:param>
</s:include>    

</div>  
</body>
</html>