first commit

This commit is contained in:
2025-02-20 14:58:55 +08:00
parent 687bda5ead
commit d7be84fac6
1158 changed files with 127232 additions and 0 deletions
@@ -0,0 +1,105 @@
<script>
Z.onload(function()
{
doQueryDesigner('${designer}');
});
var designer;
function doQueryDesigner(designers)
{
designer = designers;
doQueryDesignNotCompleteOrderInfo(1);
}
function doQueryDesignNotCompleteOrderInfo(page)
{
var ajax = new Z.Ajax();
ajax.setClassName("StatPresenter");
ajax.setMethodName("doQueryDesignNotCompleteOrderInfo");
ajax.addParam("page",page);
ajax.addParam("startDate", Z("#startDate").val());
ajax.addParam("endDate", Z("#endDate").val());
ajax.addParam("designer", designer);
ajax.setCallback("result");
ajax.setLoading("result");
ajax.execute();
}
function doProgressNote(id)
{//进度备注
var designId =id
if (Z.V.isEmpty(designId))
{
designId = Z.FM.getChecked("designId");
if (Z.V.isEmpty(designId))
{
Z.alert("请选择一条订单");
return;
}
}
var dialog = new Z.Dialog();
dialog.title = "订单["+designId+"]进度备注";
dialog.url = "/progressNote.htm?designId="+designId;
dialog.width = 1000;
dialog.height = 630;
dialog.execute();
}
</script>
${zhiqim_manager_breadcrumb("设计师定稿率统计")}
${zhiqim_manager_content()}
<#-- 导航栏 -->
<div class="z-tabnav-main z-blue z-mg-b20">
<nav>
<ul>
<li onclick="Z.Location.href('toMonthDesign.htm');">当月定稿统计</li>
<li class="z-active">定稿率统计</li>
<li onclick="Z.Location.href('timeoutDesignerComplete.htm');">定稿超时统计</li>
<li onclick="Z.Location.href('designAfterStatistics.htm')">售后统计</li>
</ul>
</nav>
</div>
<table class="z-table z-bordered z-pd6">
<tr>
<td colspan="2">
<form name="theForm" action="completeDesignRateStat.htm">
<table class="z-table z-bordered z-pd6">
<tr class="z-h40 z-bg-white">
<td>接单日期:
<input name="startDate" id="startDate" onfocus="Z.date(this);" readonly class="z-input ${zmr_color_class} z-w120" value="${startDate}"> -
<input name="endDate" id="endDate" onfocus="Z.date(this);" readonly class="z-input ${zmr_color_class} z-w120"value="${endDate}">
<button class="z-mg-l10 z-button ${zmr_color_class}">查询</button>
</td>
</table>
</form>
</td>
</tr>
<tr class="z-h40">
<td width="420" valign="top">
<table id="statTable" class="z-table z-bordered z-pd6 z-bg-white z-text-center">
<tr class="z-h40">
<td>设计师</td>
<td>接单量</td>
<td>定稿量</td>
<td>定稿率</td>
</tr>
<#for item : modelList>
<tr class="z-h40" bgcolor="${zhiqim_manager_tr_bg(item_index)}" onclick="doQueryDesigner('${item.getDesigner()}');">
<td>${item.getDesigner()}</td>
<td>${item.getOrderNum()}</td>
<td>${item.getOrderEndNum()}</td>
<td>${item.getEndProportion()}%</td>
</#for>
<#if modelList.size() == 0>
${zhiqim_manager_no_record(4, "暂时没有定稿率数据信息")}
</#if>
</table>
</td>
<td width="*" id="result" valign="top" id="result" ></td>
</tr>
</table>
${zhiqim_manager_content_end()}
@@ -0,0 +1,69 @@
${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, "/designFinalizeOrgCase.htm")><li onclick="Z.Location.href('designFinalizeOrgCase.htm');">组织定稿统计</li></#if>
<#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('draftOrderTimeliness.htm');">初稿时效统计</li>
<li onclick="Z.Location.href('draftOrderOrgTimeliness.htm');">初稿时效统计(组织)</li>
<li onclick="Z.Location.href('completeOrderTimeliness.htm');">定稿时效统计</li>
<li class="z-active">设计总订单数量统计</li>
<#if ZmrPathRule.check(request, "/draftOrderTypeTimeliness.htm")><li onclick="Z.Location.href('draftOrderTypeTimeliness.htm');">初稿产品时效统计</li></#if>
<#if ZmrPathRule.check(request, "/completeOrderTypeTimeliness.htm")><li onclick="Z.Location.href('completeOrderTypeTimeliness.htm');">定稿产品时效统计</li></#if>
</ul>
</nav>
</div>
<#-- 查询条件 -->
${zhiqim_manager_title("查询条件")}
<form name="theForm">
<table class="z-table z-bordered z-pd6 z-bg-white z-mg-b20">
<tr>
<td width="25%">录单时间:
<input name="startDate" class="z-input z-w90 ${zmr_color_class}" readonly="true" onfocus="Z.date(this);" value="${startDate}"> -
<input name="endDate" class="z-input z-w90 ${zmr_color_class}" readonly="true" onfocus="Z.date(this);" value="${endDate}">
</td>
<td colspan="3">
<button class="z-button z-large z-w120 z-mg-r15 ${zmr_color_class}">查询</button>
<button class="z-button z-large" type="button" onclick="Z.FM.clearForm(this.form);">清空</button>
</td>
</tr>
</table>
</form>
<#var typeList = DesignTypeDao.listAll()/>
<table class="z-table z-bordered z-h40-tr z-pd6 z-bg-white z-text-center">
${zhiqim_manager_tr_title(13, "设计总订单数量统计")}
<tr bgcolor="${zmr_thead_bgcolor}">
<td width="150">日期</td>
<td width="150">总设计订单</td>
<#if Validates.isNotEmpty(typeList)>
<#for type : typeList>
<#if type_index lte 9><td width="150">${type.getPrdTypeName()}</td></#if>
</#for>
</#if>
<td width="150">其他</td>
</tr>
${zhiqim_manager_tr_no_record(list, 13, "设计总订单数量统计暂无信息")}
<#for item : list>
<#var typeMap = item.getTypeMap()/>
<tr>
<td>${item.getDate()}</td>
<td>${item.getSumCount()}</td>
<#if Validates.isNotEmpty(typeList)>
<#for type : typeList>
<#if type_index lte 9><td>${typeMap.get(type.getTypeId())}</td></#if>
</#for>
</#if>
<td>${item.getSumCount() - item.getElseCount()}</td>
</tr>
</#for>
</table>
${zhiqim_manager_list(list.size())}
${zhiqim_manager_content_end()}
@@ -0,0 +1,90 @@
<#def designatedPath="/draftStatusOrderStat.htm"/>
<script>
</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>
<#if ZmrPathRule.check(request, "/designFinalizeOrgCase.htm")><li onclick="Z.Location.href('designFinalizeOrgCase.htm');">组织定稿统计</li></#if>
<#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 class="z-active">订单类型统计</li>
</ul>
</nav>
</div>
<#-- 查询条件 -->
${zhiqim_manager_title("查询条件")}
<form action="designOrderTypeStat.htm" method="post">
<table class="z-table z-bordered z-pd6">
<tr class="z-h40 z-bg-white">
<td>定稿日期:
<input id="beginDate" name="beginDate" class="z-input z-w90 ${zmr_color_class}" readonly="true" onfocus="Z.date(this);" value="${beginDate}"> -
<input id="endDate" name="endDate" class="z-input z-mg-l3 z-w90 ${zmr_color_class}" readonly="true" onfocus="Z.date(this);" value="${endDate}">
<button class="z-button z-w60 z-mg-l10 ${zmr_color_class}">查询</button>
</td>
</tr>
</table>
</form>
<br>
<#-- 分页列表-->
<table class="z-table z-bordered z-bg-white z-pd6">
${zhiqim_manager_tr_title(20,"订单类型统计详情")}
<tr class="z-text-center z-h40" bgcolor="${zmr_thead_bgcolor}">
<td width="100">设计师</td>
<td width="80">3-5款</td>
<td width="80">6-8款</td>
<td width="80">9-11款</td>
<td width="80">12款以上</td>
<td width="100">常规后加工</td>
<td width="100">特殊后加工</td>
<td width="100">支援订单</td>
<td width="100">&emsp;大金额&emsp;&nbsp;(100-150)</td>
<td width="100">&emsp;大金额&emsp;&nbsp;(150-200)</td>
<td width="100">&emsp;大金额&emsp;&nbsp;(200-250)</td>
<td width="100">&emsp;大金额&emsp;&nbsp;(250-300)</td>
<td width="100">&emsp;大金额&emsp;&nbsp;(300-350)</td>
<td width="100">&emsp;大金额&emsp;&nbsp;(350-400)</td>
<td width="100">&emsp;大金额&emsp;&nbsp;(400-450)</td>
<td width="100">&emsp;大金额&emsp;&nbsp;(450-500)</td>
<td width="100">&emsp;大金额&emsp;&nbsp;(500以上)</td>
<#if ZmrPathRule.check(request, "/designOrderTypeStat.htm")><td width="100">奖励金额</td></#if>
</tr>
<#for item : pageResult.list()>
<tr class="z-text-center z-h40">
<td>${item.getDesigner()}</td>
<td>${item.getMultiple3_5()}</td>
<td>${item.getMultiple6_8()}</td>
<td>${item.getMultiple9_11()}</td>
<td>${item.getMultiple12()}</td>
<td>${item.getNormalProcessing()}</td>
<td>${item.getSpecialProcessing()}</td>
<td>${item.getApplyOrder()}</td>
<td>${item.getAmount100_150()}</td>
<td>${item.getAmount150_200()}</td>
<td>${item.getAmount200_250()}</td>
<td>${item.getAmount250_300()}</td>
<td>${item.getAmount300_350()}</td>
<td>${item.getAmount350_400()}</td>
<td>${item.getAmount400_450()}</td>
<td>${item.getAmount450_500()}</td>
<td>${item.getAmount500()}</td>
<#if ZmrPathRule.check(request, "/designOrderTypeStat.htm")><td>${Amounts.toYuan(item.getAmount())}</td></#if>
</tr>
</#for>
<#if pageResult.size() == 0>
${zhiqim_manager_no_record(20, "暂时没有订单类型统计信息")}
</#if>
</table>
${zhiqim_manager_paging(pageResult, "/designOrderTypeStat.htm")}
${zhiqim_manager_content_end()}
@@ -0,0 +1,84 @@
<script>
Z.onload(function(){
doQueryDesigner('${designer}');
});
var designer;
function doQueryDesigner(designers){
designer = designers;
doQueryCompleteOrderInfo(1);
}
function doQueryCompleteOrderInfo(page)
{
var ajax = new Z.Ajax();
ajax.setClassName("StatPresenter");
ajax.setMethodName("doQueryCompleteOrderInfo");
ajax.addParam("page",page);
ajax.addParam("beginDate",Z("#beginDate").val());
ajax.addParam("endDate",Z("#endDate").val());
ajax.addParam("designer",designer);
ajax.addParam("query",${queryFlag});
ajax.setCallback("result");
ajax.setLoading("result");
ajax.execute();
}
</script>
${zhiqim_manager_breadcrumb("设计师绩效统计")}
${zhiqim_manager_content()}
<#-- 导航栏 -->
<div class="z-tabnav-main z-blue z-mg-b20">
<nav>
<ul>
<li class="z-active">绩效统计</li>
<li onclick="Z.Location.href('completeDesignRateStat.htm');">定稿率统计</li>
<li onclick="Z.Location.href('timeoutDesignerComplete.htm');">定稿超时统计</li>
<li onclick="Z.Location.href('designOrderRefundRateStat.htm')">退款统计</li>
<li onclick="Z.Location.href('designAfterStatistics.htm')">售后统计</li>
</ul>
</nav>
</div>
<table class="z-table z-bordered z-pd6">
<tr>
<td colspan="2">
<form name="theForm" action="/designerPerformance.htm" id="designerPerformance">
<table class="z-table z-bordered z-pd6">
<tr class="z-h40 z-bg-white">
<td>定稿日期:
<input name="beginDate" id="beginDate" onfocus="Z.date(this);" readonly class="z-input ${zmr_color_class} z-w120" value="${beginDate}"> -
<input name="endDate" id="endDate" onfocus="Z.date(this);" readonly class="z-input ${zmr_color_class} z-w120" value="${endDate}">
<input type="hidden" name="query" id="query" value="1">
&emsp;
<button class="z-mg-l10 z-button ${zmr_color_class}" onclick="Z.loading({shadow:true});document.getElementById('designerPerformance').submit();">查询</button>
</td>
</tr>
</table>
</form>
</td>
</tr>
<tr class="z-h40">
<td width="350" valign="top">
<table class="z-table z-bordered z-pd6 z-bg-white z-text-center">
<tr class="z-h40">
<td width="120">设计师</td>
<td width="100">定稿单数</td>
<td width="*">绩效</td>
</tr>
<#for item : pageModelList>
<tr class="z-h40" bgcolor="${zhiqim_manager_tr_bg(item_index)}" onclick="doQueryDesigner('${item.getDesigner()}')">
<td>${item.getDesigner()}</td>
<td>${item.getOrderEndCount()}</td>
<td>${Amounts.toYuan(item.getDesignPerformance())}元</td>
</tr>
</#for>
<#if pageModelList.size() == 0>
${zhiqim_manager_no_record(4, "暂时没有绩效数据信息")}
</#if>
</table>
</td>
<td width="*" id="result" valign="top"></td>
</tr>
</table>
${zhiqim_manager_content_end()}
@@ -0,0 +1,133 @@
<#def designatedPath="/draftStatusOrderStat.htm"/>
<script>
Z.onload(function(){
computeEfficiency();
});
function computeEfficiency()
{//计算效率
Z.each(Z("span[id^=time_]"), function(span, i)
{
var minute = span.attributes["data-minute"].value*1;
var num = span.attributes["data-num"].value*1;
minute = parseInt(minute/num);
var hour;
var minute;
if (minute/60 >0)
{
hour = parseInt(minute/60);
minute = minute%60;
}
var timeHtml = "";
if (hour >0)
timeHtml += hour+"小时";
if (minute >0)
timeHtml += minute+"分钟";
Z(span).html(timeHtml);
});
}
function doSearch(orgId,orgName)
{
if (Z.V.isEmpty(orgId))
{
Z.alert("组织ID不能为空");
return;
}
var beginDate = '${beginDate}';
var endDate = '${endDate}';
var dialog = new Z.Dialog();
dialog.title = "["+orgName+"]初稿订单时效详情";
dialog.url = "/draftOrderOrgTimelinessInfo.htm?beginDate="+beginDate+"&endDate="+endDate+"&orgId="+orgId;
dialog.width = 1650;
dialog.height = 695;
dialog.execute();
}
</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, "/designFinalizeOrgCase.htm")><li onclick="Z.Location.href('designFinalizeOrgCase.htm');">组织定稿统计</li></#if>
<#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>
<li onclick="Z.Location.href('draftOrderTimeliness.htm');">初稿时效统计</li>
<li class="z-active">初稿时效统计(组织)</li>
<li onclick="Z.Location.href('completeOrderTimeliness.htm');">定稿时效统计</li>
<#if ZmrPathRule.check(request, "/selfDraftModifyOrderStat.htm")><li onclick="Z.Location.href('selfDraftModifyOrderStat.htm');">改稿订单统计</li></#if>
<#if ZmrPathRule.check(request, "/designOrderCountStat.htm")><li onclick="Z.Location.href('designOrderCountStat.htm');">设计总订单数量统计</li></#if>
<#if ZmrPathRule.check(request, "/draftOrderTypeTimeliness.htm")><li onclick="Z.Location.href('draftOrderTypeTimeliness.htm');">初稿产品时效统计</li></#if>
<#if ZmrPathRule.check(request, "/completeOrderTypeTimeliness.htm")><li onclick="Z.Location.href('completeOrderTypeTimeliness.htm');">定稿产品时效统计</li></#if>
</ul>
</nav>
</div>
<#-- 查询条件 -->
${zhiqim_manager_title("查询条件")}
<form name="theForm" action="/draftOrderOrgTimeliness.htm">
<table class="z-table z-bordered z-pd6">
<tr class="z-h40 z-bg-white">
<td>初稿日期:
<input name="beginDate" onfocus="Z.date(this);" readonly class="z-input ${zmr_color_class} z-w100" value="${beginDate}"> -
<input name="endDate" onfocus="Z.date(this);" readonly class="z-input ${zmr_color_class} z-w100 z-mg-r20 " value="${endDate}">
<button class="z-mg-l10 z-button ${zmr_color_class}">查询</button>
</td>
</tr>
</table>
</form>
<br>
<#-- 分页列表-->
<table class="z-table z-bordered z-bg-white z-pd6">
${zhiqim_manager_tr_title( 2 , "初稿时效统计详情(组织)")}
<tr class="z-text-center z-h40" bgcolor="${zmr_thead_bgcolor}">
<td width="100">组织</td>
<#for type : showTypeList>
<td width="100">${type.getTypeName()}</td>
</#for>
<td width="100">其他</td>
<td width="100">总数量</td>
</tr>
<#for item : pageResult.list()>
<tr class="z-text-center z-h40" <#if item_index % 2 == 0>bgcolor="#f3fdfc"</#if>>
<td>
<a onclick="doSearch('${item.getOrgId()}','${item.getOrgName()}');">${item.getOrgName()}</a>
</td>
<#for type : showTypeList>
<td>
<#var num = item.getNumberMap().get(type.getTypeName())/>
<#var time =item.getTimeMap().get(type.getTypeName())/>
<#if num gt 0 && time gt 0>
<span id="time_${item.getOrgId()}_${type.getTypeId()}" data-minute="${time}" data-num="${num}"></span><br>${num}单)
</#if>
</td>
</#for>
<td>
<#if item.getNumberMap().get("其他") gt 0 && item.getTimeMap().get("其他") gt 0>
<span id="time_${item.getOrgId()}_other" data-minute="${item.getTimeMap().get("其他")}" data-num="${item.getNumberMap().get("其他")}"></span><br>${item.getNumberMap().get("其他")}单)
</#if>
</td>
<td>${item.getAllCount()}</td>
</tr>
</#for>
<#if pageResult.size() == 0>
<tr class="z-h40">
<td colspan="${showTypeList.size()+3}" class="z-text-center">暂无初稿时效统计详情</td>
</tr>
</#if>
${zhiqim_manager_paging(pageResult, "draftOrderOrgTimeliness.htm")}
</table>
${zhiqim_manager_content_end()}
@@ -0,0 +1,141 @@
<#def designatedPath="/draftStatusOrderStat.htm"/>
<script>
Z.onload(function(){
computeEfficiency();
});
function computeEfficiency()
{//计算效率
Z.each(Z("span[id^=time_]"), function(span, i)
{
var minute = span.attributes["data-minute"].value*1;
var num = span.attributes["data-num"].value*1;
minute = parseInt(minute/num);
var hour;
var minute;
if (minute/60 >0)
{
hour = parseInt(minute/60);
minute = minute%60;
}
var timeHtml = "";
if (hour >0)
timeHtml += hour+"小时";
if (minute >0)
timeHtml += minute+"分钟";
Z(span).html(timeHtml);
});
}
function doSearch(designer,prdTypeId)
{
if (Z.V.isEmpty(designer))
{
Z.alert("设计师不能为空");
return;
}
if (Z.V.isEmpty(prdTypeId))
{
Z.alert("类型不能为空");
return;
}
var beginDate = '${beginDate}';
var endDate = '${endDate}';
var dialog = new Z.Dialog();
dialog.title = "["+designer+"]初稿订单时效详情";
dialog.url = "/draftOrderTimelinessInfo.htm?beginDate="+beginDate+"&endDate="+endDate+"&designer="+designer+"&prdTypeId="+prdTypeId;
dialog.width = 1650;
dialog.height = 695;
dialog.execute();
}
</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, "/designFinalizeOrgCase.htm")><li onclick="Z.Location.href('designFinalizeOrgCase.htm');">组织定稿统计</li></#if>
<#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>
<li class="z-active">初稿时效统计</li>
<li onclick="Z.Location.href('draftOrderOrgTimeliness.htm');">初稿时效统计(组织)</li>
<li onclick="Z.Location.href('completeOrderTimeliness.htm');">定稿时效统计</li>
<#if ZmrPathRule.check(request, "/selfDraftModifyOrderStat.htm")><li onclick="Z.Location.href('selfDraftModifyOrderStat.htm');">改稿订单统计</li></#if>
<#if ZmrPathRule.check(request, "/designOrderCountStat.htm")><li onclick="Z.Location.href('designOrderCountStat.htm');">设计总订单数量统计</li></#if>
<#if ZmrPathRule.check(request, "/draftOrderTypeTimeliness.htm")><li onclick="Z.Location.href('draftOrderTypeTimeliness.htm');">初稿产品时效统计</li></#if>
<#if ZmrPathRule.check(request, "/completeOrderTypeTimeliness.htm")><li onclick="Z.Location.href('completeOrderTypeTimeliness.htm');">定稿产品时效统计</li></#if>
</ul>
</nav>
</div>
<#-- 查询条件 -->
${zhiqim_manager_title("查询条件")}
<form name="theForm" action="/draftOrderTimeliness.htm">
<table class="z-table z-bordered z-pd6">
<tr class="z-h40 z-bg-white">
<td>初稿日期:
<input name="beginDate" onfocus="Z.date(this);" readonly class="z-input ${zmr_color_class} z-w100" value="${beginDate}"> -
<input name="endDate" onfocus="Z.date(this);" readonly class="z-input ${zmr_color_class} z-w100 z-mg-r20 " value="${endDate}">
<button class="z-mg-l10 z-button ${zmr_color_class}">查询</button>
</td>
</tr>
</table>
</form>
<br>
<#-- 分页列表-->
<table class="z-table z-bordered z-bg-white z-pd6">
${zhiqim_manager_tr_title( 1 , "初稿时效统计详情")}
<tr class="z-text-center z-h40" bgcolor="${zmr_thead_bgcolor}">
<td width="100">设计师</td>
<#for type : showTypeList>
<td width="100">${type.getTypeName()}</td>
</#for>
<td width="100">其他</td>
<td width="100">总数量</td>
</tr>
<#for item : pageResult.list()>
<tr class="z-text-center z-h40" <#if item_index % 2 == 0>bgcolor="#f3fdfc"</#if>>
<td>${item.getDesigner()}</td>
<#for type : showTypeList>
<td>
<#var num = item.getNumberMap().get(type.getTypeName())/>
<#var time =item.getTimeMap().get(type.getTypeName())/>
<#if num gt 0 && time gt 0>
<a onclick="doSearch('${item.getDesigner()}','${type.getTypeId()}');">
<span id="time_${item.getDesigner()}_${type.getTypeId()}" data-minute="${time}" data-num="${num}"></span><br>${num}单)
</a>
</#if>
</td>
</#for>
<td>
<#if item.getNumberMap().get("其他") gt 0 && item.getTimeMap().get("其他") gt 0>
<span id="time_${item.getDesigner()}_other" data-minute="${item.getTimeMap().get("其他")}" data-num="${item.getNumberMap().get("其他")}"></span><br>${item.getNumberMap().get("其他")}单)
</#if>
</td>
<td>${item.getAllCount()}</td>
</tr>
</#for>
<#if pageResult.size() == 0>
<tr class="z-h40">
<td colspan="${showTypeList.size()+3}" class="z-text-center">暂无初稿时效统计详情</td>
</tr>
</#if>
${zhiqim_manager_paging(pageResult, "draftOrderTimeliness.htm")}
</table>
${zhiqim_manager_content_end()}
@@ -0,0 +1,106 @@
<script>
Z.onload(function(){
computeEfficiency();
});
function computeEfficiency()
{//计算效率
Z.each(Z("span[id^=time_]"), function(span, i)
{
var minute = span.attributes["data-minute"].value*1;
var num = span.attributes["data-num"].value*1;
minute = parseInt(minute/num);
var hour;
var minute;
if (minute/60 >0)
{
hour = parseInt(minute/60);
minute = minute%60;
}
var timeHtml = "";
if (hour >0)
timeHtml += hour+"小时";
if (minute >0)
timeHtml += minute+"分钟";
Z(span).html(timeHtml);
});
}
</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, "/designFinalizeOrgCase.htm")><li onclick="Z.Location.href('designFinalizeOrgCase.htm');">组织定稿统计</li></#if>
<#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>
<li onclick="Z.Location.href('draftOrderTimeliness.htm');">初稿时效统计</li>
<li onclick="Z.Location.href('draftOrderOrgTimeliness.htm');">初稿时效统计(组织)</li>
<li onclick="Z.Location.href('completeOrderTimeliness.htm');">定稿时效统计</li>
<#if ZmrPathRule.check(request, "/designOrderCountStat.htm")><li onclick="Z.Location.href('designOrderCountStat.htm');">设计总订单数量统计</li></#if>
<li class="z-active">初稿产品时效统计</li>
<#if ZmrPathRule.check(request, "/completeOrderTypeTimeliness.htm")><li onclick="Z.Location.href('completeOrderTypeTimeliness.htm');">定稿产品时效统计</li></#if>
</ul>
</nav>
</div>
<#-- 查询条件 -->
${zhiqim_manager_title("查询条件")}
<form name="theForm" action="/draftOrderTypeTimeliness.htm">
<table class="z-table z-bordered z-pd6">
<tr class="z-h40 z-bg-white">
<td>初稿日期:
<input name="beginDate" onfocus="Z.date(this);" readonly class="z-input ${zmr_color_class} z-w100" value="${beginDate}"> -
<input name="endDate" onfocus="Z.date(this);" readonly class="z-input ${zmr_color_class} z-w100 z-mg-r20 " value="${endDate}">
<button class="z-mg-l10 z-button ${zmr_color_class}">查询</button>
</td>
</tr>
</table>
</form>
<br>
<#-- 分页列表-->
<table class="z-table z-bordered z-bg-white z-pd6">
${zhiqim_manager_tr_title(4 , "初稿产品时效统计详情")}
<tr class="z-text-center z-h40" bgcolor="${zmr_thead_bgcolor}">
<td width="150">产品类型</td>
<td width="150">数量</td>
<td width="150">总时长</td>
<td width="150">平均耗时</td>
</tr>
<#var allcount = 0/>
<#var allTime = 0/>
<#var typeMap = DesignTypeDao.mapAll()/>
<#for item : timelinessList>
<tr class="z-text-center z-h40" <#if item_index % 2 == 0>bgcolor="#f3fdfc"</#if>>
<td><#if Validates.isNotEmpty(typeMap) && typeMap.containsKey(item.getTypeId())>${typeMap.get(item.getTypeId()).getTypeName(item.getTypeId())}</#if></td>
<td>${item.getCount()}</td>
<td><span id="time_${item.getTypeId()}" data-minute="${item.getTime()}" data-num="1"></span></td>
<td><span id="time_${item.getTypeId()}" data-minute="${item.getTime()}" data-num="${item.getCount()}"></span></td>
</tr>
<#var allcount = allcount + item.getCount()/>
<#var allTime = allTime + item.getTime()/>
</#for>
<#if timelinessList.size() == 0>
${zhiqim_manager_no_record(4, "暂无初稿产品时效统计详情")}
<#else>
<tr class="z-text-center z-h40" bgcolor="${zmr_thead_bgcolor}">
<td>总计</td>
<td>${allcount}</td>
<td><span id="time_all" data-minute="${allTime}" data-num="1"></span></td>
<td><span id="time_all" data-minute="${allTime}" data-num="${allcount}"></span></td>
</tr>
</#if>
</table>
${zhiqim_manager_content_end()}
@@ -0,0 +1,35 @@
<#include "/ztmpl/zhiqim_manager/"+themeMain+"/define.htm"/>
<table class="z-table z-bordered z-bg-white z-text-center">
<tr class="z-h40">
<td class="z-text-left z-bold z-px14 z-bg-white z-text-center" colspan="9">未定稿订单详情</td>
</tr>
<tr class="z-h40 z-text-center z-bg-gray">
<td width="130">订单号</td>
<td width="130">旺旺号</td>
<td width="130">设计师</td>
<td width="*">产品</td>
<td width="120">订单状态</td>
<td width="160">进度备注</td>
<td width="160">领单时间</td>
<td width="160">初稿时间</td>
</tr>
<#if pageResult.size() == 0>
<tr valign="middle" class="z-h40 z-text-center z-bg-white">
<td colspan="8">暂不存在未定稿订单信息</td>
</tr>
</#if>
<#for item : pageResult.list()>
<tr align="center" class="z-h40 z-pointer" bgcolor="${zhiqim_manager_tr_bg(item_index)}">
<td>${item.getDesignId()}</td>
<td>${item.getBuyerNick()}</td>
<td>${item.getDesigner()}</td>
<td>${item.getOrderText()}</td>
<td>${StatusConstants.getStatus(item.getStatus())}</td>
<td>${progressNoteMap.get(item.getDesignId())}</td>
<td>${Sqls.toDateTimeString(item.getDesignBeginTime())}</td>
<td>${Sqls.toDateTimeString(item.getDesignDraftTime())}</td>
</tr>
</#for>
</table>
${zhiqim_manager_paging_jsMethod(pageResult, "doQueryDesignNotCompleteOrderInfo")}
@@ -0,0 +1,74 @@
<#include "/ztmpl/zhiqim_manager/"+themeMain+"/define.htm"/>
<table class="z-table z-bordered z-bg-white z-text-center">
<tr class="z-h40">
<td class="z-text-left z-bold z-px14 z-bg-white" colspan="10">&nbsp;<#if Validates.isNotEmpty(designer)><span class="z-text-red z-bold">[${designer}]</span></#if>定稿订单详情</td>
</tr>
<tr class="z-h40 z-text-center z-bg-gray">
<td width="130">订单号</td>
<td width="110">旺旺号</td>
<td width="115">设计师</td>
<td width="*">产品</td>
<td width="80">设计费份数</td>
<td width="90">领单时间</td>
<td width="90">初稿时间</td>
<td width="90">定稿时间</td>
<td width="60">折算单数</td>
</tr>
<#if passResult.size() == 0>
<tr valign="middle" class="z-h40 z-text-center z-bg-white">
<td colspan="9">暂不存在定稿订单信息</td>
</tr>
</#if>
<#for item : passResult.list()>
<tr align="center" class="z-h40 z-pointer" bgcolor="${zhiqim_manager_tr_bg(item_index)}">
<td>${item.getDesignId()}</td>
<td>${item.getBuyerNick()}</td>
<td>${item.getDesigner()}</td>
<td>${item.getOrderText()}</td>
<td>${item.getDesignCopies()}</td>
<td>${Sqls.toDateTimeString(item.getDesignReceiveTime())}</td>
<td>${Sqls.toDateTimeString(item.getDesignDraftTime())}</td>
<td>${Sqls.toDateTimeString(item.getDesignEndTime())}</td>
<td>${orderConvertMap.get(item.getDesignId())}</td>
</tr>
</#for>
</table>
${zhiqim_manager_paging_jsMethod(passResult, "doQueryCompleteOrderDetailInfo")}
<table class="z-table z-bordered z-bg-white z-text-center z-mg-t20">
<tr class="z-h40">
<td class="z-text-left z-bold z-px14 z-bg-white" colspan="10">&nbsp;<#if Validates.isNotEmpty(designer)><span class="z-text-red z-bold">[${designer}]</span></#if>定稿退回订单详情</td>
</tr>
<tr class="z-h40 z-text-center z-bg-gray">
<td width="125">订单号</td>
<td width="115">旺旺号</td>
<td width="110">设计师</td>
<td width="*">产品</td>
<td width="80">设计费份数</td>
<td width="90">定稿时间</td>
<td width="90">退回时间</td>
<td width="65">退回次数</td>
<td width="110">退回原因分类</td>
<td width="70">折算单数</td>
</tr>
<#if backResult.size() == 0>
<tr valign="middle" class="z-h40 z-text-center z-bg-white">
<td colspan="10">暂不存在定稿退回订单信息</td>
</tr>
</#if>
<#for item : backResult.list()>
<tr align="center" class="z-h40 z-pointer" bgcolor="${zhiqim_manager_tr_bg(item_index)}">
<td>${item.getDesignId()}</td>
<td>${item.getBuyerNick()}</td>
<td>${item.getDesigner()}</td>
<td>${item.getOrderText()}</td>
<td>${item.getDesignCopies()}</td>
<td>${Sqls.toDateTimeString(item.getDesignEndTime())}</td>
<td>${Sqls.toDateTimeString(item.getCheckTime())}</td>
<td>${item.getBackOrderCount()}</td>
<td>${item.getCheckBackReason()}</td>
<td>${orderConvertMap.get(item.getDesignId())}</td>
</tr>
</#for>
</table>
${zhiqim_manager_paging_jsMethod(backResult, "doQueryCompleteOrderDetailInfo")}
@@ -0,0 +1,38 @@
<#include "/ztmpl/zhiqim_manager/"+themeMain+"/define.htm"/>
<table class="z-table z-bordered z-bg-white z-text-center">
<tr class="z-h40">
<td class="z-text-left z-bold z-px14 z-bg-white z-text-center" colspan="10" >订单详情</td>
</tr>
<tr class="z-h40 z-text-center z-bg-gray">
<td width="130">订单号</td>
<td width="110">旺旺号</td>
<td width="100">设计师</td>
<td width="110">店铺</td>
<td width="90">设计类型</td>
<td width="*">产品</td>
<td width="80">设计费份数</td>
<td width="90">领单时间</td>
<td width="90">定稿时间</td>
<td width="110">订单绩效</td>
</tr>
<#if result.size() == 0>
<tr valign="middle" class="z-h40 z-text-center z-bg-white">
<td colspan="12">暂不存在定稿订单信息</td>
</tr>
</#if>
<#for item : result.list()>
<tr align="center" class="z-h40 z-pointer" bgcolor="${zhiqim_manager_tr_bg(item_index)}">
<td>${item.getDesignId()}</td>
<td>${item.getBuyerNick()}</td>
<td>${item.getDesigner()}</td>
<td>${item.getShopNick()}</td>
<td>${DraftConstants.get(item.getDraftType())}</td>
<td>${item.getOrderText()}</td>
<td>${item.getDesignCopies()}</td>
<td>${Sqls.toDateTimeString(item.getDesignReceiveTime())}</td>
<td>${Sqls.toDateTimeString(item.getDesignEndTime())}</td>
<td>${CalculationUtil.getDesignerOrderPerformance(item,designer)}</td>
</tr>
</#for>
</table>
${zhiqim_manager_paging_jsMethod(result, "doQueryCompleteOrderInfo")}
@@ -0,0 +1,32 @@
<table class="z-table z-bordered z-bg-white z-text-center">
<tr class="z-h40 z-text-center z-bg-gray">
<td width="150">订单号</td>
<td width="150">店铺</td>
<td width="150">旺旺</td>
<td width="100">状态</td>
<td width="*">产品</td>
<td width="160">录单时间</td>
<td width="100">初稿耗时</td>
<td width="160">领单时间</td>
<td width="160">初稿时间</td>
</tr>
<#if pageResult.size() == 0>
<tr valign="middle" class="z-h40 z-text-center z-bg-white">
<td colspan="7">暂不存在清单信息</td>
</tr>
</#if>
<#for item : pageResult.list()>
<tr align="center" class="z-h40 z-pointer" bgcolor="${zhiqim_manager_tr_bg(item_index)}">
<td>${item.getDesignId()}</td>
<td>${item.getShopNick()}</td>
<td>${item.getBuyerNick()}</td>
<td>${StatusConstants.getStatus(item.getStatus())}</td>
<td>${item.getOrderText()}</td>
<td>${Sqls.toDateTimeString(item.getCreateTime())}</td>
<td>${DateTimes.compareMinute(item.getDesignDraftTime(), item.getDesignReceiveTime())} 分钟</td>
<td>${Sqls.toDateTimeString(item.getDesignReceiveTime())}</td>
<td>${Sqls.toDateTimeString(item.getDesignDraftTime())}</td>
</tr>
</#for>
${zhiqim_manager_paging(pageResult, "draftOrderTimelinessInfo.htm")}
</table>
@@ -0,0 +1,45 @@
<#include "/ztmpl/zhiqim_manager/"+themeMain+"/define.htm"/>
<table class="z-table z-bordered z-bg-white z-text-center" style="background-color: #efefef;">
<tr class="z-h40 z-text-center z-bg-gray">
<td width="120">订单号</td>
<td width="130">旺旺号</td>
<td width="*">产品</td>
<td width="120">组织</td>
<td width="120">设计师</td>
<td width="100">订单状态</td>
<td width="140">进度备注</td>
<td width="140">领单时间</td>
<td width="140">初稿时间</td>
<td width="140">定稿时间</td>
<td width="100">超时时效</td>
</tr>
<#if result.size() == 0>
<tr valign="middle" class="z-h40 z-text-center z-bg-white">
<td colspan="12">暂不存在定稿超时订单信息</td>
</tr>
</#if>
<#var typeMap = DesignTypeDao.mapAll()/>
<#for item : pageResult.list()>
<#var effectiveTime = Validates.isEmpty(typeMap) ? 0 : ( typeMap.containsKey(item.getTypeId()) ? typeMap.get(item.getTypeId()).getEffectiveEndTime() : 0)/>
<tr align="center" class="z-h40 z-pointer" bgcolor="${zhiqim_manager_tr_bg(item_index)}">
<td>${item.getDesignId()}</td>
<td>${item.getBuyerNick()}</td>
<td>${item.getOrderText()}</td>
<td>${ZmrOrgDao.getOrgName(request, item.getOrgId())}</td>
<td>${item.getDesigner()}</td>
<td>${StatusConstants.getStatus(item.getStatus())}</td>
<td>${progressNoteMap.get(item.getDesignId())}</td>
<td>${Sqls.toDateTimeString(item.getDesignBeginTime())}</td>
<td>${Sqls.toDateTimeString(item.getDesignDraftTime())}</td>
<td>${Sqls.toDateTimeString(item.getDesignEndTime())}</td>
<td>
<#if item.getStatus() gte "55" >
<span class="z-pointer z-text-ellipsis" data-role="z-tooltip" data-options="placement:top;top:5;align:center;width:140px;" data-text="定稿时间-领单时间"><span class="z-text-red">${CalculationUtil.dateTimeTran(DateTimes.compareMinute(item.getDesignEndTime(), item.getDesignBeginTime()) - effectiveTime)}</span></span>
<#else>
<span class="z-pointer z-text-ellipsis" data-role="z-tooltip" data-options="placement:top;top:5;align:center;width:140px;" data-text="当前时间-领单时间"><span class="z-text-red">${CalculationUtil.dateTimeTran(DateTimes.compareMinute(Sqls.nowTimestamp(), item.getDesignBeginTime()) - effectiveTime)}</span></span>
</#if>
</td>
</tr>
</#for>
</table>
${zhiqim_manager_paging_jsMethod(pageResult, "doQueryCompleteTimeoutOrderInfo")}
@@ -0,0 +1,36 @@
<#include "/ztmpl/zhiqim_manager/"+themeMain+"/define.htm"/>
<table class="z-table z-bordered z-bg-white z-text-center">
<tr class="z-h40">
<td class="z-text-left z-bold z-px14 z-bg-white z-text-center" colspan="9">定稿订单详情</td>
</tr>
<tr class="z-h40 z-text-center z-bg-gray">
<td width="130">订单号</td>
<td width="100">旺旺号</td>
<td width="80">设计师</td>
<td width="*">产品</td>
<td width="120">订单状态</td>
<td width="160">进度备注</td>
<td width="150">领单时间</td>
<td width="150">初稿时间</td>
<td width="150">定稿时间</td>
</tr>
<#if pageResult.size() == 0>
<tr valign="middle" class="z-h40 z-text-center z-bg-white">
<td colspan="8">暂不存在定稿订单信息</td>
</tr>
</#if>
<#for item : pageResult.list()>
<tr align="center" class="z-h40 z-pointer" bgcolor="${zhiqim_manager_tr_bg(item_index)}">
<td>${item.getDesignId()}</td>
<td>${item.getBuyerNick()}</td>
<td>${item.getDesigner()}</td>
<td>${item.getOrderText()}</td>
<td>${StatusConstants.getStatus(item.getStatus())}</td>
<td>${progressNoteMap.get(item.getDesignId())}</td>
<td>${Sqls.toDateTimeString(item.getDesignBeginTime())}</td>
<td>${Sqls.toDateTimeString(item.getDesignDraftTime())}</td>
<td>${Sqls.toDateTimeString(item.getDesignEndTime())}</td>
</tr>
</#for>
</table>
${zhiqim_manager_paging_jsMethod(pageResult, "doQueryDesignNotCompleteOrderInfo")}
@@ -0,0 +1,126 @@
<style>
.z-text-ellipsis {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
display: inline;
}
.z-floater .z-content {
position: absolute;
top: 0;
left: 0;
min-width: 30px;
min-height: 25px;
padding: 6px;
font-size: 12px;
border: 2px solid #c6c6c6;
line-height: 25px;
text-align: center;
background: #fff;
}
</style>
<script>
Z.onload(function(){
doSwicthCompleteTimeoutOrderInfo(${designer});
});
var designer;
function doSwicthCompleteTimeoutOrderInfo(des){
designer = des;
doQueryCompleteTimeoutOrderInfo(1);
}
function doQueryCompleteTimeoutOrderInfo(page){
var ajax = new Z.Ajax();
ajax.setClassName("StatPresenter");
ajax.setMethodName("doQueryCompleteTimeoutOrderInfo");
ajax.addParam("page",page);
ajax.addParam("startDate", Z("#startDate").val());
ajax.addParam("endDate", Z("#endDate").val());
ajax.addParam("designer", designer);
ajax.setCallback("result");
ajax.setLoading("result");
ajax.execute();
}
function doProgressNote(id)
{//进度备注
var designId =id
if (Z.V.isEmpty(designId))
{
designId = Z.FM.getChecked("designId");
if (Z.V.isEmpty(designId))
{
Z.alert("请选择一条订单");
return;
}
}
var dialog = new Z.Dialog();
dialog.title = "订单["+designId+"]进度备注";
dialog.url = "/progressNote.htm?designId="+designId;
dialog.width = 1000;
dialog.height = 630;
dialog.execute();
}
</script>
${zhiqim_manager_breadcrumb("设计师定稿超时")}
${zhiqim_manager_content()}
<#-- 导航栏 -->
<div class="z-tabnav-main z-blue z-mg-b20">
<nav>
<ul>
<li onclick="Z.Location.href('toMonthDesign.htm');">当月定稿统计</li>
<li onclick="Z.Location.href('completeDesignRateStat.htm');">定稿率统计</li>
<li class="z-active">定稿超时统计</li>
<li onclick="Z.Location.href('designAfterStatistics.htm')">售后统计</li>
</ul>
</nav>
</div>
<table class="z-table z-bordered z-pd6">
<tr>
<td colspan="2" class="z-bg-white z-h40">
<form name="theForm" action="timeoutDesignerComplete.htm">
<table class="z-table z-bordered z-pd6">
<tr class="z-h40 z-bg-white">
<td>定稿日期:
<input name="startDate" id="startDate" onfocus="Z.date(this);" readonly class="z-input ${zmr_color_class} z-w120" value="${startDate}"> -
<input name="endDate" id="endDate" onfocus="Z.date(this);" readonly class="z-input ${zmr_color_class} z-w120"value="${endDate}">
<button class="z-mg-l10 z-button ${zmr_color_class}">查询</button>
</td>
</table>
</form>
</td>
</tr>
<tr>
<#if timeoutOrderNumSum == 0>
${zhiqim_manager_no_record(2, "没有定稿超时数据信息")}
<#else>
<td width="200" valign="top">
<table class="z-table z-bordered z-bg-white z-pd6 z-text-center">
<tr class="z-h40">
<td colspan="2" class="z-text-left z-bold z-px14" style="text-indent:5px;background-color: #efefef;">超时订单列表</td>
</tr>
<tr class="z-h40">
<td>设计师</td>
<td>超时订单</td>
</tr>
<#for item : timeoutMap.keySet()>
<tr class="z-h40" bgcolor="${zhiqim_manager_tr_bg(item_index)}" onclick="doSwicthCompleteTimeoutOrderInfo('${item}')">
<td>${item}</td>
<td>${timeoutMap.get(item)}</td>
</tr>
</#for>
<tr class="z-h40">
<td>总计</td>
<td>${timeoutOrderNumSum}</td>
</tr>
</table>
</td>
<td width="*" id="result" valign="top"></td>
</#if>
</tr>
</table>
${zhiqim_manager_content_end()}
@@ -0,0 +1,101 @@
<script>
Z.onload(function()
{
doQueryDesigner('${designer}');
});
var designer;
function doQueryDesigner(designers)
{
designer = designers;
doQueryDesignNotCompleteOrderInfo(1);
}
function doQueryDesignNotCompleteOrderInfo(page)
{
var ajax = new Z.Ajax();
ajax.setClassName("StatPresenter");
ajax.setMethodName("doQueryToMonthDesignInfo");
ajax.addParam("page",page);
ajax.addParam("startDate", Z("#startDate").val());
ajax.addParam("endDate", Z("#endDate").val());
ajax.addParam("designer", designer);
ajax.setCallback("result");
ajax.setLoading("result");
ajax.execute();
}
function doProgressNote(id)
{//进度备注
var designId =id
if (Z.V.isEmpty(designId))
{
designId = Z.FM.getChecked("designId");
if (Z.V.isEmpty(designId))
{
Z.alert("请选择一条订单");
return;
}
}
var dialog = new Z.Dialog();
dialog.title = "订单["+designId+"]进度备注";
dialog.url = "/progressNote.htm?designId="+designId;
dialog.width = 1000;
dialog.height = 630;
dialog.execute();
}
</script>
${zhiqim_manager_breadcrumb("设计师定稿率统计")}
${zhiqim_manager_content()}
<#-- 导航栏 -->
<div class="z-tabnav-main z-blue z-mg-b20">
<nav>
<ul>
<li class="z-active">当月定稿统计</li>
<li onclick="Z.Location.href('completeDesignRateStat.htm');">定稿率统计</li>
<li onclick="Z.Location.href('timeoutDesignerComplete.htm');">定稿超时统计</li>
<li onclick="Z.Location.href('designAfterStatistics.htm')">售后统计</li>
</ul>
</nav>
</div>
<table class="z-table z-bordered z-pd6">
<tr>
<td colspan="2">
<form name="theForm" action="toMonthDesign.htm">
<table class="z-table z-bordered z-pd6">
<tr class="z-h40 z-bg-white">
<td>接单日期:
<input name="startDate" id="startDate" onfocus="Z.date(this);" readonly class="z-input ${zmr_color_class} z-w120" value="${startDate}"> -
<input name="endDate" id="endDate" onfocus="Z.date(this);" readonly class="z-input ${zmr_color_class} z-w120"value="${endDate}">
<button class="z-mg-l10 z-button ${zmr_color_class}">查询</button>
</td>
</table>
</form>
</td>
</tr>
<tr class="z-h40">
<td width="420" valign="top">
<table id="statTable" class="z-table z-bordered z-pd6 z-bg-white z-text-center">
<tr class="z-h40">
<td>设计师</td>
<td>定稿量</td>
</tr>
<#for item : modelList>
<tr class="z-h40" bgcolor="${zhiqim_manager_tr_bg(item_index)}" onclick="doQueryDesigner('${item.getDesigner()}');">
<td>${item.getDesigner()}</td>
<td>${item.getOrderEndNum()}</td>
</#for>
<#if modelList.size() == 0>
${zhiqim_manager_no_record(4, "暂时没有当月定稿率数据信息")}
</#if>
</table>
</td>
<td width="*" id="result" valign="top" id="result" ></td>
</tr>
</table>
${zhiqim_manager_content_end()}