From 43008e40847a4485cd1ee5afc381b231a7931a48 Mon Sep 17 00:00:00 2001 From: george Date: Tue, 7 Aug 2018 13:23:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9readme+=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 5 +++++ conf/app.conf | 2 +- views/auth/list.html | 2 +- views/role/edit.html | 4 +++- 4 files changed, 10 insertions(+), 3 deletions(-) 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" });