complainFinishList.zml 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  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 orgAllOrder = '${orgAllOrder}';
  8. Highcharts.chart('container',
  9. {
  10. chart: {plotBackgroundColor: null,plotBorderWidth: null,plotShadow: false,type: 'pie'},
  11. title: {text: '投诉单总量:'+orgAllOrder},
  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 : pcMap.keySet()>
  33. {name: '${item}',y: ${pcMap.get(item)}},
  34. </#for>
  35. ]
  36. }]
  37. });
  38. });
  39. function doQueryComplainDetail(complainId){
  40. var dialog = new Z.Dialog();
  41. dialog.title = "投诉单号:"+complainId;
  42. dialog.url = "/complainDetail.htm?complainId="+complainId;
  43. dialog.width = 1000;
  44. dialog.height = 500;
  45. dialog.execute();
  46. }
  47. </script>
  48. ${zhiqim_manager_breadcrumb("我导致的投诉")}
  49. ${zhiqim_manager_content()}
  50. <#-- 左侧功能 -->
  51. <#-- 查询条件 -->
  52. ${zhiqim_manager_title("查询条件")}
  53. <form name="theForm" action="/complainFinishList.htm">
  54. <table class="z-table z-bordered z-pd6 z-bg-white">
  55. <tr class="z-h40">
  56. <td width="350px">
  57. 受理时间:<input id="startDate" name="startDate" class="z-input z-w90 ${zmr_color_class}" readonly="true" onfocus="Z.date(this);" value="${startDate}">&nbsp;-
  58. <input id="endDate" name="endDate" class="z-input z-mg-l3 z-w90 ${zmr_color_class}" readonly="true" onfocus="Z.date(this);" value="${endDate}">
  59. </td>
  60. <td>&nbsp;组&nbsp;&nbsp;织
  61. <select name="orgId" class="z-select z-w180" data-role="z-select-search" data-class="${zmr_color_class}">
  62. <option value="">请选择</option>
  63. <#for item : orgList>
  64. <option value="${item.getOrgId()}" <#if orgId == item.getOrgId()>selected</#if>>${item.getOrgName()}</option>
  65. </#for>
  66. </select>
  67. </td>
  68. <td width="350px">责&nbsp;任&nbsp;人:
  69. <input type="text" name="undertakePerson" class="z-input z-w180 ${zmr_color_class}" value="${undertakePerson}">
  70. </td>
  71. <td width="*">
  72. <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>
  73. </td>
  74. </tr>
  75. </table>
  76. </form>
  77. <#-- 列表 -->
  78. <table class="z-table z-bordered z-h40-tr z-pd5 z-bg-white z-text-center" style="height:auto;">
  79. <td width="45%"><div id="container" class="z-bg-white" style="min-width:400px;height:600px"></div></td>
  80. <td width="*">
  81. <table class="z-table z-bordered-line z-pd10 z-text-left" style="text-align:center">
  82. <tr bgcolor="${zmr_thead_bgcolor}">
  83. <td width="15%">订单编号</td>
  84. <td width="15%">投诉单号</td>
  85. <td width="20%">责任组织</td>
  86. <td width="10%">责任人</td>
  87. <td width="10%">受理状态</td>
  88. <td width="20%">受理时间</td>
  89. <td width="10%">操作</td>
  90. </tr>
  91. ${zhiqim_manager_tr_no_record(pageResult, 7, "暂时没有数据")}
  92. <#for item : pageResult.list()>
  93. <tr class="z-pointer" ${zhiqim_manager_tr_onmouse()} ${zhiqim_manager_tr_click_radio()}>
  94. <td>${item.getDesignId()}</td>
  95. <td>${item.getComplainId()}</td>
  96. <td>${ZmrOrgDao.getOrgName(request,item.getUndertakeOrg())}</td>
  97. <td>${item.getUndertakePerson()}</td>
  98. <td>${ComplainConstants.getStatus(item.getComplainStatus())}</td>
  99. <td>${Sqls.toDateTimeString(item.getComplainAddTime())}</td>
  100. <td><button class="z-button z-blue " onclick="doQueryComplainDetail(${item.getComplainId()})">详情</button></td>
  101. </tr>
  102. </#for>
  103. ${zhiqim_manager_paging(pageResult, "/complainFinishList.htm")}
  104. </table>
  105. </td>
  106. </table>
  107. ${zhiqim_manager_content_end()}