Finish group page

This commit is contained in:
2023-11-15 18:08:47 +08:00
parent 0e602224cb
commit 326c808622
6 changed files with 717 additions and 29 deletions

26
src/global.d.ts vendored
View File

@@ -233,3 +233,29 @@ interface PowerSetVo {
elementList: ElementVo[]
operationList: OperationVo[]
}
interface GroupGetParam extends PageParam {
searchName?: string
searchRegex?: boolean
}
interface GroupWithRoleGetVo {
id: string
name: string
enable: string
createTime: string
updateTime: string
roles: RoleVo[]
}
interface GroupAddEditParam {
id?: string
name: string
roleIds: number[]
enable: boolean
}
interface GroupChangeStatusParam {
id: string
enable: boolean
}