Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
熊鹏飞
/
xxljob220
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
66e6dd93
authored
Apr 25, 2017
by
xueli.xue
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
调度报表
parent
783f4d5b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
xxl-job-admin/src/main/webapp/WEB-INF/template/index.ftl
xxl-job-admin/src/main/webapp/static/js/index.js
xxl-job-core/src/main/java/com/xxl/job/core/handler/impl/GlueJobHandler.java
xxl-job-admin/src/main/webapp/WEB-INF/template/index.ftl
View file @
66e6dd93
...
@@ -58,12 +58,13 @@
...
@@ -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>
...
...
xxl-job-admin/src/main/webapp/static/js/index.js
View file @
66e6dd93
...
@@ -103,7 +103,7 @@ $(function () {
...
@@ -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'
},
},
...
...
xxl-job-core/src/main/java/com/xxl/job/core/handler/impl/GlueJobHandler.java
View file @
66e6dd93
...
@@ -25,8 +25,7 @@ public class GlueJobHandler extends IJobHandler {
...
@@ -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
;
}
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment