From 47e23cf659d4cc58bc93b44b16e64e82efcfb08d Mon Sep 17 00:00:00 2001 From: zhibing.pu <393733352@qq.com> Date: 星期三, 24 七月 2024 17:34:27 +0800 Subject: [PATCH] Merge branch '2.0' of http://120.76.84.145:10101/gitblit/r/java/PlayPai into 2.0 --- cloud-server-management/src/main/webapp/static/modular/system/tSiteType/tSiteType.js | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/cloud-server-management/src/main/webapp/static/modular/system/tSiteType/tSiteType.js b/cloud-server-management/src/main/webapp/static/modular/system/tSiteType/tSiteType.js index 797732a..66224e5 100644 --- a/cloud-server-management/src/main/webapp/static/modular/system/tSiteType/tSiteType.js +++ b/cloud-server-management/src/main/webapp/static/modular/system/tSiteType/tSiteType.js @@ -59,7 +59,12 @@ let id = this.seItem.id var operation = function(){ var ajax = new $ax(Feng.ctxPath + "/tSiteType/delete", function (data) { - Feng.success("删除成功!"); + if(data=="5002"){ + Feng.info("已有场地使用无法删除!"); + }else { + Feng.success("删除成功!"); + } + TSite.table.refresh(); }, function (data) { Feng.error("删除失败!" + data.responseJSON.message + "!"); -- Gitblit v1.7.1