支持多台服务器同时执行任务+优化页面

一个定时任务可以允许多台服务器同时执行任务,优化页面关闭并刷新列表页
This commit is contained in:
georgehao
2019-04-16 23:40:07 +08:00
parent 07aff7ee72
commit 830d49ee1c
24 changed files with 391 additions and 137 deletions

View File

@@ -156,7 +156,7 @@
if (out.status == 0) {
layer.msg("操作成功",{icon: 1,shade:0.3,time:1000},function () {
// window.history.go(-1)//
window.location.reload()
window.parent.deleteCurrentTab();
})
} else {
layer.msg(out.message)

View File

@@ -154,7 +154,7 @@
if (out.status == 0) {
layer.msg("操作成功",{icon: 1,shade:0.3,time:1000},function () {
//window.location.href = "/server/list"
windwo.location.reload();
window.parent.deleteCurrentTab();
})
} else {
layer.msg(out.message)

View File

@@ -155,7 +155,9 @@
if (out.status == 0) {
layer.msg("操作成功",{icon: 1,shade:0.3,time:1000},function () {
// window.history.go(-1)
window.location.reload()
// window.location.reload()
window.parent.deleteCurrentTab();
})
} else {
layer.msg(out.message)