<%@ 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_Pie3D.swf", "ChartId", ($(window).width()-70)+"", "350");
		chart.setDataXML(dataXml);		   
		chart.render("chartBody");
	}
});
</script>
</head>

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

 <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="table_line">
    <tr class="form_title">
      <td colspan="3">薪资配置分析</td>
    </tr>
    <tr class="form_item">
      <td width="28%"><span class="required">•</span>统计类型：
	   		<s:select cssStyle="width:120px;" name="type.id" title="统计类型 为必填项" 
				list="#request.SysCodeFinder.find('EPORT_SALARY_CONF_TOTAL_TYPE')" headerKey="" headerValue="" 
				listKey="id" listValue="codeName"/>
	  </td>
      <td width="62%"><span class="required">•</span>帐套项目：
        <s:select cssStyle="width:120px;" name="item.id" title="帐套项目 为必填项" 
				list='itemList' headerKey="" headerValue="" 
				listKey="id" listValue="name"/>
		<span class="info">对薪资帐套中类型为“固定值”的帐套项目进行统计。</span>
      </td>
      <td width="10%" align="center">
        <input name="q" value=" 统 计 " type="submit" />
      </td>
    </tr>
  </table>
</s:form>

<s:include value="../common/reportData.jsp">
   	<s:param name="kindName" value="%{type.codeName}" />
    <s:param name="valueName" value="%{'金额'}" />
    <s:param name="caption" value="%{'薪资配置分析'}" />
	<s:param name="subcaption">按照 <s:property value="type.codeName"/> 统计</s:param>
</s:include>

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