From 336cc1da02624db3d42ad09187b6b51b98ee35dc Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期二, 05 三月 2024 14:20:40 +0800
Subject: [PATCH] Merge branch 'master' 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