From 6d5c3dee0d97798f70bf965e48c3a782b3df9e7d Mon Sep 17 00:00:00 2001 From: bklLiudl <673013083@qq.com> Date: 星期三, 10 七月 2024 10:48:25 +0800 Subject: [PATCH] Merge branch 'hwh' into Liudl --- HTML/views/SystemSettings/UserManage.html | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/HTML/views/SystemSettings/UserManage.html b/HTML/views/SystemSettings/UserManage.html index 823c4d4..352bef6 100644 --- a/HTML/views/SystemSettings/UserManage.html +++ b/HTML/views/SystemSettings/UserManage.html @@ -116,7 +116,7 @@ //鑾峰彇瑙掕壊淇℃伅 sendData(IP + "/basis/GetRolesList", {}, 'get', function(res) { var html = ''; - if (res.code == 0) //鎴愬姛 + if (res.code == 200) //鎴愬姛 { var list = res.data; for (var i = 0; i < list.length; i++) { @@ -145,7 +145,7 @@ console.log(res.data) - if (res.code == 0) //鎴愬姛 + if (res.code == 200) //鎴愬姛 { var list = res.data; $.extend(infoOptions, { @@ -203,7 +203,7 @@ $(function() { $(".approvalBtnupt").hide(); }); - if (res.code == 0) //鎴愬姛 + if (res.code == 200) //鎴愬姛 { var list = res.data.filter(item => item.Layer == 0); if (list) @@ -395,7 +395,7 @@ doing = false; sendData(IP + "/basis/InsertUserinfo", param, 'post',function(res) { console.log(res); - if (res.code == 0) //鎴愬姛 + if (res.code == 200) //鎴愬姛 { layer.msg(res.msg, { icon: 1, @@ -459,7 +459,7 @@ doing = false; sendData(IP + "/Basis/DeleteUserInfo?Userids="+data.Id+"", {} , 'get', function(res) { console.log(res); - if (res.code == 0) { //鎴愬姛 + if (res.code == 200) { //鎴愬姛 layer.msg(res.msg, { icon: 1, time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級 @@ -550,7 +550,7 @@ doing = false; sendData(IP + "/basis/UpdateUserinfo", param, 'post', function(res) { - if (res.code == 0) { //鎴愬姛 + if (res.code == 200) { //鎴愬姛 layer.msg("淇敼鎴愬姛", { icon: 1, time: 1000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級 @@ -563,6 +563,7 @@ } else //涓嶆垚鍔� { + debugger; layer.msg(res.msg, { icon: 2, time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級 -- Gitblit v1.8.0