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
d467d7f2
authored
Jan 07, 2016
by
xueli.xue
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
调度日志弹框显示
parent
7cbacc41
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
3 deletions
xxl-job-admin/src/main/webapp/static/js/joblog.index.1.js
xxl-job-admin/src/main/webapp/static/js/joblog.index.1.js
View file @
d467d7f2
...
...
@@ -12,7 +12,7 @@ $(function() {
d
.
jobName
=
$
(
'#jobName'
).
val
()
}
},
"scrollX"
:
true
,
//"scrollX": true, // X轴滚动条,取消自适应
"columns"
:
[
{
"data"
:
'id'
,
"bSortable"
:
false
,
"visible"
:
false
},
{
"data"
:
'jobName'
,
"bSortable"
:
false
},
...
...
@@ -27,7 +27,11 @@ $(function() {
}
},
{
"data"
:
'triggerStatus'
,
"bSortable"
:
false
},
{
"data"
:
'triggerMsg'
,
"bSortable"
:
false
},
{
"data"
:
'triggerMsg'
,
"bSortable"
:
false
,
"render"
:
function
(
data
,
type
,
row
)
{
return
data
?
'<a class="logTips" title="'
+
data
+
'">调度日志</a>'
:
"无"
;
}
},
{
"data"
:
'handleTime'
,
"bSortable"
:
false
,
...
...
@@ -36,7 +40,11 @@ $(function() {
}
},
{
"data"
:
'handleStatus'
,
"bSortable"
:
false
},
{
"data"
:
'handleMsg'
,
"bSortable"
:
false
}
{
"data"
:
'handleMsg'
,
"bSortable"
:
false
,
"render"
:
function
(
data
,
type
,
row
)
{
return
data
?
'<a class="logTips" title="'
+
data
+
'">执行日志</a>'
:
"无"
;
}
}
],
"searching"
:
false
,
"ordering"
:
true
,
...
...
@@ -66,6 +74,12 @@ $(function() {
}
});
// 日志弹框提示
$
(
'#joblog_list'
).
on
(
'click'
,
'.logTips'
,
function
(){
var
title
=
$
(
this
).
attr
(
'title'
);
ComAlert
.
show
(
2
,
title
);
});
// 过滤时间
$
(
'#filterTime'
).
daterangepicker
({
timePicker
:
true
,
//是否显示小时和分钟
...
...
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