From 576c918c2c213176e2aff1e130fd84d5dc1ee835 Mon Sep 17 00:00:00 2001
From: yuxc <yuxc@vci-tech.com>
Date: 星期四, 09 一月 2025 16:05:02 +0800
Subject: [PATCH] 在删除属性时删除的属性有数据进行属性的提示
---
Source/plt-web/plt-web-ui/src/api/UI/Icons.js | 29 ++++++++++++++++++++++++++++-
1 files changed, 28 insertions(+), 1 deletions(-)
diff --git a/Source/plt-web/plt-web-ui/src/api/UI/Icons.js b/Source/plt-web/plt-web-ui/src/api/UI/Icons.js
index a88ac24..2db0ef1 100644
--- a/Source/plt-web/plt-web-ui/src/api/UI/Icons.js
+++ b/Source/plt-web/plt-web-ui/src/api/UI/Icons.js
@@ -3,8 +3,35 @@
// 鍥炬爣搴撴煡璇�
export function getIcons(params) {
return request({
- url: "/api/uiManagerController/getBizTree",
+ url: "/api/webIconController/getAllIcon",
method: "get",
params
});
}
+
+// 鍒涘缓
+export function addIcon(params) {
+ return request({
+ url: "/api/webIconController/addIcon",
+ method: "post",
+ data:params
+ });
+}
+
+// 淇敼
+export function updateIcon(params) {
+ return request({
+ url: "/api/webIconController/editIcon",
+ method: "put",
+ data:params
+ });
+}
+
+// 鍒犻櫎
+export function deleteIcon(params) {
+ return request({
+ url: "/api/webIconController/delIcon",
+ method: "delete",
+ params
+ });
+}
--
Gitblit v1.9.3