From b7265cdd6f3e1fbb0d428c27e5b5e29e34d56953 Mon Sep 17 00:00:00 2001 From: zhaoxiaohao <279049017@qq.com> Date: Tue, 17 Nov 2020 17:55:21 +0800 Subject: [PATCH] Merge branch 'dev' --- kidgrow-web/kidgrow-web-hospital/src/main/resources/static/pages/system/user.html | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/kidgrow-web/kidgrow-web-hospital/src/main/resources/static/pages/system/user.html b/kidgrow-web/kidgrow-web-hospital/src/main/resources/static/pages/system/user.html index 38acaaf..b6b125d 100644 --- a/kidgrow-web/kidgrow-web-hospital/src/main/resources/static/pages/system/user.html +++ b/kidgrow-web/kidgrow-web-hospital/src/main/resources/static/pages/system/user.html @@ -99,9 +99,9 @@ admin.req('api-user/users/'+obj.data.id+'/password', {}, function (data) { layer.closeAll('loading'); if (data.ode == 0) { - layer.msg(data.msg, {icon: 1, time: 500}); + layer.msg(data.msg, {icon: 1, time: 2000}); } else { - layer.msg(data.msg, {icon: 2, time: 500}); + layer.msg(data.msg, {icon: 2, time: 2000}); } }, 'PUT'); }); @@ -112,10 +112,10 @@ admin.req('api-user/users/'+obj.data.id, {}, function (data) { layer.closeAll('loading'); if (data.code == 0) { - layer.msg(data.msg, {icon: 1, time: 500}); + layer.msg(data.msg, {icon: 1, time: 2000}); table.reload('user-table', {}); } else { - layer.msg(data.msg, {icon: 2, time: 500}); + layer.msg(data.msg, {icon: 2, time: 2000}); } }, 'delete'); }); @@ -182,10 +182,10 @@ }, function (data) { layer.closeAll('loading'); if (data.code == 0) { - layer.msg(data.msg, {icon: 1, time: 500}); + layer.msg(data.msg, {icon: 1, time: 2000}); //table.reload('table-user', {}); } else { - layer.msg(data.msg, {icon: 2, time: 500}); + layer.msg(data.msg, {icon: 2, time: 2000}); $(obj.elem).prop('checked', !obj.elem.checked); form.render('checkbox'); } @@ -202,10 +202,10 @@ ,headers: {"Authorization" : "Bearer " + config.getToken().access_token} ,done: function(data){ if (data.code == 0) { - layer.msg(data.msg, {icon: 1, time: 500}); + layer.msg(data.msg, {icon: 1, time: 2000}); table.reload('user-table', {}); } else { - layer.msg(data.msg, {icon: 2, time: 500}); + layer.msg(data.msg, {icon: 2, time: 2000}); } } }); -- Gitblit v1.8.0