first commit
This commit is contained in:
@@ -0,0 +1,123 @@
|
||||
<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.addParam("orgId", Z("#orgId").val());
|
||||
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('draftStatusOrderStat.htm');">未完成订单统计</li>
|
||||
<li onclick="Z.Location.href('draftOrderConvert.htm');">初稿统计</li>
|
||||
<#if ZmrPathRule.check(request, "/designerPerformance.htm")><li onclick="Z.Location.href('designerPerformance.htm');">设计师绩效统计</li></#if>
|
||||
<li class="z-active">设计师定稿率统计</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">
|
||||
<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>接单日期:
|
||||
<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}">
|
||||
<#if isOrgRoot>  设计师:<input name="designer" class="${zmr_color_class} z-input z-w160 z-mg-l4" value="${designer}" maxlength="64" placeholder="设计师"></#if>
|
||||
|
||||
|
||||
  
|
||||
组织:
|
||||
|
||||
<select name="orgId" id="orgId" class="z-select z-w180" data-role="z-select" data-class="${zmr_color_class}">
|
||||
<option value="">全部</option>
|
||||
<#for item : orgList>
|
||||
<option value="${item.getOrgId()}" <#if item.getOrgId() == orgId>selected</#if>>${item.getOrgName()}</option>
|
||||
</#for>
|
||||
</select>
|
||||
  
|
||||
<button class="z-mg-l10 z-button ${zmr_color_class}" onclick="this.form.submit()">查询</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()}
|
||||
Reference in New Issue
Block a user