用户管理等

This commit is contained in:
2025-10-09 16:35:49 +08:00
parent 047bf39842
commit 39d7d0cf93
44 changed files with 3373 additions and 350 deletions

View File

@@ -23,6 +23,8 @@ export interface SysDept extends BaseDTO {
creator?: string;
/** 更新人 */
updater?: string;
/** 子部门列表(前端使用) */
children?: SysDept[];
}
/**
@@ -33,12 +35,15 @@ export interface DeptRoleVO {
dept?: SysDept;
/** 角色信息 */
role?: SysRole;
depts?: SysDept[];
roles?: SysRole[];
}
/**
* 部门角色关联
*/
export interface SysDeptRole extends BaseDTO {
id?: string;
/** 部门ID */
deptID?: string;
/** 角色ID */

View File

@@ -5,7 +5,8 @@
*/
import { BaseDTO } from '../base';
import { SysDept } from '../dept';
import { SysRole } from '../role';
/**
* 系统用户
*/
@@ -88,3 +89,15 @@ export interface SysUserDeptRole extends BaseDTO {
roleID?: string;
}
export interface UserDeptRoleVO extends BaseDTO {
/** 单个用户信息 */
user?: SysUser;
/** 用户列表 */
users?: SysUser[];
/** 部门列表 */
depts?: SysDept[];
/** 角色列表 */
roles?: SysRole[];
/** 用户部门角色关联列表 */
userDeptRoles?: SysUserDeptRole[];
}