timeoutOrderHistoryStat.zml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. ${Styles.htmlOverflowHidden()}
  2. ${Scripts.src("/zinc/chart/highcharts.js")}
  3. ${Scripts.src("/zinc/chart/exporting.js")}
  4. ${Scripts.src("/zinc/chart/data.js")}
  5. ${Scripts.src("/zinc/chart/highcharts-zh_CN.js")}
  6. <script>
  7. Z.onload(function()
  8. {
  9. var chart = new Highcharts.Chart('container',
  10. {
  11. chart: {
  12. type: 'spline'
  13. },
  14. title: {
  15. text: '初稿超时走势'
  16. },
  17. subtitle: {
  18. text: '${titleStartDate}——${titleEndDate} (总单量: ${orderSum} 初稿超时总单量: ${orderTimeoutSum})'
  19. },
  20. xAxis: {
  21. categories: [
  22. <#for date : dateList>
  23. <#if date_index==(dateList.size()-1)>
  24. '${date}'
  25. <#else>
  26. '${date}',
  27. </#if>
  28. </#for>
  29. ]
  30. },
  31. yAxis: {
  32. title: {
  33. text: '单量'
  34. },
  35. labels: {
  36. formatter: function () {
  37. return this.value + '';
  38. }
  39. }
  40. },
  41. tooltip: {
  42. crosshairs: true,
  43. shared: true
  44. },
  45. legend: {
  46. layout: 'vertical',
  47. align: 'right',
  48. verticalAlign: 'middle'
  49. },
  50. plotOptions: {
  51. spline: {
  52. marker: {
  53. radius: 4,
  54. lineColor: '#eaeaea',
  55. lineWidth: 1
  56. }
  57. }
  58. },
  59. series:
  60. [
  61. {
  62. name: '当天录入单量',
  63. marker: {
  64. symbol: 'square'
  65. },
  66. data: [
  67. <#for date : dateList>
  68. <#if date_index==(dateList.size()-1)>
  69. ${orderCountMap.get(date)}
  70. <#else>
  71. ${orderCountMap.get(date)},
  72. </#if>
  73. </#for>
  74. ]
  75. },
  76. {
  77. name: '当天初稿超时单量',
  78. marker: {
  79. symbol: 'diamond'
  80. },
  81. data: [
  82. <#for date : dateList>
  83. <#if date_index==(dateList.size()-1)>
  84. ${historyOrderCountMap.get(date)}
  85. <#else>
  86. ${historyOrderCountMap.get(date)},
  87. </#if>
  88. </#for>
  89. ]
  90. },
  91. ]
  92. });
  93. });
  94. </script>
  95. ${zhiqim_manager_breadcrumb("初稿超时折线图")}
  96. ${zhiqim_manager_content()}
  97. <#-- 导航栏 -->
  98. <div class="z-tabnav-main z-blue z-mg-b20">
  99. <nav>
  100. <ul>
  101. <!--<li onclick="Z.Location.href('chargeOrder.htm');">主管审核</li>-->
  102. <#if ZmrPathRule.check(request, "/timeoutOrderNear.htm")><li onclick="Z.Location.href('timeoutOrderNear.htm');">快超时订单</li></#if>
  103. <#if ZmrPathRule.check(request, "/timeoutOrderToday.htm")><li onclick="Z.Location.href('timeoutOrderToday.htm');">当日超时订单</li></#if>
  104. <#if ZmrPathRule.check(request, "/timeoutOrderHistory.htm")><li onclick="Z.Location.href('timeoutOrderHistory.htm');">历史超时订单</li></#if>
  105. <#if ZmrPathRule.check(request, "/notTimeoutCompleteOrderHistory.htm")><li onclick="Z.Location.href('notTimeoutCompleteOrderHistory.htm');">时效绩效</li></#if>
  106. <#if ZmrPathRule.check(request, "/timeoutCompleteOrderHistory.htm")><li onclick="Z.Location.href('timeoutCompleteOrderHistory.htm');">定稿超时列表</li></#if>
  107. <li class="z-active">初稿超时折线图</li>
  108. <#if ZmrPathRule.check(request, "/timelinessOrgStat.htm")><li onclick="Z.Location.href('timelinessOrgStat.htm');">组织初稿时效</li></#if>
  109. </ul>
  110. </nav>
  111. </div>
  112. <#-- 左侧功能 -->
  113. <#-- 查询条件 -->
  114. ${zhiqim_manager_title("查询条件")}
  115. <form action="timeoutOrderHistoryStat.htm" method="post">
  116. <table class="z-table z-bordered z-pd6 z-bg-white">
  117. <tr class="z-h40">
  118. <td width="50%">录单时间:<input id="startDate" name="startDate" class="z-input z-w90 ${zmr_color_class}" readonly="true" onfocus="Z.date(this);" value="${startDate}">&nbsp;-&nbsp;
  119. <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;
  120. 产品类型:
  121. <select name="typeId" class="z-select z-mg-r20" data-role="z-select" data-class="${zmr_color_class}">
  122. <option value="">全部产品</option>
  123. <#for items : designTypeList>
  124. <option value="${items.getTypeId()}" <#if items.getTypeId()==typeId>selected</#if>>${items.getTypeName()}</option>
  125. </#for>
  126. </select>
  127. </td>
  128. <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>
  129. </tr>
  130. </table>
  131. </form>
  132. <div id="container" class="z-bg-white" style="margin-top:20px; min-width:400px;min-height:550px"></div>
  133. ${zhiqim_manager_content_end()}