timeoutDesignerComplete.zml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. <style>
  2. .z-text-ellipsis {
  3. text-overflow: ellipsis;
  4. overflow: hidden;
  5. white-space: nowrap;
  6. display: inline;
  7. }
  8. .z-floater .z-content {
  9. position: absolute;
  10. top: 0;
  11. left: 0;
  12. min-width: 30px;
  13. min-height: 25px;
  14. padding: 6px;
  15. font-size: 12px;
  16. border: 2px solid #c6c6c6;
  17. line-height: 25px;
  18. text-align: center;
  19. background: #fff;
  20. }
  21. </style>
  22. <script>
  23. Z.onload(function(){
  24. doSwicthCompleteTimeoutOrderInfo(${designer});
  25. });
  26. var designer;
  27. function doSwicthCompleteTimeoutOrderInfo(des){
  28. designer = des;
  29. doQueryCompleteTimeoutOrderInfo(1);
  30. }
  31. function doQueryCompleteTimeoutOrderInfo(page){
  32. var ajax = new Z.Ajax();
  33. ajax.setClassName("StatPresenter");
  34. ajax.setMethodName("doQueryCompleteTimeoutOrderInfo");
  35. ajax.addParam("page",page);
  36. ajax.addParam("startDate", Z("#startDate").val());
  37. ajax.addParam("endDate", Z("#endDate").val());
  38. ajax.addParam("designer", designer);
  39. ajax.setCallback("result");
  40. ajax.setLoading("result");
  41. ajax.execute();
  42. }
  43. function doProgressNote(id)
  44. {//进度备注
  45. var designId =id
  46. if (Z.V.isEmpty(designId))
  47. {
  48. designId = Z.FM.getChecked("designId");
  49. if (Z.V.isEmpty(designId))
  50. {
  51. Z.alert("请选择一条订单");
  52. return;
  53. }
  54. }
  55. var dialog = new Z.Dialog();
  56. dialog.title = "订单["+designId+"]进度备注";
  57. dialog.url = "/progressNote.htm?designId="+designId;
  58. dialog.width = 1000;
  59. dialog.height = 630;
  60. dialog.execute();
  61. }
  62. </script>
  63. ${zhiqim_manager_breadcrumb("设计师定稿超时")}
  64. ${zhiqim_manager_content()}
  65. <#-- 导航栏 -->
  66. <div class="z-tabnav-main z-blue z-mg-b20">
  67. <nav>
  68. <ul>
  69. <li onclick="Z.Location.href('toMonthDesign.htm');">当月定稿统计</li>
  70. <li onclick="Z.Location.href('completeDesignRateStat.htm');">定稿率统计</li>
  71. <li class="z-active">定稿超时统计</li>
  72. <li onclick="Z.Location.href('designAfterStatistics.htm')">售后统计</li>
  73. </ul>
  74. </nav>
  75. </div>
  76. <table class="z-table z-bordered z-pd6">
  77. <tr>
  78. <td colspan="2" class="z-bg-white z-h40">
  79. <form name="theForm" action="timeoutDesignerComplete.htm">
  80. <table class="z-table z-bordered z-pd6">
  81. <tr class="z-h40 z-bg-white">
  82. <td>定稿日期:
  83. <input name="startDate" id="startDate" onfocus="Z.date(this);" readonly class="z-input ${zmr_color_class} z-w120" value="${startDate}"> -
  84. <input name="endDate" id="endDate" onfocus="Z.date(this);" readonly class="z-input ${zmr_color_class} z-w120"value="${endDate}">
  85. <button class="z-mg-l10 z-button ${zmr_color_class}">查询</button>
  86. </td>
  87. </table>
  88. </form>
  89. </td>
  90. </tr>
  91. <tr>
  92. <#if timeoutOrderNumSum == 0>
  93. ${zhiqim_manager_no_record(2, "没有定稿超时数据信息")}
  94. <#else>
  95. <td width="200" valign="top">
  96. <table class="z-table z-bordered z-bg-white z-pd6 z-text-center">
  97. <tr class="z-h40">
  98. <td colspan="2" class="z-text-left z-bold z-px14" style="text-indent:5px;background-color: #efefef;">超时订单列表</td>
  99. </tr>
  100. <tr class="z-h40">
  101. <td>设计师</td>
  102. <td>超时订单</td>
  103. </tr>
  104. <#for item : timeoutMap.keySet()>
  105. <tr class="z-h40" bgcolor="${zhiqim_manager_tr_bg(item_index)}" onclick="doSwicthCompleteTimeoutOrderInfo('${item}')">
  106. <td>${item}</td>
  107. <td>${timeoutMap.get(item)}</td>
  108. </tr>
  109. </#for>
  110. <tr class="z-h40">
  111. <td>总计</td>
  112. <td>${timeoutOrderNumSum}</td>
  113. </tr>
  114. </table>
  115. </td>
  116. <td width="*" id="result" valign="top"></td>
  117. </#if>
  118. </tr>
  119. </table>
  120. ${zhiqim_manager_content_end()}