Add change password to user management page
This commit is contained in:
36
src/global.d.ts
vendored
36
src/global.d.ts
vendored
@@ -95,21 +95,6 @@ interface UserWithRoleInfoVo {
|
||||
groups: GroupVo[]
|
||||
}
|
||||
|
||||
interface UserAddEditParam {
|
||||
id?: string
|
||||
username: string
|
||||
password?: string
|
||||
locking?: boolean
|
||||
expiration?: string
|
||||
credentialsExpiration?: string
|
||||
enable?: boolean
|
||||
nickname?: string
|
||||
avatar?: string
|
||||
email?: string
|
||||
roleIds: number[]
|
||||
groupIds: number[]
|
||||
}
|
||||
|
||||
interface UserInfoVo {
|
||||
id: string
|
||||
userId: string
|
||||
@@ -190,6 +175,27 @@ interface TableParam {
|
||||
filters?: Record<string, _FilterValue | null>
|
||||
}
|
||||
|
||||
interface UserAddEditParam {
|
||||
id?: string
|
||||
username: string
|
||||
password?: string
|
||||
locking?: boolean
|
||||
expiration?: string
|
||||
credentialsExpiration?: string
|
||||
enable?: boolean
|
||||
nickname?: string
|
||||
avatar?: string
|
||||
email?: string
|
||||
roleIds: number[]
|
||||
groupIds: number[]
|
||||
}
|
||||
|
||||
interface UserChangePasswordParam {
|
||||
id: string
|
||||
password: string
|
||||
credentialsExpiration?: string
|
||||
}
|
||||
|
||||
interface SysLogGetParam extends PageParam {
|
||||
searchRequestUrl?: string
|
||||
searchRegex?: boolean
|
||||
|
||||
Reference in New Issue
Block a user