timeoutOrderToday.zml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. <#def designatedPath="/timeoutOrderNear.htm"/>
  2. ${zhiqim_manager_breadcrumb("当日超时订单")}
  3. ${zhiqim_manager_content()}
  4. <#-- 导航栏 -->
  5. <div class="z-tabnav-main z-blue z-mg-b20">
  6. <nav>
  7. <ul>
  8. <!--<li onclick="Z.Location.href('chargeOrder.htm');">主管审核</li>-->
  9. <#if ZmrPathRule.check(request, "/timeoutOrderNear.htm")><li onclick="Z.Location.href('timeoutOrderNear.htm');">快超时订单</li></#if>
  10. <li class="z-active">当日超时订单</li>
  11. <#if ZmrPathRule.check(request, "/timeoutOrderHistory.htm")><li onclick="Z.Location.href('timeoutOrderHistory.htm');">历史超时订单</li></#if>
  12. <#if ZmrPathRule.check(request, "/notTimeoutCompleteOrderHistory.htm")><li onclick="Z.Location.href('notTimeoutCompleteOrderHistory.htm');">时效绩效</li></#if>
  13. <#if ZmrPathRule.check(request, "/timeoutCompleteOrderHistory.htm")><li onclick="Z.Location.href('timeoutCompleteOrderHistory.htm');">定稿超时列表</li></#if>
  14. <#if ZmrPathRule.check(request, "/timeoutOrderHistoryStat.htm")><li onclick="Z.Location.href('timeoutOrderHistoryStat.htm');">初稿超时折线图</li></#if>
  15. <#if ZmrPathRule.check(request, "/timelinessOrgStat.htm")><li onclick="Z.Location.href('timelinessOrgStat.htm');">组织初稿时效</li></#if>
  16. </ul>
  17. </nav>
  18. </div>
  19. <#-- 查询条件 -->
  20. ${zhiqim_manager_title("查询条件")}
  21. <form name="theForm">
  22. <table class="z-table z-bordered z-pd6 z-bg-white">
  23. <tr class="z-h40">
  24. <td width="20%">设计师名称:
  25. <select name="designer" class="z-select z-w200" data-role="z-select-search" data-class="${zmr_color_class}">
  26. <option value="">全部</option>
  27. <#for item : designerList>
  28. <option value="${item.getOperatorCode()}" <#if item.getOperatorCode() == designer>selected</#if>>${item.getOperatorCode()}</option>
  29. </#for>
  30. </select>
  31. </td>
  32. <td width="20%">订单状态:
  33. <select name="hasDesigner" class="z-select z-w200" data-role="z-select" data-class="${zmr_color_class}">
  34. <option value="">全部</option>
  35. <option value="0" <#if 0 == hasDesigner>selected</#if>>未领取</option>
  36. <option value="1" <#if 1 == hasDesigner>selected</#if>>已有设计师</option>
  37. </select>
  38. </td>
  39. <td width="20%">选择行业:
  40. <select name="industryId" class="z-select z-w200" data-role="z-select" data-class="${zmr_color_class}">
  41. <option value="">全部</option>
  42. <#for item : Global.get(DesignIndustryCache.class).getIndustryList()>
  43. <option value="${item.getIndustryId()}" <#if item.getIndustryId() == industryId>selected</#if>>${item.getIndustryName()}</option>
  44. </#for>
  45. </select>
  46. </td>
  47. <td width="20%">产品类型:<select name="typeId" class="z-select z-w180" data-role="z-select" data-class="${zmr_color_class}">
  48. <option value="">全部</option>
  49. <#for item : designTypeList>
  50. <option value="${item.getTypeId()}" <#if typeId == item.getTypeId()>selected</#if>>${item.getTypeName()}</option>
  51. </#for>
  52. </select>
  53. </td>
  54. <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>
  55. </tr>
  56. </table>
  57. </form>
  58. <#-- 分页列表 -->
  59. <div class="z-mg-t20">
  60. <table class="z-table z-bordered z-bg-white z-text-center">
  61. <tr class="z-h40" bgcolor="${zmr_thead_bgcolor}">
  62. <td width="150">订单ID</td>
  63. <td width="*">订单信息</td>
  64. <td width="100">行业</td>
  65. <td width="200">旺旺名</td>
  66. <td width="150">录单时间</td>
  67. <td width="150">领单时间</td>
  68. <td width="150">进度备注</td>
  69. <td width="100">超时时长</td>
  70. <td width="100">设计师</td>
  71. </tr>
  72. <#var typeMap = DesignTypeDao.mapAll()/>
  73. <#for item : pageResult.list()>
  74. <#var effectiveTime = Validates.isEmpty(typeMap) ? 0 : ( typeMap.containsKey(item.getTypeId()) ? typeMap.get(item.getTypeId()).getEffectiveTime() : 0)/>
  75. <tr class="z-pointer z-h40" ${zhiqim_manager_tr_onmouse()} <#if item_index % 2 == 0>bgcolor="#f3fdfc"</#if>>
  76. <td>${item.getDesignId()}</td>
  77. <td>${item.getOrderText()}</td>
  78. <td>${Global.get(DesignIndustryCache.class).getIndustryName(item.getIndustryId())}</td>
  79. <td>${item.getBuyerNick()}</td>
  80. <td>${Sqls.toDateTimeString(item.getCreateTime())}</td>
  81. <td>${Sqls.toDateTimeString(item.getDesignReceiveTime())}</td>
  82. <td>${progressNoteMap.get(item.getDesignId())}</td>
  83. <td><span class="z-text-red">${DateTimes.compareMinute(Sqls.nowTimestamp(), item.getCreateTime()) - effectiveTime} 分钟</span></td>
  84. <td>${item.getDesigner()}</td>
  85. </tr>
  86. </#for>
  87. <#if pageResult.total() == 0>
  88. ${zhiqim_manager_no_record(9, "暂时没有当日超时订单信息")}
  89. </#if>
  90. </table>
  91. </div>
  92. ${zhiqim_manager_paging(pageResult, "timeoutOrderToday.htm")}
  93. ${zhiqim_manager_content_end()}