Files
ziqim/Yangcai365_web/manage/zview/stat/back/sectionFinalizeCompleteStat.zml
T
2025-02-20 14:59:35 +08:00

117 regels
4.2 KiB
Plaintext
Ruw Blame Geschiedenis

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
${Scripts.src("/zinc/chart/highcharts.js")}
${Scripts.src("/zinc/chart/exporting.js")}
${Scripts.src("/zinc/chart/highcharts-zh_CN.js")}
<script>
Z.onload(function()
{
var orgAllOrder = '${passOrderSum}';
Highcharts.chart('container',
{
chart: {plotBackgroundColor: null,plotBorderWidth: null,plotShadow: false,type: 'pie'},
title: {text: '部门定稿统计(总定稿量:'+orgAllOrder+''},
colors: ['#f7a35c', '#e4d354'],
tooltip: {pointFormat: '{series.name}: <b>{point.percentage:.1f}%</b>'},
plotOptions:
{
pie:
{
allowPointSelect: true,
cursor: 'pointer',
dataLabels:
{
enabled: true,
format: '<b>{point.name}</b>: {point.percentage:.1f} %',
style: { color: (Highcharts.theme && Highcharts.theme.contrastTextColor) || 'black'}
}
}
},
series:
[{
name: '部门定稿占比',
colorByPoint: true,
data:[
<#for item : pieMap.keySet()>
{name: '${item}',y: ${pieMap.get(item)}},
</#for>
]
}]
});
});
</script>
${zhiqim_manager_breadcrumb("部门退回统计")}
${zhiqim_manager_content()}
<#-- 导航栏 -->
<div class="z-tabnav-main z-blue z-mg-b20">
<nav>
<ul>
<li onclick="Z.Location.href('orderBackEffectStat.htm');">退回数量统计</li>
<li onclick="Z.Location.href('beforecauseChart.htm');">退回原因统计</li>
<li class="z-active">部门退回统计</li>
</ul>
</nav>
</div>
<#-- 查询条件 -->
${zhiqim_manager_title("查询条件")}
<form name="theForm" action="/sectionFinalizeCompleteStat.htm">
<table class="z-table z-bordered z-pd6">
<tr class="z-h40 z-bg-white">
<td>查询日期:
<select name="year" class="z-select" data-role="z-select" data-class="z-blue">
<#for yyyy : 2017..DateTimes.getCurrentYear()>
<option value="${yyyy}" <#if year==yyyy>selected</#if>>${yyyy}</option>
</#for>
</select>
<select name="month" class="z-select" data-role="z-select" data-class="z-blue">
<#for mm : 1..12>
<option value="${mm}" <#if month==mm>selected</#if>>${mm}</option>
</#for>
</select>
<button type="submit" class="z-mg-l10 z-button ${zmr_color_class}">查询</button>
</td>
</tr>
</table>
</form>
<br>
<#-- 分页列表-->
<table class="z-table z-bordered z-pd6 z-bg-white">
<tr>
<td width="50%"><div id="container" class="z-bg-white" style="min-width:400px;height:600px"></div></td>
<td width="*">
<table class="z-table z-bordered-line z-pd10 z-bg-white z-text-left" style="text-align:center">
<tr class="z-bold">
<td width="20%">部门名称</td>
<td width="10%">定稿数</td>
<td width="10%">退回单数</td>
<td width="10%">退回次数</td>
<td width="15%">退回率</td>
<td width="15%">定稿占比</td>
<td width="20%">退回单金额</td>
</tr>
<#for item : statList>
<tr>
<td>${item.getDeptName()}</td>
<td>${item.getDeptFinalizeCount()}</td>
<td>${item.getDeptBackCount()}</td>
<td>${item.getDeptBackSum()}</td>
<td>${CalculationUtil.calculatePercent(item.getDeptBackSum(),item.getDeptFinalizeCount())}</td>
<td>${CalculationUtil.orgOrderPercent(item.getDeptFinalizeCount(),passOrderSum)}</td>
<td>${Amounts.toYuanMustRadix(item.getDeptBackMoney())}</td>
</tr>
</#for>
<tr class="z-bold">
<td>总计</td>
<td>${passOrderSum}</td>
<td>${backSum}</td>
<td>${backRepeatSum}</td>
<td>${CalculationUtil.calculatePercent(backRepeatSum,passOrderSum)}</td>
<td>${CalculationUtil.calculatePercent(passOrderSum,passOrderSum)}</td>
<td>${Amounts.toYuanMustRadix(backAmountSum)}</td>
</tr>
</table>
</td>
</tr>
</table>
${zhiqim_manager_content_end()}