notTimeoutCompleteOrderHistory.zml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. <script>
  2. function doQueryDesigner(designer)
  3. {
  4. Z("#designer").val(designer);
  5. Z.loading(document);
  6. Z("#theForm")[0].submit();
  7. }
  8. </script>
  9. <#def designatedPath="/timeoutOrderNear.htm"/>
  10. ${zhiqim_manager_breadcrumb("时效绩效")}
  11. ${zhiqim_manager_content()}
  12. <#-- 页面数据定义 -->
  13. <#var typeMap = DesignTypeDao.mapAll()/>
  14. <#var industryMap = Global.get(DesignIndustryCache.class).mapAll()/>
  15. <#-- 导航栏 -->
  16. <div class="z-tabnav-main z-blue z-mg-b20">
  17. <nav>
  18. <ul>
  19. <#if ZmrPathRule.check(request, "/personalPerformanceStat.htm")><li onclick="Z.L.href('personalPerformanceStat.htm');">个人绩效统计</li></#if>
  20. <#if ZmrPathRule.check(request, "/designerPerformanceStat.htm")><li onclick="Z.L.href('designerPerformanceStat.htm');">设计师绩效统计</li></#if>
  21. <li class="z-active">时效绩效</li>
  22. </ul>
  23. </nav>
  24. </div>
  25. <#-- 查询条件 -->
  26. ${zhiqim_manager_title("查询条件")}
  27. <form name="theForm" id="theForm">
  28. <table class="z-table z-bordered z-pd6 z-bg-white">
  29. <input type="hidden" name="designer" id="designer" value="">
  30. <tr class="z-h40">
  31. <td width="300">定稿时间:
  32. <input name="startDate" class="z-input z-w90 ${zmr_color_class}" readonly="true" onfocus="Z.date(this);" value="${startDate}"> -
  33. <input name="endDate" class="z-input z-w90 ${zmr_color_class}" readonly="true" onfocus="Z.date(this);" value="${endDate}">
  34. </td>
  35. <td width="290">产品类型:
  36. <select name="prdTypeId" class="z-select z-w180" data-role="z-select" data-class="${zmr_color_class}">
  37. <option value="">全部</option>
  38. <#for item : typeMap.values()>
  39. <option value="${item.getTypeId()}" <#if prdTypeId == item.getTypeId()>selected</#if>>${item.getTypeName()}</option>
  40. </#for>
  41. </select>
  42. </td>
  43. <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>
  44. </tr>
  45. <tr>
  46. </tr>
  47. </table>
  48. </form>
  49. <#-- 分页列表 -->
  50. <div class="z-mg-t20">
  51. <table class="z-table z-bordered z-pd6 z-bd-none">
  52. <tr>
  53. <td width="300" valign="top">
  54. <table class="z-table z-bordered z-bg-white z-text-center">
  55. <tr class="z-h40" bgcolor="${zmr_thead_bgcolor}">
  56. <td width="60">序号</td>
  57. <td width="100">设计师</td>
  58. <td width="70">订单数</td>
  59. <td width="70">奖励金额</td>
  60. </tr>
  61. <#for item : map.keySet()>
  62. <tr class="z-h40" <#if item == designer>bgcolor="#f3fdfc"</#if> onclick="doQueryDesigner('${item}');">
  63. <td>${item_index +1}</td>
  64. <td>${item}</td>
  65. <td>${map.get(item).getDesignOrderSum()}</td>
  66. <td>${Maths.division(map.get(item).getRewardAmountSum(),100,2)}</td>
  67. </tr>
  68. </#for>
  69. <#if map.values().isEmpty()>
  70. ${zhiqim_manager_no_record(4, "暂时没有信息")}
  71. </#if>
  72. </table>
  73. </td>
  74. <td width="*" valign="top">
  75. <table class="z-table z-bordered z-bg-white z-text-center">
  76. <tr class="z-h40" bgcolor="${zmr_thead_bgcolor}">
  77. <td width="150">订单ID</td>
  78. <td width="*">订单信息</td>
  79. <td width="100">旺旺名</td>
  80. <td width="150">录单时间</td>
  81. <td width="150">领单时间</td>
  82. <td width="150">初稿时间</td>
  83. <td width="150">定稿时间</td>
  84. <td width="150">进度备注</td>
  85. <td width="100">设计师</td>
  86. </tr>
  87. <#for item : pageResult.list()>
  88. <#var effectiveTime = 24*60/>
  89. <tr class="z-pointer z-h40" ${zhiqim_manager_tr_onmouse()}>
  90. <td>${item.getDesignId()}</td>
  91. <td>${item.getOrderText()}</td>
  92. <td>${item.getBuyerNick()}</td>
  93. <td>${Sqls.toDateTimeString(item.getCreateTime())}</td>
  94. <td>${Sqls.toDateTimeString(item.getDesignReceiveTime())}</td>
  95. <td>${Sqls.toDateTimeString(item.getDesignDraftTime())}</td>
  96. <td>${Sqls.toDateTimeString(item.getDesignEndTime())}</td>
  97. <td>${progressNoteMap.get(item.getDesignId())}</td>
  98. <td>${item.getDesigner()}</td>
  99. </tr>
  100. </#for>
  101. <#if pageResult.total() == 0>
  102. ${zhiqim_manager_no_record(9, "暂时没有时效绩效信息")}
  103. </#if>
  104. </table>
  105. ${zhiqim_manager_paging(pageResult, "notTimeoutCompleteOrderHistory.htm")}
  106. </td>
  107. </tr>
  108. </table>
  109. </div>
  110. ${zhiqim_manager_content_end()}