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

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

No files matched your search

+3
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({