From 0fce5d7a7be6cdf179d08b4e6ff802a44eb2ba31 Mon Sep 17 00:00:00 2001 From: ludc Date: 星期三, 27 十二月 2023 16:40:56 +0800 Subject: [PATCH] 密码修改对话框修改,密码修改原密码传参修改 --- Source/UBCS-WEB/src/api/system/menu.js | 24 +++++++++++++++++++++--- 1 files changed, 21 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..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({ @@ -23,13 +23,25 @@ }) } -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, + } + }) +} + +export const getButtonByParentCode = (params) => { + return request({ + url: '/api/ubcs-system/menu/getButtonByParentCode', + method: 'get', + params: { + ...params } }) } @@ -104,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