refactor: 重构超管相关

This commit is contained in:
2026-07-28 15:16:45 +08:00
parent 095efa4e64
commit 8a424f6121
36 changed files with 265 additions and 331 deletions
@@ -19,8 +19,8 @@ export namespace SuperAccountDTO {
departmentId?: number;
/** 岗位ID */
positionId?: number;
/** 角色 */
role: string;
/** 是否超级管理员(0-否 1-是) */
isSuper: number;
/** 头像图片ID */
avatarImageId?: number;
/** 备注 */
@@ -41,8 +41,8 @@ export namespace SuperAccountDTO {
departmentId?: number;
/** 岗位ID */
positionId?: number;
/** 角色 */
role?: string;
/** 是否超级管理员(0-否 1-是) */
isSuper?: number;
/** 头像图片ID */
avatarImageId?: number;
/** 状态(0-正常 1-删除 2-停用 3-冻结) */
@@ -65,8 +65,8 @@ export namespace SuperAccountDTO {
departmentId?: number;
/** 岗位ID */
positionId?: number;
/** 角色 */
role?: string;
/** 是否超级管理员(0-否 1-是) */
isSuper?: number;
/** 状态(0-正常 1-删除 2-停用 3-冻结) */
status?: number;
}
@@ -29,10 +29,10 @@ export namespace SuperAccountVO {
avatar?: string;
/** 头像图片ID */
avatarImageId?: number;
/** 角色 */
role?: string;
/** 角色名称 */
roleName?: string;
/** 是否超级管理员(0-否 1-是) */
isSuper?: number;
/** 是否超级管理员名称 */
isSuperName?: string;
/** 密码安全级别 */
pwdSecurityLevel?: number;
/** 密码最后更新时间 */
@@ -26,8 +26,8 @@ export namespace UserVO {
realName: string;
/** 头像路径 */
avatar?: string;
/** 关联角色(user-普通账户 company-公司账户 super-超管账户) */
role: string;
/** 是否超级管理员(0-否 1-是) */
isSuper?: number;
/** 密码安全级别(0-初始 1-很弱 2-弱 3-安全 4-很安全) */
pwdSecurityLevel?: number;
/** 密码最后更新时间 */