diff --git a/app/admin/view/queue/index.html b/app/admin/view/queue/index.html index ea3236d9b..0b9875de1 100644 --- a/app/admin/view/queue/index.html +++ b/app/admin/view/queue/index.html @@ -24,7 +24,7 @@ 服务状态:检查中 - + 任务统计:待处理 {$total.pre|default=0} 个任务,处理中 {$total.dos|default=0} 个任务,已完成 {$total.oks|default=0} 个任务,已失败 {$total.ers|default=0} 个任务。 @@ -37,7 +37,7 @@ {block name='script'} + \ No newline at end of file + \ No newline at end of file diff --git a/app/admin/view/user/index.html b/app/admin/view/user/index.html index 9ca500757..a747cfc8f 100644 --- a/app/admin/view/user/index.html +++ b/app/admin/view/user/index.html @@ -69,7 +69,8 @@ // 数据状态切换操作 layui.form.on('switch(StatusSwitch)', function (obj) { - $.form.load("{:url('state')}", {id: obj.value, status: obj.elem.checked > 0 ? 1 : 0}, 'post', function (ret) { + var data = {id: obj.value, status: obj.elem.checked > 0 ? 1 : 0}; + $.form.load("{:url('state')}", data, 'post', function (ret) { if (ret.code < 1) $.msg.error(ret.info, 3, function () { $('#UserData').trigger('reload'); }); diff --git a/app/admin/view/user/index_search.html b/app/admin/view/user/index_search.html index 52240a610..4bcd66dde 100644 --- a/app/admin/view/user/index_search.html +++ b/app/admin/view/user/index_search.html @@ -65,5 +65,4 @@ - \ No newline at end of file