From f81e4925e870ab9cc080181280046d0338e1842c Mon Sep 17 00:00:00 2001 From: 田源 <tianyuan@vci-tech.com> Date: 星期三, 08 一月 2025 15:22:19 +0800 Subject: [PATCH] UI授权角色没显示完整&&UI授权切换角色闪烁 --- 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