timelinessOrgStat.zml 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. ${Scripts.src("/zinc/chart/highcharts.js")}
  2. ${Scripts.src("/zinc/chart/exporting.js")}
  3. ${Scripts.src("/zinc/chart/highcharts-zh_CN.js")}
  4. <script>
  5. Z.onload(function()
  6. {
  7. Highcharts.setOptions({
  8. colors: ['#c00','#006600']
  9. });
  10. var chart = Highcharts.chart('container',
  11. {
  12. title: {text: '组织初稿时效统计(总单量:${designOrderSum})'},
  13. tooltip: {headerFormat: '{series.name}<br>', pointFormat: '{point.name}: <b>{point.percentage:.1f}%</b>'},
  14. plotOptions:
  15. {
  16. pie:
  17. {
  18. allowPointSelect: true, // 可以被选择
  19. cursor: 'pointer', // 鼠标样式
  20. dataLabels:
  21. {
  22. enabled: true,
  23. useHTML: true,
  24. format: '<span style=" white-space:normal;">{point.name}</span>'
  25. + '<span style="display:block;">订单数量:{point.y}</span>'
  26. + '<span style="display:block;" class="z-text-red">占比:{point.percentage:.1f} % </span>',
  27. }
  28. }
  29. },
  30. series:
  31. [{
  32. type: 'pie',
  33. name: '订单量占比',
  34. data:
  35. [
  36. <#for item : statMap.entrySet()>
  37. ['${item.getKey()}', ${item.getValue()}],
  38. </#for>
  39. ]
  40. }]
  41. });
  42. });
  43. </script>
  44. ${zhiqim_manager_breadcrumb("组织初稿时效")}
  45. ${zhiqim_manager_content()}
  46. <#-- 导航栏 -->
  47. <div class="z-tabnav-main z-blue z-mg-b20">
  48. <nav>
  49. <ul>
  50. <!--<li onclick="Z.Location.href('chargeOrder.htm');">主管审核</li>-->
  51. <#if ZmrPathRule.check(request, "/timeoutOrderNear.htm")><li onclick="Z.Location.href('timeoutOrderNear.htm');">快超时订单</li></#if>
  52. <#if ZmrPathRule.check(request, "/timeoutOrderToday.htm")><li onclick="Z.Location.href('timeoutOrderToday.htm');">当日超时订单</li></#if>
  53. <#if ZmrPathRule.check(request, "/timeoutOrderHistory.htm")><li onclick="Z.Location.href('timeoutOrderHistory.htm');">历史超时订单</li></#if>
  54. <#if ZmrPathRule.check(request, "/notTimeoutCompleteOrderHistory.htm")><li onclick="Z.Location.href('notTimeoutCompleteOrderHistory.htm');">时效绩效</li></#if>
  55. <#if ZmrPathRule.check(request, "/timeoutCompleteOrderHistory.htm")><li onclick="Z.Location.href('timeoutCompleteOrderHistory.htm');">定稿超时列表</li></#if>
  56. <#if ZmrPathRule.check(request, "/timeoutOrderHistoryStat.htm")><li onclick="Z.Location.href('timeoutOrderHistoryStat.htm');">初稿超时折线图</li></#if>
  57. <li class="z-active">组织初稿时效</li>
  58. </ul>
  59. </nav>
  60. </div>
  61. <#-- 查询条件 -->
  62. ${zhiqim_manager_title("查询条件")}
  63. <form action="timelinessOrgStat.htm" method="post">
  64. <table class="z-table z-bordered z-pd6 z-bg-white">
  65. <tr class="z-h40">
  66. <td width="40%">录单时间:<input id="startDate" name="startDate" class="z-input z-w90 ${zmr_color_class}" readonly="true" onfocus="Z.date(this);" value="${startDate}">&nbsp;-&nbsp;
  67. <input id="endDate" name="endDate" class="z-input z-mg-l3 z-w90 ${zmr_color_class}" readonly="true" onfocus="Z.date(this);" value="${endDate}">&nbsp;&nbsp;&nbsp;
  68. 产品类型:
  69. <select name="typeId" class="z-select z-mg-r20" data-role="z-select" data-class="${zmr_color_class}">
  70. <option value="">全部产品</option>
  71. <#for items : designTypeList>
  72. <option value="${items.getTypeId()}" <#if items.getTypeId()==typeId>selected</#if>>${items.getTypeName()}</option>
  73. </#for>
  74. </select>
  75. </td>
  76. <td><button class="z-button z-large z-w120 z-mg-r15 ${zmr_color_class}">查询</button><button class="z-button z-large" type="button" onclick="Z.FM.clearForm(this.form);">清空</button></td>
  77. </tr>
  78. </table>
  79. </form>
  80. <#-- 分页列表-->
  81. <table class="z-table z-bordered z-pd6 z-bg-white">
  82. <tr>
  83. <td width="50%"><div id="container" class="z-bg-white" style="min-width:400px;height:600px"></div></td>
  84. <td width="*">
  85. <table class="z-table z-bordered-line z-mg-b20 z-lh30 z-text-left z-pd-r10 z-pd-l10 z-pd-b5 z-pd-t5">
  86. <tr>
  87. <td><span class="z-bold">当日总设计单:</span>&nbsp;&nbsp;&nbsp;${designOrderSum}</td>
  88. <td colspan="3"></td>
  89. </tr>
  90. <tr>
  91. <td width="40%"><span class="z-bold">当日总初稿:</span>&nbsp;&nbsp;${firstDraftSum}</td>
  92. <td width="30%"><span>时效内:</span>${timelinessSum}</td>
  93. <td width="30%"><span>已超时:</span>${exceedTimelinessSum}</td>
  94. </tr>
  95. <tr>
  96. <td width="40%"><span class="z-bold">等待初稿:</span>&nbsp;&nbsp;${sleepDraftSum}</td>
  97. <td width="30%"><span>时效内:</span>${sleepTimelinessSum}</td>
  98. <td width="30%"><span>已超时:</span>${exceedSleepTimelinessSum}</td>
  99. </tr>
  100. </table>
  101. <table class="z-table z-bordered-line z-pd10 z-bg-white z-text-left">
  102. <tr>
  103. <td colspan="9" class="z-bold">组织初稿时效统计表</td>
  104. </tr>
  105. <tr class="z-bg-gray">
  106. <td width="15%">组织名称</td>
  107. <td width="10%">总单量</td>
  108. <td width="10%">已初稿</td>
  109. <td width="10%">时效内</td>
  110. <td width="10%">已超时</td>
  111. <td width="10%">等待初稿</td>
  112. <td width="10%">时效内</td>
  113. <td width="10%">已超时</td>
  114. <td width="15%">超时百分比</td>
  115. </tr>
  116. <#for item : orgStatModelList>
  117. <tr>
  118. <td>${item.getOrgName()}</td>
  119. <td>${item.getOrgOrderSum()}</td>
  120. <td>${item.getOrgFirstDraftSum()}</td>
  121. <td>${item.getOrgTimelinessSum()}</td>
  122. <td>${item.getOrgExceedTimelinessSum()}</td>
  123. <td>${item.getOrgSleepDraftSum()}</td>
  124. <td>${item.getOrgSleepTimelinessSum()}</td>
  125. <td>${item.getOrgExceedSleepTimelinessSum()}</td>
  126. <td>${item.getOrgExceedPrent()}%</td>
  127. </tr>
  128. </#for>
  129. <tr class="z-bold">
  130. <td>总计</td>
  131. <td>${designOrderSum}</td>
  132. <td>${firstDraftSum}</td>
  133. <td>${timelinessSum}</td>
  134. <td>${exceedTimelinessSum}</td>
  135. <td>${sleepDraftSum}</td>
  136. <td>${sleepTimelinessSum}</td>
  137. <td>${exceedSleepTimelinessSum}</td>
  138. <td>${prentSum}%</td>
  139. </tr>
  140. </table>
  141. </td>
  142. </tr>
  143. </table>
  144. ${zhiqim_manager_content_end()}