105 lines
3.8 KiB
Plaintext
105 lines
3.8 KiB
Plaintext
<#def designatedPath="/draftStatusOrderStat.htm"/>
|
|
<script>
|
|
Z.onload(function()
|
|
{
|
|
doQueryDraftOrderStatInfo(1);
|
|
});
|
|
|
|
var designer;
|
|
function doQueryDesigner(designers)
|
|
{
|
|
designer = designers;
|
|
doQueryDraftOrderStatInfo(1);
|
|
}
|
|
|
|
function doQueryDraftOrderStatInfo(page)
|
|
{
|
|
var ajax = new Z.Ajax();
|
|
ajax.setClassName("StatPresenter");
|
|
ajax.setMethodName("doQueryDraftOrderStatInfo");
|
|
ajax.addParam("page",page);
|
|
ajax.addParam("beginDate", Z("#beginDate").val());
|
|
ajax.addParam("endDate", Z("#endDate").val());
|
|
ajax.addParam("designer", designer);
|
|
ajax.addParam("querys",${querys});
|
|
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 onclick="Z.Location.href('draftStatusOrderStat.htm');">未完成订单统计</li>
|
|
<li class="z-active">初稿统计</li>
|
|
<#if ZmrPathRule.check(request, "/designerPerformance.htm")><li onclick="Z.Location.href('designerPerformance.htm');">设计师绩效统计</li></#if>
|
|
<#if ZmrPathRule.check(request, "/completeDesignRateStat.htm")><li onclick="Z.Location.href('completeDesignRateStat.htm');">设计师定稿率统计</li></#if>
|
|
</ul>
|
|
</nav>
|
|
</div>
|
|
|
|
<table class="z-table z-bordered z-pd6">
|
|
<tr>
|
|
<td colspan="2">
|
|
<form name="theForm" action="draftOrderConvert.htm" id="draftOrderConvertForm">
|
|
<table class="z-table">
|
|
<tr class="z-h40" bgcolor="${zmr_thead_bgcolor}">
|
|
<td class="z-bold z-px14 zi-pd-l5"> 统计查询条件:</td>
|
|
</tr>
|
|
</table>
|
|
<table class="z-table z-bordered z-pd6">
|
|
<tr class="z-h40 z-bg-white">
|
|
<td width="350px">初稿日期:
|
|
<input name="beginDate" id="beginDate" onfocus="Z.date(this);" readonly class="z-input ${zmr_color_class} z-w120" value="<#if Validates.isNotEmpty(beginDate)>${beginDate}<#else>${DateTimes.getDateString()}</#if>"> -
|
|
<input name="endDate" id="endDate" onfocus="Z.date(this);" readonly class="z-input ${zmr_color_class} z-w120"value="<#if Validates.isNotEmpty(endDate)>${endDate}<#else>${DateTimes.getDateString()}</#if>">
|
|
<input type="hidden" name="query" id="query" value="1" >
|
|
</td>
|
|
<#if Validates.isNotEmpty(orgList)>
|
|
<td width="250px"> 组 织
|
|
<select name="orgId" class="z-select z-w180" data-role="z-select-search" data-class="${zmr_color_class}">
|
|
<#for item : orgList>
|
|
<option value="${item.getOrgId()}" <#if orgId == item.getOrgId()>selected</#if>>${item.getOrgName()}</option>
|
|
</#for>
|
|
</select>
|
|
</td>
|
|
</#if>
|
|
<td>
|
|
<button class="z-mg-l10 z-button ${zmr_color_class}" onclick="Z.loading({shadow: true});document.getElementById('draftOrderConvertForm').submit();">查询</button>
|
|
</td>
|
|
</table>
|
|
</form>
|
|
</td>
|
|
</tr>
|
|
<tr class="z-h40">
|
|
<td width="320" valign="top">
|
|
<table class="z-table z-bordered z-pd6 z-bg-white z-text-center">
|
|
<tr class="z-h40">
|
|
<td>序号</td>
|
|
<td>设计师</td>
|
|
<td>初稿单数</td>
|
|
</tr>
|
|
<#for item : draftList>
|
|
<tr class="z-h40" bgcolor="${zhiqim_manager_tr_bg(item_index)}" onclick="doQueryDesigner('${item.getDesignName()}');">
|
|
<td>${item_index + 1}</td>
|
|
<td>${item.getDesignName()}</td>
|
|
<td>${item.getDraftOrderCount()}</td>
|
|
</tr>
|
|
</#for>
|
|
<#if draftList.size() == 0>
|
|
${zhiqim_manager_no_record(3, "暂时没有统计信息")}
|
|
<#else>
|
|
<tr class="z-h40" bgcolor="${zmr_thead_bgcolor}">
|
|
<td colspan="2">汇总</td>
|
|
<td>${allDraftOrderCount}</td>
|
|
</tr>
|
|
</#if>
|
|
</table>
|
|
</td>
|
|
<td width="*" id="result" valign="top"></td>
|
|
</tr>
|
|
</table>
|
|
${zhiqim_manager_content_end()} |