From a3236b51b5691b8c47f4ebaf1d885314a4bab3bd Mon Sep 17 00:00:00 2001 From: wxw <Administrator@DESKTOP-5BIMHQ3> Date: 星期二, 13 八月 2024 11:17:18 +0800 Subject: [PATCH] 拼箱功能开发 --- HTML/views/SystemSettings/UserManage.html | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/HTML/views/SystemSettings/UserManage.html b/HTML/views/SystemSettings/UserManage.html index 352bef6..7264537 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 == 200) //鎴愬姛 + if (res.code == 0) //鎴愬姛 { var list = res.data; for (var i = 0; i < list.length; i++) { @@ -145,7 +145,7 @@ console.log(res.data) - if (res.code == 200) //鎴愬姛 + if (res.code == 0) //鎴愬姛 { var list = res.data; $.extend(infoOptions, { @@ -203,7 +203,7 @@ $(function() { $(".approvalBtnupt").hide(); }); - if (res.code == 200) //鎴愬姛 + if (res.code == 0) //鎴愬姛 { 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 == 200) //鎴愬姛 + if (res.code == 0) //鎴愬姛 { 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 == 200) { //鎴愬姛 + if (res.code == 0) { //鎴愬姛 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 == 200) { //鎴愬姛 + if (res.code == 0) { //鎴愬姛 layer.msg("淇敼鎴愬姛", { icon: 1, time: 1000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級 -- Gitblit v1.8.0