Digital Office Automation System Backend
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

преди 2 дни
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <#import "../common/common.macro.ftl" as netCommon>
  5. <@netCommon.commonStyle />
  6. <!-- DataTables -->
  7. <link rel="stylesheet" href="${request.contextPath}/static/adminlte/bower_components/datatables.net-bs/css/dataTables.bootstrap.min.css">
  8. <!-- daterangepicker -->
  9. <link rel="stylesheet" href="${request.contextPath}/static/adminlte/bower_components/bootstrap-daterangepicker/daterangepicker.css">
  10. <title>${I18n.admin_name}</title>
  11. </head>
  12. <body class="hold-transition skin-blue sidebar-mini <#if cookieMap?exists && cookieMap["xxljob_adminlte_settings"]?exists && "off" == cookieMap["xxljob_adminlte_settings"].value >sidebar-collapse</#if> ">
  13. <div class="wrapper">
  14. <!-- header -->
  15. <@netCommon.commonHeader />
  16. <!-- left -->
  17. <@netCommon.commonLeft "joblog" />
  18. <!-- Content Wrapper. Contains page content -->
  19. <div class="content-wrapper">
  20. <!-- Content Header (Page header) -->
  21. <section class="content-header">
  22. <h1>${I18n.joblog_name}</h1>
  23. </section>
  24. <!-- Main content -->
  25. <section class="content">
  26. <div class="row">
  27. <div class="col-xs-2">
  28. <div class="input-group">
  29. <span class="input-group-addon">${I18n.jobinfo_field_jobgroup}</span>
  30. <select class="form-control" id="jobGroup" paramVal="<#if jobInfo?exists>${jobInfo.jobGroup}</#if>" >
  31. <#if Request["XXL_JOB_LOGIN_IDENTITY"].role == 1>
  32. <option value="0" >${I18n.system_all}</option> <#-- 仅管理员支持查询全部;普通用户仅支持查询有权限的 jobGroup -->
  33. </#if>
  34. <#list JobGroupList as group>
  35. <option value="${group.id}" >${group.title}</option>
  36. </#list>
  37. </select>
  38. </div>
  39. </div>
  40. <div class="col-xs-2">
  41. <div class="input-group">
  42. <span class="input-group-addon">${I18n.jobinfo_job}</span>
  43. <select class="form-control" id="jobId" paramVal="<#if jobInfo?exists>${jobInfo.id}</#if>" >
  44. <option value="0" >${I18n.system_all}</option>
  45. </select>
  46. </div>
  47. </div>
  48. <div class="col-xs-2">
  49. <div class="input-group">
  50. <span class="input-group-addon">${I18n.joblog_status}</span>
  51. <select class="form-control" id="logStatus" >
  52. <option value="-1" >${I18n.joblog_status_all}</option>
  53. <option value="1" >${I18n.joblog_status_suc}</option>
  54. <option value="2" >${I18n.joblog_status_fail}</option>
  55. <option value="3" >${I18n.joblog_status_running}</option>
  56. </select>
  57. </div>
  58. </div>
  59. <div class="col-xs-4">
  60. <div class="input-group">
  61. <span class="input-group-addon">
  62. ${I18n.joblog_field_triggerTime}
  63. </span>
  64. <input type="text" class="form-control" id="filterTime" readonly >
  65. </div>
  66. </div>
  67. <div class="col-xs-1">
  68. <button class="btn btn-block btn-info" id="searchBtn">${I18n.system_search}</button>
  69. </div>
  70. <div class="col-xs-1">
  71. <button class="btn btn-block btn-default" id="clearLog">${I18n.joblog_clean}</button>
  72. </div>
  73. </div>
  74. <div class="row">
  75. <div class="col-xs-12">
  76. <div class="box">
  77. <#--<div class="box-header hide"><h3 class="box-title">调度日志</h3></div>-->
  78. <div class="box-body">
  79. <table id="joblog_list" class="table table-bordered table-striped display" width="100%" >
  80. <thead>
  81. <tr>
  82. <th name="jobId" >${I18n.jobinfo_field_id}</th>
  83. <th name="jobGroup" >jobGroup</th>
  84. <#--<th name="executorAddress" >执行器地址</th>
  85. <th name="glueType" >运行模式</th>
  86. <th name="executorParam" >任务参数</th>-->
  87. <th name="triggerTime" >${I18n.joblog_field_triggerTime}</th>
  88. <th name="triggerCode" >${I18n.joblog_field_triggerCode}</th>
  89. <th name="triggerMsg" >${I18n.joblog_field_triggerMsg}</th>
  90. <th name="handleTime" >${I18n.joblog_field_handleTime}</th>
  91. <th name="handleCode" >${I18n.joblog_field_handleCode}</th>
  92. <th name="handleMsg" >${I18n.joblog_field_handleMsg}</th>
  93. <th name="handleMsg" >${I18n.system_opt}</th>
  94. </tr>
  95. </thead>
  96. <tbody></tbody>
  97. </table>
  98. </div>
  99. </div>
  100. </div>
  101. </div>
  102. </section>
  103. </div>
  104. <!-- footer -->
  105. <@netCommon.commonFooter />
  106. </div>
  107. <!-- 日志清理.模态框 -->
  108. <div class="modal fade" id="clearLogModal" tabindex="-1" role="dialog" aria-hidden="true">
  109. <div class="modal-dialog">
  110. <div class="modal-content">
  111. <div class="modal-header">
  112. <h4 class="modal-title" >${I18n.joblog_clean_log}</h4>
  113. </div>
  114. <div class="modal-body">
  115. <form class="form-horizontal form" role="form" >
  116. <div class="form-group">
  117. <label class="col-sm-3 control-label">${I18n.jobinfo_field_jobgroup}:</label>
  118. <div class="col-sm-9">
  119. <input type="text" class="form-control jobGroupText" readonly >
  120. <input type="hidden" name="jobGroup" >
  121. </div>
  122. </div>
  123. <div class="form-group">
  124. <label class="col-sm-3 control-label">${I18n.jobinfo_job}:</label>
  125. <div class="col-sm-9">
  126. <input type="text" class="form-control jobIdText" readonly >
  127. <input type="hidden" name="jobId" >
  128. </div>
  129. </div>
  130. <div class="form-group">
  131. <label class="col-sm-3 control-label">${I18n.joblog_clean_type}:</label>
  132. <div class="col-sm-9">
  133. <select class="form-control" name="type" >
  134. <option value="1" >${I18n.joblog_clean_type_1}</option>
  135. <option value="2" >${I18n.joblog_clean_type_2}</option>
  136. <option value="3" >${I18n.joblog_clean_type_3}</option>
  137. <option value="4" >${I18n.joblog_clean_type_4}</option>
  138. <option value="5" >${I18n.joblog_clean_type_5}</option>
  139. <option value="6" >${I18n.joblog_clean_type_6}</option>
  140. <option value="7" >${I18n.joblog_clean_type_7}</option>
  141. <option value="8" >${I18n.joblog_clean_type_8}</option>
  142. <option value="9" >${I18n.joblog_clean_type_9}</option>
  143. </select>
  144. </div>
  145. </div>
  146. <hr>
  147. <div class="form-group">
  148. <div class="col-sm-offset-3 col-sm-6">
  149. <button type="button" class="btn btn-primary ok" >${I18n.system_ok}</button>
  150. <button type="button" class="btn btn-default" data-dismiss="modal">${I18n.system_cancel}</button>
  151. </div>
  152. </div>
  153. </form>
  154. </div>
  155. </div>
  156. </div>
  157. </div>
  158. <@netCommon.commonScript />
  159. <!-- DataTables -->
  160. <script src="${request.contextPath}/static/adminlte/bower_components/datatables.net/js/jquery.dataTables.min.js"></script>
  161. <script src="${request.contextPath}/static/adminlte/bower_components/datatables.net-bs/js/dataTables.bootstrap.min.js"></script>
  162. <!-- daterangepicker -->
  163. <script src="${request.contextPath}/static/adminlte/bower_components/moment/moment.min.js"></script>
  164. <script src="${request.contextPath}/static/adminlte/bower_components/bootstrap-daterangepicker/daterangepicker.js"></script>
  165. <script src="${request.contextPath}/static/js/joblog.index.1.js"></script>
  166. </body>
  167. </html>