completeOrgRateStat.zml 3.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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. var orgOrderEndSum = '${orgOrderEndSum}';
  8. Highcharts.chart('container',
  9. {
  10. chart: {plotBackgroundColor: null,plotBorderWidth: null,plotShadow: false,type: 'pie'},
  11. title: {text: '组织定稿率统计(总定稿量:'+orgOrderEndSum+')'},
  12. tooltip: {pointFormat: '{series.name}: <b>{point.percentage:.1f}%</b>'},
  13. plotOptions:
  14. {
  15. pie:
  16. {
  17. allowPointSelect: true,
  18. cursor: 'pointer',
  19. dataLabels:
  20. {
  21. enabled: true,
  22. format: '<b>{point.name}</b>: {point.percentage:.1f} %',
  23. style: { color: (Highcharts.theme && Highcharts.theme.contrastTextColor) || 'black'}
  24. }
  25. }
  26. },
  27. series:
  28. [{
  29. name: '组织定稿占比',
  30. colorByPoint: true,
  31. data:[
  32. <#for item : pieMap.keySet()>
  33. {name: '${item}',y: ${pieMap.get(item)}},
  34. </#for>
  35. ]
  36. }]
  37. });
  38. });
  39. </script>
  40. ${zhiqim_manager_breadcrumb("组织定稿率统计")}
  41. ${zhiqim_manager_content()}
  42. <#-- 导航栏 -->
  43. <div class="z-tabnav-main z-blue z-mg-b20">
  44. <nav>
  45. <ul>
  46. <li onclick="Z.Location.href('draftStatusOrderStat.htm');">未完成订单统计</li>
  47. <li onclick="Z.Location.href('draftOrderConvert.htm');">初稿统计</li>
  48. <!--<li onclick="Z.Location.href('completeOrderConvert.htm');">定稿统计</li>
  49. <li onclick="Z.Location.href('completeOrderDetail.htm');">定稿统计</li> -->
  50. <#if ZmrPathRule.check(request, "/designerPerformance.htm")><li onclick="Z.Location.href('designerPerformance.htm');">设计师绩效统计</li></#if>
  51. <#if ZmrPathRule.check(request, "/designFinalizeOrgCase.htm")><li onclick="Z.Location.href('designFinalizeOrgCase.htm');">组织定稿统计</li></#if>
  52. <#if ZmrPathRule.check(request, "/completeDesignRateStat.htm")><li onclick="Z.Location.href('completeDesignRateStat.htm');">设计师定稿率统计</li></#if>
  53. <li class="z-active">组织定稿率统计</li>
  54. <li onclick="Z.Location.href('designOrderTypeStat.htm');">订单类型统计</li>
  55. </ul>
  56. </nav>
  57. </div>
  58. <#-- 查询条件 -->
  59. ${zhiqim_manager_title("查询条件")}
  60. <form name="theForm" action="/completeOrgRateStat.htm">
  61. <table class="z-table z-bordered z-pd6">
  62. <tr class="z-h40 z-bg-white">
  63. <td>创建日期:
  64. <input name="startDate" id="startDate" onfocus="Z.date(this);" readonly class="z-input ${zmr_color_class} z-w120" value="${startDate}"> -
  65. <input name="endDate" id="endDate" onfocus="Z.date(this);" readonly class="z-input ${zmr_color_class} z-w120"value="${endDate}">
  66. <button class="z-mg-l10 z-button ${zmr_color_class}">查询</button>
  67. </td>
  68. </tr>
  69. </table>
  70. </form>
  71. <br>
  72. <#-- 分页列表-->
  73. <table class="z-table z-bordered z-pd6 z-bg-white">
  74. <tr>
  75. <td width="50%"><div id="container" class="z-bg-white" style="min-width:400px;height:600px"></div></td>
  76. <td width="*">
  77. <table class="z-table z-bordered-line z-pd10 z-bg-white z-text-left" style="text-align:center">
  78. <tr class="z-bold">
  79. <td width="20%">组织名称</td>
  80. <td width="20%">接单量</td>
  81. <td width="20%">定稿量</td>
  82. <td width="30%">定稿率</td>
  83. </tr>
  84. <#for item : modelList>
  85. <tr>
  86. <td>${item.getOrgName()}</td>
  87. <td>${item.getOrgOrderNum()}</td>
  88. <td>${item.getOrgOrderEndNum()}</td>
  89. <td>${item.getOrgEndProportion()}%</td>
  90. </tr>
  91. </#for>
  92. </table>
  93. </td>
  94. </tr>
  95. </table>
  96. ${zhiqim_manager_content_end()}