From 13e07d48a90efdaee8b89e96a1d97a42f19777d7 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期三, 25 十月 2023 22:43:53 +0800
Subject: [PATCH] 1、修改从其他规则克隆规则时排序号未重排的bug。 2、为密码策略管理、用户管理、部门管理界面增加按钮权限控制

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

diff --git a/Source/UBCS-WEB/src/api/system/menu.js b/Source/UBCS-WEB/src/api/system/menu.js
index f60ce49..ba197bb 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({
@@ -23,13 +23,15 @@
   })
 }
 
-export const getLazyMenuList = (parentId, params) => {
+export const getLazyMenuList = (parentId, params, current, size) => {
   return request({
     url: '/api/ubcs-system/menu/lazy-menu-list',
     method: 'get',
     params: {
       ...params,
-      parentId
+      parentId,
+      current,
+      size,
     }
   })
 }
@@ -104,3 +106,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