From 7a3491ef2d6308d3aa5e35d8cceb14370702ed2c Mon Sep 17 00:00:00 2001
From: hwh <332078369@qq.com>
Date: 星期二, 16 七月 2024 11:24:56 +0800
Subject: [PATCH] 盘点日志

---
 HTML/views/BaseSetting/Unit.html |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/HTML/views/BaseSetting/Unit.html b/HTML/views/BaseSetting/Unit.html
index af698ff..ca66c91 100644
--- a/HTML/views/BaseSetting/Unit.html
+++ b/HTML/views/BaseSetting/Unit.html
@@ -109,6 +109,7 @@
 				url: url,
 				method: 'post',
 				where: where,
+				
 				contentType: 'application/json',
 				headers:{ToKen:$.cookie('token')},
 				page: true,
@@ -125,7 +126,7 @@
 						$(".delClass").hide();
 					});
 					sendData(IP + "/Basis/GetRoleRightList", {}, 'get', function (res) {
-						if (res.code == 200) { //鎴愬姛
+						if (res.code == 0) { //鎴愬姛
 
 							for (var k = 0; k < res.data.length; k++) {
 								if (res.data[k].MenuName == "缂栬緫鍗曚綅") {
@@ -358,7 +359,7 @@
 				$(".delClass").hide();
 			});
 			sendData(IP + "/Basis/GetRoleRightList", {}, 'get', function (res) {
-				if (res.code == 200) { //鎴愬姛
+				if (res.code == 0) { //鎴愬姛
 					for (var k = 0; k < res.data.length; k++) {
 						if (res.data[k].MenuName == "娣诲姞鍗曚綅") {
 							$(function () {

--
Gitblit v1.8.0