Files
ziqim/Yangcai365_design/manage/zview/stat/design/toMonthDesign.zml
T
2025-02-20 14:58:55 +08:00

101 lines
2.9 KiB
Plaintext

<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()}