From 021640e69b32dbd9b88a538402671c47f280df9e Mon Sep 17 00:00:00 2001 From: luo <2855143437@qq.com> Date: 星期三, 31 一月 2024 15:50:00 +0800 Subject: [PATCH] Merge branch 'master' of http://120.76.84.145:10101/gitblit/r/java/IgoTravel into dev --- ManagementIGOTravel/guns-admin/src/main/webapp/static/modular/system/tOpenCity/tOpenCity_info.js | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ManagementIGOTravel/guns-admin/src/main/webapp/static/modular/system/tOpenCity/tOpenCity_info.js b/ManagementIGOTravel/guns-admin/src/main/webapp/static/modular/system/tOpenCity/tOpenCity_info.js index 7fa11db..b09607c 100644 --- a/ManagementIGOTravel/guns-admin/src/main/webapp/static/modular/system/tOpenCity/tOpenCity_info.js +++ b/ManagementIGOTravel/guns-admin/src/main/webapp/static/modular/system/tOpenCity/tOpenCity_info.js @@ -129,9 +129,13 @@ } //提交信息 var ajax = new $ax(Feng.ctxPath + "/tOpenCity/add", function(data){ - Feng.success("添加成功!"); - window.parent.TOpenCity.table.refresh(); - TOpenCityInfoDlg.close(); + if(data.code == 200){ + Feng.success("添加成功!"); + window.parent.TOpenCity.table.refresh(); + TOpenCityInfoDlg.close(); + }else{ + Feng.error(data.msg); + } },function(data){ Feng.error("添加失败!" + data.responseJSON.message + "!"); }); -- Gitblit v1.7.1