diff --git a/README.md b/README.md index 708ff34..3951640 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,13 @@ PPGo_Job定时任务管理系统 V2.0 ==== + +PPGo_Job是一款定时任务可视化的、多人多权限的管理系统,采用golang开发,安装方便,资源消耗少,支持大并发,可同时管理多台服务器上的定时任务。 + 前言: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版本,V2.0新增以下功能和特性: diff --git a/conf/app.conf b/conf/app.conf index 611fff7..97bde8f 100644 --- a/conf/app.conf +++ b/conf/app.conf @@ -2,7 +2,7 @@ appname = PPGo_Job2 httpport = 8080 runmode = dev -version= V2.0 +version= V2.1 # 允许同时运行的任务数 jobs.pool = 1000 diff --git a/views/auth/list.html b/views/auth/list.html index ce4e9db..02978c2 100644 --- a/views/auth/list.html +++ b/views/auth/list.html @@ -126,7 +126,7 @@ if (out.status == 0) { // 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(); }); } else { diff --git a/views/role/edit.html b/views/role/edit.html index ceda0be..8d2e272 100644 --- a/views/role/edit.html +++ b/views/role/edit.html @@ -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} + // console.log(data); + // return; $.post('{{urlfor "RoleController.AjaxSave"}}', data, function (out) { 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); window.location.href="/role/list" });