兰宝车间质量管理系统-前端
疯狂的狮子Li
2023-04-03 1595cb282aab5399862fac6406b5de550863e3b6
src/api/system/user/types.ts
@@ -6,79 +6,79 @@
 * 用户信息
 */
export interface UserInfo {
   user: UserVO;
   roles: string[];
   permissions: string[];
  user: UserVO;
  roles: string[];
  permissions: string[];
}
/**
 * 用户查询对象类型
 */
export interface UserQuery extends PageQuery {
   userName?: string;
   phonenumber?: string;
   status?: string;
   deptId?: string | number;
   roleId?: string | number;
  userName?: string;
  phonenumber?: string;
  status?: string;
  deptId?: string | number;
  roleId?: string | number;
}
/**
 * 用户返回对象
 */
export interface UserVO extends BaseEntity {
   userId: string | number;
   deptId: number;
   userName: string;
   nickName: string;
   userType: string;
   email: string;
   phonenumber: string;
   sex: string;
   avatar: string;
   status: string;
   delFlag: string;
   loginIp: string;
   loginDate: string;
   remark: string;
   dept: DeptVO;
   roles: RoleVO[];
   roleIds: any;
   postIds: any;
   roleId: any;
   admin: boolean;
  userId: string | number;
  deptId: number;
  userName: string;
  nickName: string;
  userType: string;
  email: string;
  phonenumber: string;
  sex: string;
  avatar: string;
  status: string;
  delFlag: string;
  loginIp: string;
  loginDate: string;
  remark: string;
  dept: DeptVO;
  roles: RoleVO[];
  roleIds: any;
  postIds: any;
  roleId: any;
  admin: boolean;
}
/**
 * 用户表单类型
 */
export interface UserForm {
   id?: string;
   userId?: string;
   deptId?: number;
   userName: string;
   nickName?: string;
   password: string;
   phonenumber?: string;
   email?: string;
   sex?: string;
   status: string;
   remark?: string;
   postIds: string[];
   roleIds: string[];
  id?: string;
  userId?: string;
  deptId?: number;
  userName: string;
  nickName?: string;
  password: string;
  phonenumber?: string;
  email?: string;
  sex?: string;
  status: string;
  remark?: string;
  postIds: string[];
  roleIds: string[];
}
export interface UserInfoVO {
   user: UserVO;
   roles: RoleVO[];
   roleIds: string[];
   posts: PostVO[];
   postIds: string[];
   roleGroup: string;
   postGroup: string;
  user: UserVO;
  roles: RoleVO[];
  roleIds: string[];
  posts: PostVO[];
  postIds: string[];
  roleGroup: string;
  postGroup: string;
}
export interface ResetPwdForm {
   oldPassword: string;
   newPassword: string;
   confirmPassword: string;
  oldPassword: string;
  newPassword: string;
  confirmPassword: string;
}