Files
ziqim/Yangcai365_web/manage/zview/order/notTimeoutCompleteOrderHistory.zml
2025-02-20 14:59:35 +08:00

116 lines
4.5 KiB
Plaintext

<script>
function doQueryDesigner(designer)
{
Z("#designer").val(designer);
Z.loading(document);
Z("#theForm")[0].submit();
}
</script>
<#def designatedPath="/timeoutOrderNear.htm"/>
${zhiqim_manager_breadcrumb("时效绩效")}
${zhiqim_manager_content()}
<#-- 页面数据定义 -->
<#var typeMap = DesignTypeDao.mapAll()/>
<#var industryMap = Global.get(DesignIndustryCache.class).mapAll()/>
<#-- 导航栏 -->
<div class="z-tabnav-main z-blue z-mg-b20">
<nav>
<ul>
<#if ZmrPathRule.check(request, "/personalPerformanceStat.htm")><li onclick="Z.L.href('personalPerformanceStat.htm');">个人绩效统计</li></#if>
<#if ZmrPathRule.check(request, "/designerPerformanceStat.htm")><li onclick="Z.L.href('designerPerformanceStat.htm');">设计师绩效统计</li></#if>
<li class="z-active">时效绩效</li>
</ul>
</nav>
</div>
<#-- 查询条件 -->
${zhiqim_manager_title("查询条件")}
<form name="theForm" id="theForm">
<table class="z-table z-bordered z-pd6 z-bg-white">
<input type="hidden" name="designer" id="designer" value="">
<tr class="z-h40">
<td width="300">定稿时间:
<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 width="290">产品类型:
<select name="prdTypeId" class="z-select z-w180" data-role="z-select" data-class="${zmr_color_class}">
<option value="">全部</option>
<#for item : typeMap.values()>
<option value="${item.getTypeId()}" <#if prdTypeId == item.getTypeId()>selected</#if>>${item.getTypeName()}</option>
</#for>
</select>
</td>
<td width="*"><button class="z-button z-large z-w100 ${zmr_color_class}" >查询</button>&nbsp;&nbsp;&nbsp;&nbsp;<button class="z-button z-large" type="button" onclick="Z.Forms.clearForm(this.form)">清空</button></td>
</tr>
<tr>
</tr>
</table>
</form>
<#-- 分页列表 -->
<div class="z-mg-t20">
<table class="z-table z-bordered z-pd6 z-bd-none">
<tr>
<td width="300" valign="top">
<table class="z-table z-bordered z-bg-white z-text-center">
<tr class="z-h40" bgcolor="${zmr_thead_bgcolor}">
<td width="60">序号</td>
<td width="100">设计师</td>
<td width="70">订单数</td>
<td width="70">奖励金额</td>
</tr>
<#for item : map.keySet()>
<tr class="z-h40" <#if item == designer>bgcolor="#f3fdfc"</#if> onclick="doQueryDesigner('${item}');">
<td>${item_index +1}</td>
<td>${item}</td>
<td>${map.get(item).getDesignOrderSum()}</td>
<td>${Maths.division(map.get(item).getRewardAmountSum(),100,2)}</td>
</tr>
</#for>
<#if map.values().isEmpty()>
${zhiqim_manager_no_record(4, "暂时没有信息")}
</#if>
</table>
</td>
<td width="*" valign="top">
<table class="z-table z-bordered z-bg-white z-text-center">
<tr class="z-h40" bgcolor="${zmr_thead_bgcolor}">
<td width="150">订单ID</td>
<td width="*">订单信息</td>
<td width="100">旺旺名</td>
<td width="150">录单时间</td>
<td width="150">领单时间</td>
<td width="150">初稿时间</td>
<td width="150">定稿时间</td>
<td width="150">进度备注</td>
<td width="100">设计师</td>
</tr>
<#for item : pageResult.list()>
<#var effectiveTime = 24*60/>
<tr class="z-pointer z-h40" ${zhiqim_manager_tr_onmouse()}>
<td>${item.getDesignId()}</td>
<td>${item.getOrderText()}</td>
<td>${item.getBuyerNick()}</td>
<td>${Sqls.toDateTimeString(item.getCreateTime())}</td>
<td>${Sqls.toDateTimeString(item.getDesignReceiveTime())}</td>
<td>${Sqls.toDateTimeString(item.getDesignDraftTime())}</td>
<td>${Sqls.toDateTimeString(item.getDesignEndTime())}</td>
<td>${progressNoteMap.get(item.getDesignId())}</td>
<td>${item.getDesigner()}</td>
</tr>
</#for>
<#if pageResult.total() == 0>
${zhiqim_manager_no_record(9, "暂时没有时效绩效信息")}
</#if>
</table>
${zhiqim_manager_paging(pageResult, "notTimeoutCompleteOrderHistory.htm")}
</td>
</tr>
</table>
</div>
${zhiqim_manager_content_end()}