修改readme+优化跳转
This commit is contained in:
@@ -1,8 +1,13 @@
|
|||||||
PPGo_Job定时任务管理系统 V2.0
|
PPGo_Job定时任务管理系统 V2.0
|
||||||
====
|
====
|
||||||
|
|
||||||
|
PPGo_Job是一款定时任务可视化的、多人多权限的管理系统,采用golang开发,安装方便,资源消耗少,支持大并发,可同时管理多台服务器上的定时任务。
|
||||||
|
|
||||||
前言:PPGo_Job V1.x版本开源一年多,好几个朋友的公司都在用,反响还不错,当然,也有好多朋友提了不少合理的意见和建议,所以这次干脆重构了一下,连UI也重新编码。目前V2.0版本
|
前言:PPGo_Job V1.x版本开源一年多,好几个朋友的公司都在用,反响还不错,当然,也有好多朋友提了不少合理的意见和建议,所以这次干脆重构了一下,连UI也重新编码。目前V2.0版本
|
||||||
已经用于生产环境。
|
已经用于生产环境。
|
||||||
|
|
||||||
|
码云地址:https://gitee.com/georgehao/PPGo_Job
|
||||||
|
|
||||||
V1.x版本是一个简单的定时任务管理系统,进入V1.0 :https://github.com/george518/PPGo_Job/releases/tag/v1.2.1
|
V1.x版本是一个简单的定时任务管理系统,进入V1.0 :https://github.com/george518/PPGo_Job/releases/tag/v1.2.1
|
||||||
相对于V1.x版本,V2.0新增以下功能和特性:
|
相对于V1.x版本,V2.0新增以下功能和特性:
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ appname = PPGo_Job2
|
|||||||
httpport = 8080
|
httpport = 8080
|
||||||
runmode = dev
|
runmode = dev
|
||||||
|
|
||||||
version= V2.0
|
version= V2.1
|
||||||
|
|
||||||
# 允许同时运行的任务数
|
# 允许同时运行的任务数
|
||||||
jobs.pool = 1000
|
jobs.pool = 1000
|
||||||
|
|||||||
@@ -126,7 +126,7 @@
|
|||||||
|
|
||||||
if (out.status == 0) {
|
if (out.status == 0) {
|
||||||
// layer.msg("操作成功")
|
// layer.msg("操作成功")
|
||||||
layer.alert('你成功了', {icon: 1,shade:0.3,time:1000},function(index){
|
layer.msg('你成功了', {icon: 1,shade:0.3,time:2000},function(index){
|
||||||
window.location.reload();
|
window.location.reload();
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -144,9 +144,11 @@ var $,form;
|
|||||||
}
|
}
|
||||||
|
|
||||||
var data = {'role_name':role_name,'id':id,'detail':detail,'nodes_data':nodes_data,'server_group_ids':server_group_ids,'task_group_ids':task_group_ids}
|
var data = {'role_name':role_name,'id':id,'detail':detail,'nodes_data':nodes_data,'server_group_ids':server_group_ids,'task_group_ids':task_group_ids}
|
||||||
|
// console.log(data);
|
||||||
|
// return;
|
||||||
$.post('{{urlfor "RoleController.AjaxSave"}}', data, function (out) {
|
$.post('{{urlfor "RoleController.AjaxSave"}}', data, function (out) {
|
||||||
if (out.status == 0) {
|
if (out.status == 0) {
|
||||||
layer.alert('保存成功了', {icon: 1,shade:0.3,time:1000},function(index){
|
layer.msg('保存成功了', {icon: 1,shade:0.3,time:1000},function(index){
|
||||||
layer.close(index);
|
layer.close(index);
|
||||||
window.location.href="/role/list"
|
window.location.href="/role/list"
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user