REVIEW 角色管理(设置数据权限)

This commit is contained in:
YunaiV
2023-04-01 22:30:02 +08:00
parent ecde723fa2
commit 7b700d875c
6 changed files with 175 additions and 197 deletions

View File

@ -7,6 +7,8 @@ export interface RoleVO {
sort: number
status: number
type: number
dataScope: number
dataScopeDeptIds: number[]
createTime: Date
}
@ -49,6 +51,7 @@ export const updateRoleStatus = async (data: UpdateStatusReqVO) => {
export const deleteRole = async (id: number) => {
return await request.delete({ url: '/system/role/delete?id=' + id })
}
// 导出角色
export const exportRole = (params) => {
return request.download({