From 131347ad63bb534b5abb6dbc979f0a47d780d8ff Mon Sep 17 00:00:00 2001 From: hwh <332078369@qq.com> Date: 星期三, 15 一月 2025 15:06:05 +0800 Subject: [PATCH] · --- HTML/views/SystemSettings/FunSetting.html | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/HTML/views/SystemSettings/FunSetting.html b/HTML/views/SystemSettings/FunSetting.html index e631df5..c264676 100644 --- a/HTML/views/SystemSettings/FunSetting.html +++ b/HTML/views/SystemSettings/FunSetting.html @@ -104,7 +104,7 @@ GroupNo: GroupNo }; sendData(IP + "/Basis/GetFunSettingList?FunSetName="+FunSetName+"&&IsEnable="+IsEnable+"&&GroupNo="+GroupNo, {}, 'get', function(res) { - if (res.code == 200) + if (res.code == 0) { //鎴愬姛 var list = res.data; $.extend(infoOptions, { @@ -125,7 +125,7 @@ $(".approvalBtndel").hide(); }); console.log(res) - if (res.code == 200) { //鎴愬姛 + if (res.code == 0) { //鎴愬姛 for (var k = 0; k < res.data.length; k++) { if (res.data[k].MenuName == "娣诲姞璁惧畾") { $(function() { @@ -256,7 +256,7 @@ doing = false; sendData(IP + "/basis/AddFunSettings", param, 'post',function(res) { console.log(res); - if (res.code == 200) + if (res.code == 0) { //鎴愬姛 layer.msg(res.msg, { icon: 1, @@ -340,7 +340,7 @@ doing = false; sendData(IP + "/Basis/DelFunSettings?Id="+data.Id+"", {} , 'get', function(res) { console.log(res); - if (res.code == 200) + if (res.code == 0) { //鎴愬姛 layer.msg(res.msg, { icon: 1, @@ -400,7 +400,7 @@ doing = false; sendData(IP + "/basis/ExitFunSettings", param, 'post', function(res) { - if (res.code == 200) + if (res.code == 0) { //鎴愬姛 layer.msg("淇敼鎴愬姛", { icon: 1, -- Gitblit v1.8.0