大屏页面初始化

This commit is contained in:
2026-03-06 15:43:05 +08:00
parent 4c62e80407
commit b9d209f7ef
12 changed files with 395 additions and 29 deletions

View File

@@ -10,3 +10,27 @@ export function getHomeRoleList(params) {
params: params
})
}
/**
* 获取角色授权的菜单
*/
export function getHomeRoleMenus(params) {
return request({
url: '/biz/homeRole/roleMenus',
method: 'get',
params: params
})
}
/**
* 给角色授权菜单
*/
export function getHomeRoleAssign(data) {
return request({
url: '/biz/homeRole/assign',
method: 'post',
data
})
}