优化操作体验 reload
This commit is contained in:
@@ -15,7 +15,7 @@ site.name = 定时任务管理器
|
|||||||
notify.type = 0
|
notify.type = 0
|
||||||
|
|
||||||
# 数据库配置
|
# 数据库配置
|
||||||
db.host = 127.0.0.1
|
db.host = localhost
|
||||||
db.user = root
|
db.user = root
|
||||||
db.password = "123456"
|
db.password = "123456"
|
||||||
db.port = 3306
|
db.port = 3306
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
<input class="layui-input" name="taskName" id="taskName" autocomplete="off" placeholder="任务名称" >
|
<input class="layui-input" name="taskName" id="taskName" autocomplete="off" placeholder="任务名称" >
|
||||||
</div>
|
</div>
|
||||||
<button class="layui-btn layui-btn-sm" data-type="reload" id="reload">查询</button>
|
<button class="layui-btn layui-btn-sm" data-type="reload" id="search">查询</button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
@@ -138,7 +138,7 @@
|
|||||||
$.post('/task/ajax'+action, {"ids":ids}, function (out) {
|
$.post('/task/ajax'+action, {"ids":ids}, function (out) {
|
||||||
if (out.status == 0) {
|
if (out.status == 0) {
|
||||||
layer.msg(msgok,{icon: 1,shade:0.3,time:1000},function () {
|
layer.msg(msgok,{icon: 1,shade:0.3,time:1000},function () {
|
||||||
$('#reload').click();
|
$('#search').click();
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
layer.msg(out.message)
|
layer.msg(out.message)
|
||||||
|
|||||||
Reference in New Issue
Block a user