Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
X
XXL-JOB
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
靳帅
XXL-JOB
Commits
6169ac54
提交
6169ac54
authored
3月 12, 2017
作者:
xueli.xue
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Coding
上级
7d31e983
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
13 行增加
和
8 行删除
+13
-8
jobcode.index.ftl
...rc/main/webapp/WEB-INF/template/jobcode/jobcode.index.ftl
+1
-1
jobinfo.index.ftl
...rc/main/webapp/WEB-INF/template/jobinfo/jobinfo.index.ftl
+3
-3
jobinfo.index.1.js
xxl-job-admin/src/main/webapp/static/js/jobinfo.index.1.js
+9
-4
没有找到文件。
xxl-job-admin/src/main/webapp/WEB-INF/template/jobcode/jobcode.index.ftl
浏览文件 @
6169ac54
...
@@ -63,7 +63,7 @@
...
@@ -63,7 +63,7 @@
<div
class=
"input-group-btn"
>
<div
class=
"input-group-btn"
>
<button
type=
"button"
class=
"btn btn-info"
>
备注
</button>
<button
type=
"button"
class=
"btn btn-info"
>
备注
</button>
</div>
</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>
</div>
<div
class=
"col-xs-2"
>
<div
class=
"col-xs-2"
>
...
...
xxl-job-admin/src/main/webapp/WEB-INF/template/jobinfo/jobinfo.index.ftl
浏览文件 @
6169ac54
...
@@ -68,17 +68,17 @@
...
@@ -68,17 +68,17 @@
<div
class=
"box-header"
>
<div
class=
"box-header"
>
<h3
class=
"box-title"
>
调度列表
</h3>
<h3
class=
"box-title"
>
调度列表
</h3>
</div>
</div>
<div
class=
"box-body"
>
<div
class=
"box-body"
>
<table
id=
"job_list"
class=
"table table-bordered table-striped"
>
<table
id=
"job_list"
class=
"table table-bordered table-striped"
>
<thead>
<thead>
<tr>
<tr>
<th
name=
"id"
>
id
</th>
<th
name=
"id"
>
id
</th>
<th
name=
"jobGroup"
>
jobGroup
</th>
<th
name=
"jobGroup"
>
jobGroup
</th>
<th
name=
"childJobKey"
>
任务
Key
</th>
<th
name=
"childJobKey"
>
Job
Key
</th>
<th
name=
"jobDesc"
>
描述
</th>
<th
name=
"jobDesc"
>
描述
</th>
<th
name=
"jobCron"
>
Cron
</th>
<th
name=
"executorHandler"
>
JobJandler
</th>
<th
name=
"executorHandler"
>
JobJandler
</th>
<th
name=
"executorParam"
>
任务参数
</th>
<th
name=
"executorParam"
>
任务参数
</th>
<th
name=
"jobCron"
>
Cron
</th>
<th
name=
"addTime"
>
新增时间
</th>
<th
name=
"addTime"
>
新增时间
</th>
<th
name=
"updateTime"
>
更新时间
</th>
<th
name=
"updateTime"
>
更新时间
</th>
<th
name=
"author"
>
负责人
</th>
<th
name=
"author"
>
负责人
</th>
...
...
xxl-job-admin/src/main/webapp/static/js/jobinfo.index.1.js
浏览文件 @
6169ac54
...
@@ -36,22 +36,24 @@ $(function() {
...
@@ -36,22 +36,24 @@ $(function() {
},
},
{
{
"data"
:
'childJobKey'
,
"data"
:
'childJobKey'
,
"width"
:
'10%'
,
"visible"
:
true
,
"visible"
:
true
,
"render"
:
function
(
data
,
type
,
row
)
{
"render"
:
function
(
data
,
type
,
row
)
{
var
jobKey
=
row
.
jobGroup
+
"_"
+
row
.
id
;
var
jobKey
=
row
.
jobGroup
+
"_"
+
row
.
id
;
return
jobKey
;
return
jobKey
;
}
}
},
},
{
"data"
:
'jobDesc'
,
"visible"
:
true
},
{
"data"
:
'jobDesc'
,
"visible"
:
true
,
"width"
:
'20%'
},
{
"data"
:
'jobCron'
,
"visible"
:
true
},
{
{
"data"
:
'executorHandler'
,
"data"
:
'executorHandler'
,
"width"
:
'20%'
,
"visible"
:
true
,
"visible"
:
true
,
"render"
:
function
(
data
,
type
,
row
)
{
"render"
:
function
(
data
,
type
,
row
)
{
return
(
row
.
glueSwitch
>
0
)?
"GLUE模式"
:
data
;
return
(
row
.
glueSwitch
>
0
)?
"GLUE模式"
:
data
;
}
}
},
},
{
"data"
:
'executorParam'
,
"visible"
:
false
},
{
"data"
:
'executorParam'
,
"visible"
:
false
},
{
"data"
:
'jobCron'
,
"visible"
:
true
,
"width"
:
'10%'
},
{
{
"data"
:
'addTime'
,
"data"
:
'addTime'
,
"visible"
:
false
,
"visible"
:
false
,
...
@@ -66,11 +68,12 @@ $(function() {
...
@@ -66,11 +68,12 @@ $(function() {
return
data
?
moment
(
new
Date
(
data
)).
format
(
"YYYY-MM-DD HH:mm:ss"
):
""
;
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"
:
'alarmEmail'
,
"visible"
:
false
},
{
"data"
:
'glueSwitch'
,
"visible"
:
false
},
{
"data"
:
'glueSwitch'
,
"visible"
:
false
},
{
{
"data"
:
'jobStatus'
,
"data"
:
'jobStatus'
,
"width"
:
'10%'
,
"visible"
:
true
,
"visible"
:
true
,
"render"
:
function
(
data
,
type
,
row
)
{
"render"
:
function
(
data
,
type
,
row
)
{
if
(
'NORMAL'
==
data
)
{
if
(
'NORMAL'
==
data
)
{
...
@@ -83,7 +86,9 @@ $(function() {
...
@@ -83,7 +86,9 @@ $(function() {
return
data
;
return
data
;
}
}
},
},
{
"data"
:
'操作'
,
{
"data"
:
'操作'
,
"width"
:
'15%'
,
"render"
:
function
(
data
,
type
,
row
)
{
"render"
:
function
(
data
,
type
,
row
)
{
return
function
(){
return
function
(){
// status
// status
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论