Add role table
This commit is contained in:
31
src/global.d.ts
vendored
31
src/global.d.ts
vendored
@@ -111,6 +111,7 @@ interface MenuVo {
|
||||
url: string
|
||||
powerId: number
|
||||
parentId: number
|
||||
moduleId: number
|
||||
}
|
||||
|
||||
interface ElementVo {
|
||||
@@ -161,13 +162,6 @@ interface PageParam {
|
||||
sortOrder?: string
|
||||
}
|
||||
|
||||
interface GetSysLogParams extends PageParam {
|
||||
searchRequestUrl?: string
|
||||
searchRegex?: boolean
|
||||
searchStartTime?: string
|
||||
searchEndTime?: string
|
||||
}
|
||||
|
||||
interface TableParams {
|
||||
pagination?: _TablePaginationConfig
|
||||
sortField?: React.Key | readonly React.Key[]
|
||||
@@ -175,6 +169,13 @@ interface TableParams {
|
||||
filters?: Record<string, _FilterValue | null>
|
||||
}
|
||||
|
||||
interface GetSysLogParams extends PageParam {
|
||||
searchRequestUrl?: string
|
||||
searchRegex?: boolean
|
||||
searchStartTime?: string
|
||||
searchEndTime?: string
|
||||
}
|
||||
|
||||
interface SysLogGetVo {
|
||||
id: string
|
||||
logType: string
|
||||
@@ -193,3 +194,19 @@ interface SysLogGetVo {
|
||||
userAgent: string
|
||||
operateUsername: string
|
||||
}
|
||||
|
||||
interface GetRoleParams extends PageParam {
|
||||
searchName?: string
|
||||
searchRegex?: boolean
|
||||
}
|
||||
|
||||
interface RoleWithPowerGetVo {
|
||||
id: string
|
||||
name: string
|
||||
enable: string
|
||||
modules: ModuleVo[]
|
||||
menus: MenuVo[]
|
||||
elements: ElementVo[]
|
||||
operations: OperationVo[]
|
||||
tree: _DataNode[]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user