pdfQueue.zml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <script>
  2. Z.onload(function()
  3. {
  4. });
  5. </script>
  6. <button onclick="location.reload();" class="z-button z-large z-w120 z-mg-r15 z-blue z-float-right">重置</button>
  7. <table class="z-table z-bordered-line z-pd5 zi-bd z-bg-blue z-mg-t20">
  8. <thead>
  9. <th colspan="3" class="z-h40" style="background-color:white">
  10. 线程池状态(正在处理:${runNum} 休眠:${sleepNum})
  11. </th>
  12. </thead>
  13. <tbody>
  14. <tr bgcolor="${zmr_thead_bgcolor}">
  15. <td>线程名</td>
  16. <td>当前状态</td>
  17. <td>上次休眠时间</td>
  18. </tr>
  19. <#for item : theaderList>
  20. <tr>
  21. <td>${item.getThreadName()}</td>
  22. <td>${item.isActive() ? "正在处理" : "休眠"}</td>
  23. <td>${item.getIdleTimeString()}</td>
  24. </tr>
  25. </#for>
  26. </tbody>
  27. </table>
  28. <table class="z-table z-bordered-line z-pd5 zi-bd z-bg-blue z-mg-t20">
  29. <thead>
  30. <th colspan="4" class="z-h40" style="background-color:white">
  31. 等待队列(${waitQueue.size()})
  32. </th>
  33. </thead>
  34. <tbody>
  35. <tr bgcolor="${zmr_thead_bgcolor}">
  36. <td>队列ID</td>
  37. <td>队列状态</td>
  38. <td>模板ID</td>
  39. <td>完成时间</td>
  40. </tr>
  41. <#for item : waitQueue>
  42. <tr>
  43. <td>${item.getObj().getHandleId()}</td>
  44. <td>
  45. <#if item.getObj().getHandleStatus()==0>
  46. 等待处理
  47. <#elseif item.getObj().getHandleStatus()==1>
  48. 处理中
  49. <#elseif item.getObj().getHandleStatus()==2>
  50. 处理完成
  51. <#elseif item.getObj().getHandleStatus()==3>
  52. 处理失败
  53. </#if>
  54. </td>
  55. <td>${item.getObj().getMediaId()}</td>
  56. <td>${DateTimes.toDateTimeString(item.getObj().getFinishTime())}</td>
  57. </tr>
  58. </#for>
  59. </tbody>
  60. </table>
  61. <table class="z-table z-bordered-line z-pd5 zi-bd z-bg-blue z-mg-t20">
  62. <thead>
  63. <th colspan="4" class="z-h40" style="background-color:white">
  64. 已完成队列(${finishList.size()})
  65. </th>
  66. </thead>
  67. <tbody>
  68. <tr bgcolor="${zmr_thead_bgcolor}">
  69. <td>队列ID</td>
  70. <td>队列状态</td>
  71. <td>模板ID</td>
  72. <td>完成时间</td>
  73. </tr>
  74. <#for item : finishList>
  75. <tr>
  76. <td>${item.getHandleId()}</td>
  77. <td>
  78. <#if item.getHandleStatus()==0>
  79. 等待处理
  80. <#elseif item.getHandleStatus()==1>
  81. 处理中
  82. <#elseif item.getHandleStatus()==2>
  83. 处理完成
  84. <#elseif item.getHandleStatus()==3>
  85. 处理失败
  86. </#if>
  87. </td>
  88. <td>${item.getMediaId()}</td>
  89. <td>${DateTimes.toDateTimeString(item.getFinishTime())}</td>
  90. </tr>
  91. </#for>
  92. </tbody>
  93. </table>