From 75e19f1d649e971e3422d3a3171592be4bfbe14e Mon Sep 17 00:00:00 2001
From: hwh <332078369@qq.com>
Date: 星期四, 15 八月 2024 16:21:33 +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