Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
tool
/
xxl-job
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit e6453fa6
authored
Apr 20, 2019
by
xuxueli
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
任务启、停、删除、触发等轻操作提示改为toast方式
1 parent
65ca2017
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
33 deletions
doc/XXL-JOB官方文档.md
xxl-job-admin/src/main/resources/static/js/jobinfo.index.1.js
doc/XXL-JOB官方文档.md
View file @
e6453fa
...
@@ -1435,7 +1435,7 @@ Tips: 历史版本(V1.3.x)目前已经Release至稳定版本, 进入维护阶段
...
@@ -1435,7 +1435,7 @@ Tips: 历史版本(V1.3.x)目前已经Release至稳定版本, 进入维护阶段
-
11、精简项目,取消第三方依赖,如 commons-collections4 ;
-
11、精简项目,取消第三方依赖,如 commons-collections4 ;
-
12、执行器回调日志落盘方案复用RPC序列化方案,并移除Jackson依赖;
-
12、执行器回调日志落盘方案复用RPC序列化方案,并移除Jackson依赖;
-
13、底层Log调优,应用正常终止取消异常栈信息打印;
-
13、底层Log调优,应用正常终止取消异常栈信息打印;
-
14、交互优化,尽量避免新开页面窗口;仅WebIDE支持新开页,并提供窗口快速关闭按钮;
-
14、交互优化,尽量避免新开页面窗口;仅WebIDE支持新开页,并提供窗口快速关闭按钮;
任务启、停、删除、触发等轻操作提示改为toast方式,
-
15、任务暂停、删除优化,避免quartz delete不完整导致任务脏数据;
-
15、任务暂停、删除优化,避免quartz delete不完整导致任务脏数据;
-
16、任务回调、心跳注册成功日志优化,非核心常规日志调整为debug级别,降低冗余日志输出;
-
16、任务回调、心跳注册成功日志优化,非核心常规日志调整为debug级别,降低冗余日志输出;
-
17、调整首页报表默认区间为本周,避免日志量太大查询缓慢;
-
17、调整首页报表默认区间为本周,避免日志量太大查询缓慢;
...
...
xxl-job-admin/src/main/resources/static/js/jobinfo.index.1.js
View file @
e6453fa
...
@@ -227,28 +227,15 @@ $(function() {
...
@@ -227,28 +227,15 @@ $(function() {
dataType
:
"json"
,
dataType
:
"json"
,
success
:
function
(
data
){
success
:
function
(
data
){
if
(
data
.
code
==
200
)
{
if
(
data
.
code
==
200
)
{
layer
.
msg
(
typeName
+
I18n
.
system_success
);
layer
.
open
({
if
(
needFresh
)
{
title
:
I18n
.
system_tips
,
//window.location.reload();
btn
:
[
I18n
.
system_ok
],
jobTable
.
fnDraw
(
false
);
content
:
typeName
+
I18n
.
system_success
,
}
icon
:
'1'
,
end
:
function
(
layero
,
index
){
if
(
needFresh
)
{
//window.location.reload();
jobTable
.
fnDraw
(
false
);
}
}
});
}
else
{
}
else
{
layer
.
open
({
layer
.
msg
(
data
.
msg
||
typeName
+
I18n
.
system_fail
);
title
:
I18n
.
system_tips
,
btn
:
[
I18n
.
system_ok
],
content
:
(
data
.
msg
||
typeName
+
I18n
.
system_fail
),
icon
:
'2'
});
}
}
}
,
}
});
});
});
});
});
});
...
@@ -276,19 +263,9 @@ $(function() {
...
@@ -276,19 +263,9 @@ $(function() {
if
(
data
.
code
==
200
)
{
if
(
data
.
code
==
200
)
{
$
(
'#jobTriggerModal'
).
modal
(
'hide'
);
$
(
'#jobTriggerModal'
).
modal
(
'hide'
);
layer
.
open
({
layer
.
msg
(
I18n
.
jobinfo_opt_run
+
I18n
.
system_success
);
title
:
I18n
.
system_tips
,
btn
:
[
I18n
.
system_ok
],
content
:
I18n
.
jobinfo_opt_run
+
I18n
.
system_success
,
icon
:
'1'
});
}
else
{
}
else
{
layer
.
open
({
layer
.
msg
(
data
.
msg
||
I18n
.
jobinfo_opt_run
+
I18n
.
system_fail
);
title
:
I18n
.
system_tips
,
btn
:
[
I18n
.
system_ok
],
content
:
(
data
.
msg
||
I18n
.
jobinfo_opt_run
+
I18n
.
system_fail
),
icon
:
'2'
});
}
}
}
}
});
});
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment