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

97 行
4.9 KiB
Plaintext

<#def designatedPath="/timeoutOrderNear.htm"/>
${zhiqim_manager_breadcrumb("当日超时订单")}
${zhiqim_manager_content()}
<#-- 导航栏 -->
<div class="z-tabnav-main z-blue z-mg-b20">
<nav>
<ul>
<!--<li onclick="Z.Location.href('chargeOrder.htm');">主管审核</li>-->
<#if ZmrPathRule.check(request, "/timeoutOrderNear.htm")><li onclick="Z.Location.href('timeoutOrderNear.htm');">快超时订单</li></#if>
<li class="z-active">当日超时订单</li>
<#if ZmrPathRule.check(request, "/timeoutOrderHistory.htm")><li onclick="Z.Location.href('timeoutOrderHistory.htm');">历史超时订单</li></#if>
<#if ZmrPathRule.check(request, "/notTimeoutCompleteOrderHistory.htm")><li onclick="Z.Location.href('notTimeoutCompleteOrderHistory.htm');">时效绩效</li></#if>
<#if ZmrPathRule.check(request, "/timeoutCompleteOrderHistory.htm")><li onclick="Z.Location.href('timeoutCompleteOrderHistory.htm');">定稿超时列表</li></#if>
<#if ZmrPathRule.check(request, "/timeoutOrderHistoryStat.htm")><li onclick="Z.Location.href('timeoutOrderHistoryStat.htm');">初稿超时折线图</li></#if>
<#if ZmrPathRule.check(request, "/timelinessOrgStat.htm")><li onclick="Z.Location.href('timelinessOrgStat.htm');">组织初稿时效</li></#if>
</ul>
</nav>
</div>
<#-- 查询条件 -->
${zhiqim_manager_title("查询条件")}
<form name="theForm">
<table class="z-table z-bordered z-pd6 z-bg-white">
<tr class="z-h40">
<td width="20%">设计师名称:
<select name="designer" class="z-select z-w200" data-role="z-select-search" data-class="${zmr_color_class}">
<option value="">全部</option>
<#for item : designerList>
<option value="${item.getOperatorCode()}" <#if item.getOperatorCode() == designer>selected</#if>>${item.getOperatorCode()}</option>
</#for>
</select>
</td>
<td width="20%">订单状态:
<select name="hasDesigner" class="z-select z-w200" data-role="z-select" data-class="${zmr_color_class}">
<option value="">全部</option>
<option value="0" <#if 0 == hasDesigner>selected</#if>>未领取</option>
<option value="1" <#if 1 == hasDesigner>selected</#if>>已有设计师</option>
</select>
</td>
<td width="20%">选择行业:
<select name="industryId" class="z-select z-w200" data-role="z-select" data-class="${zmr_color_class}">
<option value="">全部</option>
<#for item : Global.get(DesignIndustryCache.class).getIndustryList()>
<option value="${item.getIndustryId()}" <#if item.getIndustryId() == industryId>selected</#if>>${item.getIndustryName()}</option>
</#for>
</select>
</td>
<td width="20%">产品类型:<select name="typeId" class="z-select z-w180" data-role="z-select" data-class="${zmr_color_class}">
<option value="">全部</option>
<#for item : designTypeList>
<option value="${item.getTypeId()}" <#if typeId == 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>
</table>
</form>
<#-- 分页列表 -->
<div class="z-mg-t20">
<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="200">旺旺名</td>
<td width="150">录单时间</td>
<td width="150">领单时间</td>
<td width="150">进度备注</td>
<td width="100">超时时长</td>
<td width="100">设计师</td>
</tr>
<#var typeMap = DesignTypeDao.mapAll()/>
<#for item : pageResult.list()>
<#var effectiveTime = Validates.isEmpty(typeMap) ? 0 : ( typeMap.containsKey(item.getTypeId()) ? typeMap.get(item.getTypeId()).getEffectiveTime() : 0)/>
<tr class="z-pointer z-h40" ${zhiqim_manager_tr_onmouse()} <#if item_index % 2 == 0>bgcolor="#f3fdfc"</#if>>
<td>${item.getDesignId()}</td>
<td>${item.getOrderText()}</td>
<td>${Global.get(DesignIndustryCache.class).getIndustryName(item.getIndustryId())}</td>
<td>${item.getBuyerNick()}</td>
<td>${Sqls.toDateTimeString(item.getCreateTime())}</td>
<td>${Sqls.toDateTimeString(item.getDesignReceiveTime())}</td>
<td>${progressNoteMap.get(item.getDesignId())}</td>
<td><span class="z-text-red">${DateTimes.compareMinute(Sqls.nowTimestamp(), item.getCreateTime()) - effectiveTime} 分钟</span></td>
<td>${item.getDesigner()}</td>
</tr>
</#for>
<#if pageResult.total() == 0>
${zhiqim_manager_no_record(9, "暂时没有当日超时订单信息")}
</#if>
</table>
</div>
${zhiqim_manager_paging(pageResult, "timeoutOrderToday.htm")}
${zhiqim_manager_content_end()}