提交 e6453fa6 编写于 作者: 许雪里's avatar 许雪里

任务启、停、删除、触发等轻操作提示改为toast方式

上级 65ca2017
......@@ -1435,7 +1435,7 @@ Tips: 历史版本(V1.3.x)目前已经Release至稳定版本, 进入维护阶段
- 11、精简项目,取消第三方依赖,如 commons-collections4 ;
- 12、执行器回调日志落盘方案复用RPC序列化方案,并移除Jackson依赖;
- 13、底层Log调优,应用正常终止取消异常栈信息打印;
- 14、交互优化,尽量避免新开页面窗口;仅WebIDE支持新开页,并提供窗口快速关闭按钮;
- 14、交互优化,尽量避免新开页面窗口;仅WebIDE支持新开页,并提供窗口快速关闭按钮;任务启、停、删除、触发等轻操作提示改为toast方式,
- 15、任务暂停、删除优化,避免quartz delete不完整导致任务脏数据;
- 16、任务回调、心跳注册成功日志优化,非核心常规日志调整为debug级别,降低冗余日志输出;
- 17、调整首页报表默认区间为本周,避免日志量太大查询缓慢;
......
......@@ -227,28 +227,15 @@ $(function() {
dataType : "json",
success : function(data){
if (data.code == 200) {
layer.open({
title: I18n.system_tips,
btn: [ I18n.system_ok ],
content: typeName + I18n.system_success ,
icon: '1',
end: function(layero, index){
if (needFresh) {
//window.location.reload();
jobTable.fnDraw(false);
}
}
});
layer.msg( typeName + I18n.system_success );
if (needFresh) {
//window.location.reload();
jobTable.fnDraw(false);
}
} else {
layer.open({
title: I18n.system_tips,
btn: [ I18n.system_ok ],
content: (data.msg || typeName + I18n.system_fail ),
icon: '2'
});
layer.msg( data.msg || typeName + I18n.system_fail );
}
},
}
});
});
});
......@@ -276,19 +263,9 @@ $(function() {
if (data.code == 200) {
$('#jobTriggerModal').modal('hide');
layer.open({
title: I18n.system_tips,
btn: [ I18n.system_ok ],
content: I18n.jobinfo_opt_run + I18n.system_success ,
icon: '1'
});
layer.msg( I18n.jobinfo_opt_run + I18n.system_success );
} else {
layer.open({
title: I18n.system_tips,
btn: [ I18n.system_ok ],
content: (data.msg || I18n.jobinfo_opt_run + I18n.system_fail ),
icon: '2'
});
layer.msg( data.msg || I18n.jobinfo_opt_run + I18n.system_fail );
}
}
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册