From 458ae1f76971883a62d0230d0e9e53196a8fc912 Mon Sep 17 00:00:00 2001
From: hwh <332078369@qq.com>
Date: 星期四, 15 八月 2024 16:21:44 +0800
Subject: [PATCH] Merge branch 'hwh'

---
 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