From a56c7f5fbe4b171a82561dce3b3b0ff6c5c30386 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期一, 22 一月 2024 17:30:58 +0800
Subject: [PATCH] 可用字符集,前后缀,应用,可以用字符集接口下拉和正则接口提交

---
 Source/UBCS-WEB/src/api/system/menu.js |   18 +++++++++++++++++-
 1 files changed, 17 insertions(+), 1 deletions(-)

diff --git a/Source/UBCS-WEB/src/api/system/menu.js b/Source/UBCS-WEB/src/api/system/menu.js
index d00f08e..febcde5 100644
--- a/Source/UBCS-WEB/src/api/system/menu.js
+++ b/Source/UBCS-WEB/src/api/system/menu.js
@@ -1,4 +1,4 @@
-import request from '@/router/axios';
+  import request from '@/router/axios';
 
 export const getList = (current, size, params) => {
   return request({
@@ -32,6 +32,16 @@
       parentId,
       current,
       size,
+    }
+  })
+}
+
+export const getButtonByParentCode = (params) => {
+  return request({
+    url: '/api/ubcs-system/menu/getButtonByParentCode',
+    method: 'get',
+    params: {
+      ...params
     }
   })
 }
@@ -106,3 +116,9 @@
     topMenuId,
   }
 });
+
+export const cloneMenuButton = (data) => request({
+  url: '/api/ubcs-system/menu/cloneMenuButton',
+  method: 'post',
+  data: data
+});
\ No newline at end of file

--
Gitblit v1.9.3