|
|
|
@@ -70,9 +70,10 @@ export function updateRoleDataScope(data: Record<string, any>) { |
|
|
|
} |
|
|
|
|
|
|
|
// 角色状态修改 |
|
|
|
export function changeRoleStatus(roleId: number, status: string) { |
|
|
|
export function changeRoleStatus(roleId: number, roleKey: string, status: string) { |
|
|
|
const data = { |
|
|
|
roleId, |
|
|
|
roleKey, |
|
|
|
status, |
|
|
|
}; |
|
|
|
return request<API.Result>('/api/system/role/changeStatus', { |
|
|
|
|