121 行
4.8 KiB
Plaintext
121 行
4.8 KiB
Plaintext
${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+')'},
|
|
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('draftStatusOrderStat.htm');">未完成订单统计</li>
|
|
<li onclick="Z.Location.href('draftOrderConvert.htm');">初稿统计</li>
|
|
<!--<li onclick="Z.Location.href('completeOrderConvert.htm');">定稿统计</li>
|
|
<li onclick="Z.Location.href('completeOrderDetail.htm');">定稿统计</li> -->
|
|
<#if ZmrPathRule.check(request, "/designerPerformance.htm")><li onclick="Z.Location.href('designerPerformance.htm');">设计师绩效统计</li></#if>
|
|
<li class="z-active">组织定稿统计</li>
|
|
<#if ZmrPathRule.check(request, "/completeDesignRateStat.htm")><li onclick="Z.Location.href('completeDesignRateStat.htm');">设计师定稿率统计</li></#if>
|
|
<#if ZmrPathRule.check(request, "/completeOrgRateStat.htm")><li onclick="Z.Location.href('completeOrgRateStat.htm');">组织定稿率统计</li></#if>
|
|
<li onclick="Z.Location.href('designOrderTypeStat.htm');">订单类型统计</li>
|
|
</ul>
|
|
</nav>
|
|
</div>
|
|
|
|
<#-- 查询条件 -->
|
|
${zhiqim_manager_title("查询条件")}
|
|
<form name="theForm" action="/designFinalizeOrgCase.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 : 2018..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 : orgCaseList>
|
|
<tr>
|
|
<td>${item.getOrgName()}</td>
|
|
<td>${item.getPassOrderCount()}</td>
|
|
<td>${item.getBackOrderCount()}</td>
|
|
<td>${item.getBackOrderRepeatCount()}</td>
|
|
<td>${CalculationUtil.calculatePercent(item.getBackOrderRepeatCount(),item.getPassOrderCount())}</td>
|
|
<td>${CalculationUtil.orgOrderPercent(item.getPassOrderCount(),passOrderSum)}</td>
|
|
<td>${Amounts.toYuanMustRadix(item.getBackOrderMoneySum())}</td>
|
|
</tr>
|
|
</#for>
|
|
<tr class="z-bold">
|
|
<td>总计</td>
|
|
<td>${passOrderSum}</td>
|
|
<td>${backOrderSum}</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()} |