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
6169ac54
authored
Mar 12, 2017
by
xueli.xue
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Coding
parent
7d31e983
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
9 deletions
xxl-job-admin/src/main/webapp/WEB-INF/template/jobcode/jobcode.index.ftl
xxl-job-admin/src/main/webapp/WEB-INF/template/jobinfo/jobinfo.index.ftl
xxl-job-admin/src/main/webapp/static/js/jobinfo.index.1.js
xxl-job-admin/src/main/webapp/WEB-INF/template/jobcode/jobcode.index.ftl
View file @
6169ac54
...
...
@@ -63,7 +63,7 @@
<div
class=
"input-group-btn"
>
<button
type=
"button"
class=
"btn btn-info"
>
备注
</button>
</div>
<input
type=
"text"
class=
"form-control"
id=
"glueRemark"
value=
"
${jobName}
"
autocomplete=
"on"
>
<input
type=
"text"
class=
"form-control"
id=
"glueRemark"
value=
""
autocomplete=
"on"
>
</div>
</div>
<div
class=
"col-xs-2"
>
...
...
xxl-job-admin/src/main/webapp/WEB-INF/template/jobinfo/jobinfo.index.ftl
View file @
6169ac54
...
...
@@ -68,17 +68,17 @@
<div
class=
"box-header"
>
<h3
class=
"box-title"
>
调度列表
</h3>
</div>
<div
class=
"box-body"
>
<div
class=
"box-body"
>
<table
id=
"job_list"
class=
"table table-bordered table-striped"
>
<thead>
<tr>
<th
name=
"id"
>
id
</th>
<th
name=
"jobGroup"
>
jobGroup
</th>
<th
name=
"childJobKey"
>
任务
Key
</th>
<th
name=
"childJobKey"
>
Job
Key
</th>
<th
name=
"jobDesc"
>
描述
</th>
<th
name=
"jobCron"
>
Cron
</th>
<th
name=
"executorHandler"
>
JobJandler
</th>
<th
name=
"executorParam"
>
任务参数
</th>
<th
name=
"jobCron"
>
Cron
</th>
<th
name=
"addTime"
>
新增时间
</th>
<th
name=
"updateTime"
>
更新时间
</th>
<th
name=
"author"
>
负责人
</th>
...
...
xxl-job-admin/src/main/webapp/static/js/jobinfo.index.1.js
View file @
6169ac54
...
...
@@ -36,22 +36,24 @@ $(function() {
},
{
"data"
:
'childJobKey'
,
"width"
:
'10%'
,
"visible"
:
true
,
"render"
:
function
(
data
,
type
,
row
)
{
var
jobKey
=
row
.
jobGroup
+
"_"
+
row
.
id
;
return
jobKey
;
}
},
{
"data"
:
'jobDesc'
,
"visible"
:
true
},
{
"data"
:
'jobCron'
,
"visible"
:
true
},
{
"data"
:
'jobDesc'
,
"visible"
:
true
,
"width"
:
'20%'
},
{
"data"
:
'executorHandler'
,
"width"
:
'20%'
,
"visible"
:
true
,
"render"
:
function
(
data
,
type
,
row
)
{
return
(
row
.
glueSwitch
>
0
)?
"GLUE模式"
:
data
;
}
},
{
"data"
:
'executorParam'
,
"visible"
:
false
},
{
"data"
:
'jobCron'
,
"visible"
:
true
,
"width"
:
'10%'
},
{
"data"
:
'addTime'
,
"visible"
:
false
,
...
...
@@ -66,11 +68,12 @@ $(function() {
return
data
?
moment
(
new
Date
(
data
)).
format
(
"YYYY-MM-DD HH:mm:ss"
):
""
;
}
},
{
"data"
:
'author'
,
"visible"
:
true
},
{
"data"
:
'author'
,
"visible"
:
true
,
"width"
:
'10%'
},
{
"data"
:
'alarmEmail'
,
"visible"
:
false
},
{
"data"
:
'glueSwitch'
,
"visible"
:
false
},
{
"data"
:
'jobStatus'
,
"data"
:
'jobStatus'
,
"width"
:
'10%'
,
"visible"
:
true
,
"render"
:
function
(
data
,
type
,
row
)
{
if
(
'NORMAL'
==
data
)
{
...
...
@@ -83,7 +86,9 @@ $(function() {
return
data
;
}
},
{
"data"
:
'操作'
,
{
"data"
:
'操作'
,
"width"
:
'15%'
,
"render"
:
function
(
data
,
type
,
row
)
{
return
function
(){
// status
...
...
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