调度报表

This commit is contained in:
xueli.xue 2017-04-25 11:42:59 +08:00
parent 783f4d5b98
commit 66e6dd9352
3 changed files with 6 additions and 6 deletions

View File

@ -58,12 +58,13 @@
<span class="info-box-number">${jobLogCount}</span> <span class="info-box-number">${jobLogCount}</span>
<div class="progress"> <div class="progress">
<div class="progress-bar" <#if jobLogCount gt 0> style="width: ${(jobLogSuccessCount*100/jobLogCount)?string("0.00")}%" </#if> ></div> <div class="progress-bar" style="width: 100%" ></div>
</div> </div>
<span class="progress-description"> <span class="progress-description">
<#if jobLogCount gt 0> 调度中心触发的调度次数
<#--<#if jobLogCount gt 0>
调度成功率${(jobLogSuccessCount*100/jobLogCount)?string("0.00")}<small>%</small> 调度成功率${(jobLogSuccessCount*100/jobLogCount)?string("0.00")}<small>%</small>
</#if> </#if>-->
</span> </span>
</div> </div>
</div> </div>

View File

@ -103,7 +103,7 @@ $(function () {
function pieChartInit(data) { function pieChartInit(data) {
var option = { var option = {
title : { title : {
text: '调度总次数', text: '成功比例图',
/*subtext: 'subtext',*/ /*subtext: 'subtext',*/
x:'center' x:'center'
}, },

View File

@ -25,8 +25,7 @@ public class GlueJobHandler extends IJobHandler {
@Override @Override
public ReturnT<String> execute(String... params) throws Exception { public ReturnT<String> execute(String... params) throws Exception {
logger.info("----------- glue.version:{} -----------", glueUpdatetime); logger.info("----------- glue.version:{} -----------", glueUpdatetime);
jobHandler.execute(params); return jobHandler.execute(params);
return ReturnT.SUCCESS;
} }
} }