修改readme+优化跳转

This commit is contained in:
george
2018-08-07 13:23:16 +08:00
parent f986ecf551
commit 43008e4084
4 changed files with 10 additions and 3 deletions

View File

@@ -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新增以下功能和特性:

View File

@@ -2,7 +2,7 @@ appname = PPGo_Job2
httpport = 8080
runmode = dev
version= V2.0
version= V2.1
# 允许同时运行的任务数
jobs.pool = 1000

View File

@@ -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 {

View File

@@ -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"
});