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/Role.html | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/HTML/views/SystemSettings/Role.html b/HTML/views/SystemSettings/Role.html
index 021b914..7c65efe 100644
--- a/HTML/views/SystemSettings/Role.html
+++ b/HTML/views/SystemSettings/Role.html
@@ -97,7 +97,7 @@
RoleName: RoleName,
};
sendData(IP + "/Basis/GetRolesList?RoleNo=" + RoleNo + "&RoleName=" + RoleName, {}, "get", function (res) {
- if (res.code == 200)
+ if (res.code == 0)
{
//鎴愬姛
var list = res.data;
@@ -136,7 +136,7 @@
$(function() {
$(".approvalBtndel").hide();
});
- if (res.code == 200)
+ if (res.code == 0)
{
//鎴愬姛
for (var k = 0; k < res.data.length; k++)
@@ -232,7 +232,7 @@
sendData(IP + "/basis/GetRolesList", {}, "get", function (res) {
var html = "";
- if (res.code == 200)
+ if (res.code == 0)
{
//鎴愬姛
var list = res.data;
@@ -298,7 +298,7 @@
Demo: field.Demo, //澶囨敞
};
sendData( IP + "/basis/UpdateRolesInfo", param, "post", function (res) {
- if (res.code == 200)
+ if (res.code == 0)
{
//鎴愬姛
layer.msg(
@@ -365,7 +365,7 @@
Demo: field.Demo, //澶囨敞
};
sendData( IP + "/basis/UpdateRolesInfo", param, "post", function (res) {
- if (res.code == 200)
+ if (res.code == 0)
{
//鎴愬姛
layer.msg(
@@ -416,7 +416,7 @@
doing = false;
sendData( IP + "/Basis/DeleteRoleInfo?Roleids=" + data.Id + "", {}, "get", function (res) {
console.log(res);
- if (res.code == 200)
+ if (res.code == 0)
{
//鎴愬姛
layer.msg(
@@ -487,7 +487,7 @@
{
doing = false;
sendData( IP + "/basis/InsertRoleInfo", param, "post", function (res) {
- if (res.code == 200)
+ if (res.code == 0)
{
//鎴愬姛
layer.msg(
--
Gitblit v1.8.0