From 7fc23d00b91d52c4c0b84fc4a4c2211607ca634d Mon Sep 17 00:00:00 2001 From: bklLiudl <673013083@qq.com> Date: 星期五, 23 八月 2024 11:01:38 +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