mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-25 01:09:19 +08:00
refact: 重构目录架构
This commit is contained in:
@@ -1,43 +0,0 @@
|
||||
import { requestClient } from '#/api/request';
|
||||
|
||||
import type { PageQueryDTO, PageResultVO } from '#/types/common';
|
||||
import type { AccountDTO, AccountVO } from './types';
|
||||
|
||||
/**
|
||||
* 账户管理API
|
||||
*/
|
||||
|
||||
/**
|
||||
* 创建账户(管理员)
|
||||
*/
|
||||
export async function admin_createAccountApi(data: AccountDTO.CreateAccountDTO) {
|
||||
return requestClient.post<AccountVO.AccountInfoVO>('/company/account/create', data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 分页查询账户(管理员)
|
||||
*/
|
||||
export async function admin_getAccountPageApi(params: PageQueryDTO<AccountDTO.AccountFilterDTO>) {
|
||||
return requestClient.post<PageResultVO<AccountVO.AccountInfoVO>>('/company/account/page', params);
|
||||
}
|
||||
|
||||
/**
|
||||
* 更新账户信息
|
||||
*/
|
||||
export async function admin_updateAccountApi(accountId: number, data: AccountDTO.UpdateAccountDTO) {
|
||||
return requestClient.put<AccountVO.AccountInfoVO>(`/company/account/update/${accountId}`, data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除账户
|
||||
*/
|
||||
export async function admin_deleteAccountApi(accountId: number) {
|
||||
return requestClient.delete<void>(`/company/account/delete/${accountId}`);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取账户详情
|
||||
*/
|
||||
export async function admin_getAccountDetailApi(accountId: number) {
|
||||
return requestClient.get<AccountVO.AccountInfoVO>(`/company/account/detail/${accountId}`);
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
/**
|
||||
* 账户管理模块API导出
|
||||
*/
|
||||
|
||||
export * from './apis';
|
||||
export * from './types';
|
||||
@@ -1,6 +0,0 @@
|
||||
/**
|
||||
* 账户管理模块类型定义导出
|
||||
*/
|
||||
|
||||
export * from './types.dto';
|
||||
export * from './types.vo';
|
||||
@@ -1,65 +0,0 @@
|
||||
/**
|
||||
* 账户管理模块DTO类型定义
|
||||
*/
|
||||
|
||||
export namespace AccountDTO {
|
||||
/** 创建账户参数 */
|
||||
export interface CreateAccountDTO {
|
||||
/** 登录账号 */
|
||||
loginCode: string;
|
||||
/** 密码 */
|
||||
password: string;
|
||||
/** 真实姓名 */
|
||||
realName: string;
|
||||
/** 手机号 */
|
||||
phone?: string;
|
||||
/** 头像图片ID */
|
||||
avatarImageId?: number;
|
||||
/** 部门ID */
|
||||
departmentId: number;
|
||||
/** 岗位ID */
|
||||
positionId: number;
|
||||
/** 备注信息 */
|
||||
remark?: string;
|
||||
}
|
||||
|
||||
/** 更新账户参数 */
|
||||
export interface UpdateAccountDTO {
|
||||
/** 登录账号 */
|
||||
loginCode?: string;
|
||||
/** 手机号 */
|
||||
phone?: string;
|
||||
/** 真实姓名 */
|
||||
realName?: string;
|
||||
/** 头像图片ID */
|
||||
avatarImageId?: number;
|
||||
/** 部门ID */
|
||||
departmentId?: number;
|
||||
/** 岗位ID */
|
||||
positionId?: number;
|
||||
/** 状态(0-正常 1-删除 2-停用 3-冻结) */
|
||||
status?: number;
|
||||
/** 备注信息 */
|
||||
remark?: string;
|
||||
}
|
||||
|
||||
/** 账户过滤条件 */
|
||||
export interface AccountFilterDTO {
|
||||
/** 登录账号(模糊查询) */
|
||||
loginCode?: string;
|
||||
/** 用户姓名(模糊查询) */
|
||||
realName?: string;
|
||||
/** 手机号码(精确查询) */
|
||||
phone?: string;
|
||||
/** 公司ID */
|
||||
companyId?: number;
|
||||
/** 部门ID */
|
||||
departmentId?: number;
|
||||
/** 岗位ID */
|
||||
positionId?: number;
|
||||
/** 角色 */
|
||||
role?: string;
|
||||
/** 状态(0-正常 1-删除 2-停用 3-冻结) */
|
||||
status?: number;
|
||||
}
|
||||
}
|
||||
@@ -1,63 +0,0 @@
|
||||
/**
|
||||
* 账户管理模块VO类型定义
|
||||
*/
|
||||
|
||||
export namespace AccountVO {
|
||||
/** 账户信息 */
|
||||
export interface AccountInfoVO {
|
||||
/** 用户ID */
|
||||
id: number;
|
||||
/** 公司ID */
|
||||
companyId?: number;
|
||||
/** 公司名称 */
|
||||
companyName?: string;
|
||||
/** 部门ID */
|
||||
departmentId?: number;
|
||||
/** 部门名称 */
|
||||
departmentName?: string;
|
||||
/** 岗位ID */
|
||||
positionId?: number;
|
||||
/** 岗位名称 */
|
||||
positionName?: string;
|
||||
/** 登录账号 */
|
||||
loginCode: string;
|
||||
/** 手机号码 */
|
||||
phone?: string;
|
||||
/** 用户姓名 */
|
||||
realName: string;
|
||||
/** 头像路径 */
|
||||
avatar?: string;
|
||||
/** 头像图片ID */
|
||||
avatarImageId?: number;
|
||||
/** 角色 */
|
||||
role?: string;
|
||||
/** 角色名称 */
|
||||
roleName?: string;
|
||||
/** 密码安全级别 */
|
||||
pwdSecurityLevel?: number;
|
||||
/** 密码最后更新时间 */
|
||||
pwdUpdateTime?: string;
|
||||
/** 最后登录IP */
|
||||
lastLoginIp?: string;
|
||||
/** 最后登录时间 */
|
||||
lastLoginDate?: string;
|
||||
/** 冻结时间 */
|
||||
freezeDate?: string;
|
||||
/** 冻结原因 */
|
||||
freezeCause?: string;
|
||||
/** 状态 */
|
||||
status: number;
|
||||
/** 状态名称 */
|
||||
statusName?: string;
|
||||
/** 备注信息 */
|
||||
remark?: string;
|
||||
/** 创建时间 */
|
||||
createTime: string;
|
||||
/** 更新时间 */
|
||||
updateTime: string;
|
||||
/** 创建者 */
|
||||
createByName?: string;
|
||||
/** 更新者 */
|
||||
updateByName?: string;
|
||||
}
|
||||
}
|
||||
@@ -1,49 +0,0 @@
|
||||
import { requestClient } from '#/api/request';
|
||||
|
||||
import type { PageQueryDTO, PageResultVO } from '#/types/common';
|
||||
import type { CompanyDTO, CompanyVO } from './types';
|
||||
|
||||
/**
|
||||
* 公司管理API
|
||||
*/
|
||||
|
||||
/**
|
||||
* 分页获取公司列表
|
||||
*/
|
||||
export async function getCompanyPageApi(params: PageQueryDTO<CompanyDTO.CompanyFiltersDTO>) {
|
||||
return requestClient.post<PageResultVO<CompanyVO.CompanyInfoVO>>('/company/page', params);
|
||||
}
|
||||
|
||||
/**
|
||||
* 创建公司
|
||||
*/
|
||||
export async function createCompanyApi(data: CompanyDTO.CreateCompanyDTO) {
|
||||
return requestClient.post<CompanyVO.CompanyInfoVO>('/company/create', data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 更新公司
|
||||
*/
|
||||
export async function updateCompanyApi(id: number, data: CompanyDTO.UpdateCompanyDTO) {
|
||||
return requestClient.put<CompanyVO.CompanyInfoVO>(`/company/update/${id}`, data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除公司
|
||||
*/
|
||||
export async function deleteCompanyApi(id: number) {
|
||||
return requestClient.delete<void>(`/company/delete/${id}`);
|
||||
}
|
||||
|
||||
/**
|
||||
* 上传公司Logo
|
||||
*/
|
||||
export async function uploadCompanyLogoApi(file: File) {
|
||||
const formData = new FormData();
|
||||
formData.append('file', file);
|
||||
return requestClient.post<CompanyVO.CompanyInfoVO>('/company/upload-logo', formData, {
|
||||
headers: {
|
||||
'Content-Type': 'multipart/form-data',
|
||||
},
|
||||
});
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
/**
|
||||
* 公司管理模块API导出
|
||||
*/
|
||||
|
||||
export * from './apis';
|
||||
export * from './types';
|
||||
@@ -1,6 +0,0 @@
|
||||
/**
|
||||
* 公司管理模块类型定义导出
|
||||
*/
|
||||
|
||||
export * from './types.dto';
|
||||
export * from './types.vo';
|
||||
@@ -1,61 +0,0 @@
|
||||
/**
|
||||
* 公司管理模块DTO类型定义
|
||||
*/
|
||||
|
||||
export namespace CompanyDTO {
|
||||
/** 创建公司参数 */
|
||||
export interface CreateCompanyDTO {
|
||||
/** 公司名称 */
|
||||
name: string;
|
||||
/** 公司地址 */
|
||||
address?: string;
|
||||
/** 联系人 */
|
||||
contactPerson?: string;
|
||||
/** 联系电话 */
|
||||
contactPhone?: string;
|
||||
/** 邮箱 */
|
||||
email?: string;
|
||||
/** logo图片ID */
|
||||
logoImageId?: number;
|
||||
/** 状态 (0-禁用 1-正常) */
|
||||
status?: number;
|
||||
/** 订阅到期时间 */
|
||||
expireTime?: string;
|
||||
}
|
||||
|
||||
/** 更新公司参数 */
|
||||
export interface UpdateCompanyDTO {
|
||||
/** 公司名称 */
|
||||
name: string;
|
||||
/** 公司地址 */
|
||||
address?: string;
|
||||
/** 联系人 */
|
||||
contactPerson?: string;
|
||||
/** 联系电话 */
|
||||
contactPhone?: string;
|
||||
/** 邮箱 */
|
||||
email?: string;
|
||||
/** logo图片ID */
|
||||
logoImageId?: number;
|
||||
/** 状态 (0-禁用 1-正常) */
|
||||
status?: number;
|
||||
/** 订阅到期时间 */
|
||||
expireTime?: string;
|
||||
}
|
||||
|
||||
/** 公司过滤条件 */
|
||||
export interface CompanyFiltersDTO {
|
||||
/** 公司名称(模糊查询) */
|
||||
name?: string;
|
||||
/** 联系人(模糊查询) */
|
||||
contactPerson?: string;
|
||||
/** 联系电话(精确查询) */
|
||||
contactPhone?: string;
|
||||
/** 邮箱(精确查询) */
|
||||
email?: string;
|
||||
/** 状态 */
|
||||
status?: number;
|
||||
/** 过期状态查询 */
|
||||
expired?: boolean;
|
||||
}
|
||||
}
|
||||
@@ -1,35 +0,0 @@
|
||||
/**
|
||||
* 公司管理模块VO类型定义
|
||||
*/
|
||||
|
||||
export namespace CompanyVO {
|
||||
/** 公司信息 */
|
||||
export interface CompanyInfoVO {
|
||||
/** 公司ID */
|
||||
id: number;
|
||||
/** 公司名称 */
|
||||
name: string;
|
||||
/** 订阅到期时间 */
|
||||
expiration?: string;
|
||||
/** 公司地址 */
|
||||
address?: string;
|
||||
/** 联系人 */
|
||||
contactPerson?: string;
|
||||
/** 联系电话 */
|
||||
contactPhone?: string;
|
||||
/** 邮箱 */
|
||||
email?: string;
|
||||
/** logo */
|
||||
logo?: string;
|
||||
/** 状态 (0-禁用 1-正常) */
|
||||
status: number;
|
||||
/** 订阅到期时间 */
|
||||
expireTime?: string;
|
||||
/** 创建时间 */
|
||||
createTime: string;
|
||||
/** 更新时间 */
|
||||
updateTime: string;
|
||||
/** 是否过期 */
|
||||
expired?: boolean;
|
||||
}
|
||||
}
|
||||
@@ -1,36 +0,0 @@
|
||||
import { requestClient } from '#/api/request';
|
||||
|
||||
import type { PageQueryDTO, PageResultVO } from '#/types/common';
|
||||
import type { DepartmentDTO, DepartmentVO } from './types';
|
||||
|
||||
/**
|
||||
* 部门管理API
|
||||
*/
|
||||
|
||||
/**
|
||||
* 分页获取部门列表
|
||||
*/
|
||||
export async function getDepartmentPageApi(params: PageQueryDTO<DepartmentDTO.DepartmentFiltersDTO>) {
|
||||
return requestClient.post<PageResultVO<DepartmentVO.DepartmentInfoVO>>('/department/page', params);
|
||||
}
|
||||
|
||||
/**
|
||||
* 创建部门
|
||||
*/
|
||||
export async function createDepartmentApi(data: DepartmentDTO.CreateDepartmentDTO) {
|
||||
return requestClient.post<DepartmentVO.DepartmentInfoVO>('/department/create', data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 更新部门
|
||||
*/
|
||||
export async function updateDepartmentApi(id: number, data: DepartmentDTO.UpdateDepartmentDTO) {
|
||||
return requestClient.put<DepartmentVO.DepartmentInfoVO>(`/department/update/${id}`, data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除部门
|
||||
*/
|
||||
export async function deleteDepartmentApi(id: number) {
|
||||
return requestClient.delete<void>(`/department/delete/${id}`);
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
/**
|
||||
* 部门管理模块API导出
|
||||
*/
|
||||
|
||||
export * from './apis';
|
||||
export * from './types';
|
||||
@@ -1,6 +0,0 @@
|
||||
/**
|
||||
* 部门管理模块类型定义导出
|
||||
*/
|
||||
|
||||
export * from './types.dto';
|
||||
export * from './types.vo';
|
||||
@@ -1,39 +0,0 @@
|
||||
/**
|
||||
* 部门管理模块DTO类型定义
|
||||
*/
|
||||
|
||||
export namespace DepartmentDTO {
|
||||
/** 创建部门参数 */
|
||||
export interface CreateDepartmentDTO {
|
||||
/** 部门名称 */
|
||||
name: string;
|
||||
/** 父部门ID */
|
||||
parentId?: number;
|
||||
/** 备注 */
|
||||
remark?: string;
|
||||
/** 状态 */
|
||||
status?: number;
|
||||
}
|
||||
|
||||
/** 更新部门参数 */
|
||||
export interface UpdateDepartmentDTO {
|
||||
/** 部门名称 */
|
||||
name: string;
|
||||
/** 父部门ID */
|
||||
parentId?: number;
|
||||
/** 备注 */
|
||||
remark?: string;
|
||||
/** 状态 */
|
||||
status?: number;
|
||||
}
|
||||
|
||||
/** 部门过滤条件 */
|
||||
export interface DepartmentFiltersDTO {
|
||||
/** 部门名称(模糊查询) */
|
||||
name?: string;
|
||||
/** 父级部门ID */
|
||||
parentId?: number;
|
||||
/** 状态 */
|
||||
status?: number;
|
||||
}
|
||||
}
|
||||
@@ -1,31 +0,0 @@
|
||||
/**
|
||||
* 部门管理模块VO类型定义
|
||||
*/
|
||||
|
||||
export namespace DepartmentVO {
|
||||
/** 部门信息 */
|
||||
export interface DepartmentInfoVO {
|
||||
/** 部门ID */
|
||||
id: number;
|
||||
/** 部门名称 */
|
||||
name: string;
|
||||
/** 父部门ID */
|
||||
parentId?: number;
|
||||
/** 公司ID */
|
||||
companyId: number;
|
||||
/** 备注 */
|
||||
remark?: string;
|
||||
/** 状态 */
|
||||
status: number;
|
||||
/** 创建时间 */
|
||||
createTime: string;
|
||||
/** 更新时间 */
|
||||
updateTime: string;
|
||||
/** 创建人ID */
|
||||
createBy?: number;
|
||||
/** 更新人ID */
|
||||
updateBy?: number;
|
||||
/** 子部门 */
|
||||
children?: DepartmentInfoVO[];
|
||||
}
|
||||
}
|
||||
@@ -1,36 +0,0 @@
|
||||
import { requestClient } from '#/api/request';
|
||||
|
||||
import type { PageQueryDTO, PageResultVO } from '#/types/common';
|
||||
import type { PositionDTO, PositionVO } from './types';
|
||||
|
||||
/**
|
||||
* 岗位管理API
|
||||
*/
|
||||
|
||||
/**
|
||||
* 分页获取岗位列表
|
||||
*/
|
||||
export async function getPositionPageApi(params: PageQueryDTO<PositionDTO.PositionFiltersDTO>) {
|
||||
return requestClient.post<PageResultVO<PositionVO.PositionInfoVO>>('/position/page', params);
|
||||
}
|
||||
|
||||
/**
|
||||
* 创建岗位
|
||||
*/
|
||||
export async function createPositionApi(data: PositionDTO.CreatePositionDTO) {
|
||||
return requestClient.post<PositionVO.PositionInfoVO>('/position/create', data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 更新岗位
|
||||
*/
|
||||
export async function updatePositionApi(id: number, data: PositionDTO.UpdatePositionDTO) {
|
||||
return requestClient.put<PositionVO.PositionInfoVO>(`/position/update/${id}`, data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除岗位
|
||||
*/
|
||||
export async function deletePositionApi(id: number) {
|
||||
return requestClient.delete<void>(`/position/delete/${id}`);
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
/**
|
||||
* 岗位管理模块API导出
|
||||
*/
|
||||
|
||||
export * from './apis';
|
||||
export * from './types';
|
||||
@@ -1,6 +0,0 @@
|
||||
/**
|
||||
* 岗位管理模块类型定义导出
|
||||
*/
|
||||
|
||||
export * from './types.dto';
|
||||
export * from './types.vo';
|
||||
@@ -1,41 +0,0 @@
|
||||
/**
|
||||
* 岗位管理模块DTO类型定义
|
||||
*/
|
||||
|
||||
export namespace PositionDTO {
|
||||
/** 创建岗位参数 */
|
||||
export interface CreatePositionDTO {
|
||||
/** 岗位名称 */
|
||||
name: string;
|
||||
/** 岗位编码 */
|
||||
code?: string;
|
||||
/** 部门ID */
|
||||
departmentId?: number;
|
||||
/** 备注 */
|
||||
remark?: string;
|
||||
/** 状态 */
|
||||
status?: number;
|
||||
}
|
||||
|
||||
/** 更新岗位参数 */
|
||||
export interface UpdatePositionDTO {
|
||||
/** 岗位名称 */
|
||||
name: string;
|
||||
/** 岗位编码 */
|
||||
code?: string;
|
||||
/** 部门ID */
|
||||
departmentId?: number;
|
||||
/** 备注 */
|
||||
remark?: string;
|
||||
/** 状态 */
|
||||
status?: number;
|
||||
}
|
||||
|
||||
/** 岗位过滤条件 */
|
||||
export interface PositionFiltersDTO {
|
||||
/** 岗位名称(模糊查询) */
|
||||
name?: string;
|
||||
/** 状态 */
|
||||
status?: number;
|
||||
}
|
||||
}
|
||||
@@ -1,31 +0,0 @@
|
||||
/**
|
||||
* 岗位管理模块VO类型定义
|
||||
*/
|
||||
|
||||
export namespace PositionVO {
|
||||
/** 岗位信息 */
|
||||
export interface PositionInfoVO {
|
||||
/** 岗位ID */
|
||||
id: number;
|
||||
/** 岗位名称 */
|
||||
name: string;
|
||||
/** 岗位编码 */
|
||||
code?: string;
|
||||
/** 部门ID */
|
||||
departmentId?: number;
|
||||
/** 备注 */
|
||||
remark?: string;
|
||||
/** 状态 */
|
||||
status: number;
|
||||
/** 公司ID */
|
||||
companyId: number;
|
||||
/** 创建时间 */
|
||||
createTime: string;
|
||||
/** 更新时间 */
|
||||
updateTime: string;
|
||||
/** 创建人ID */
|
||||
createBy?: number;
|
||||
/** 更新人ID */
|
||||
updateBy?: number;
|
||||
}
|
||||
}
|
||||
@@ -1,43 +0,0 @@
|
||||
import { requestClient } from '#/api/request';
|
||||
|
||||
import type { PageQueryDTO, PageResultVO } from '#/types/common';
|
||||
import type { SuperAccountDTO, SuperAccountVO } from './types';
|
||||
|
||||
/**
|
||||
* 超管账户管理API
|
||||
*/
|
||||
|
||||
/**
|
||||
* 创建账户(超管)
|
||||
*/
|
||||
export async function super_createAccountApi(data: SuperAccountDTO.SuperCreateAccountDTO) {
|
||||
return requestClient.post<SuperAccountVO.AccountInfoVO>('/super/account/create', data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 分页查询账户(超管)
|
||||
*/
|
||||
export async function super_getAccountPageApi(params: PageQueryDTO<SuperAccountDTO.AccountFilterDTO>) {
|
||||
return requestClient.post<PageResultVO<SuperAccountVO.AccountInfoVO>>('/super/account/page', params);
|
||||
}
|
||||
|
||||
/**
|
||||
* 更新账户信息(超管)
|
||||
*/
|
||||
export async function super_updateAccountApi(accountId: number, data: SuperAccountDTO.SuperUpdateAccountDTO) {
|
||||
return requestClient.put<SuperAccountVO.AccountInfoVO>(`/super/account/update/${accountId}`, data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除账户(超管)
|
||||
*/
|
||||
export async function super_deleteAccountApi(accountId: number) {
|
||||
return requestClient.delete<void>(`/super/account/delete/${accountId}`);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取账户详情(超管)
|
||||
*/
|
||||
export async function super_getAccountDetailApi(accountId: number) {
|
||||
return requestClient.get<SuperAccountVO.AccountInfoVO>(`/super/account/detail/${accountId}`);
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
/**
|
||||
* 超管账户管理模块API导出
|
||||
*/
|
||||
|
||||
export * from './apis';
|
||||
export * from './types';
|
||||
@@ -1,6 +0,0 @@
|
||||
/**
|
||||
* 超管账户管理模块类型定义导出
|
||||
*/
|
||||
|
||||
export * from './types.dto';
|
||||
export * from './types.vo';
|
||||
@@ -1,73 +0,0 @@
|
||||
/**
|
||||
* 超管账户管理模块DTO类型定义
|
||||
*/
|
||||
|
||||
export namespace SuperAccountDTO {
|
||||
/** 超管创建账户参数 */
|
||||
export interface SuperCreateAccountDTO {
|
||||
/** 登录账号 */
|
||||
loginCode: string;
|
||||
/** 密码 */
|
||||
password: string;
|
||||
/** 用户姓名 */
|
||||
realName: string;
|
||||
/** 手机号码 */
|
||||
phone?: string;
|
||||
/** 公司ID */
|
||||
companyId: number;
|
||||
/** 部门ID */
|
||||
departmentId?: number;
|
||||
/** 岗位ID */
|
||||
positionId?: number;
|
||||
/** 角色 */
|
||||
role: string;
|
||||
/** 头像图片ID */
|
||||
avatarImageId?: number;
|
||||
/** 备注 */
|
||||
remark?: string;
|
||||
}
|
||||
|
||||
/** 超管更新账户参数 */
|
||||
export interface SuperUpdateAccountDTO {
|
||||
/** 登录账号 */
|
||||
loginCode?: string;
|
||||
/** 用户姓名 */
|
||||
realName?: string;
|
||||
/** 手机号码 */
|
||||
phone?: string;
|
||||
/** 公司ID */
|
||||
companyId?: number;
|
||||
/** 部门ID */
|
||||
departmentId?: number;
|
||||
/** 岗位ID */
|
||||
positionId?: number;
|
||||
/** 角色 */
|
||||
role?: string;
|
||||
/** 头像图片ID */
|
||||
avatarImageId?: number;
|
||||
/** 状态(0-正常 1-删除 2-停用 3-冻结) */
|
||||
status?: number;
|
||||
/** 备注 */
|
||||
remark?: string;
|
||||
}
|
||||
|
||||
/** 账户过滤条件 */
|
||||
export interface AccountFilterDTO {
|
||||
/** 登录账号(模糊查询) */
|
||||
loginCode?: string;
|
||||
/** 用户姓名(模糊查询) */
|
||||
realName?: string;
|
||||
/** 手机号码(精确查询) */
|
||||
phone?: string;
|
||||
/** 公司ID */
|
||||
companyId?: number;
|
||||
/** 部门ID */
|
||||
departmentId?: number;
|
||||
/** 岗位ID */
|
||||
positionId?: number;
|
||||
/** 角色 */
|
||||
role?: string;
|
||||
/** 状态(0-正常 1-删除 2-停用 3-冻结) */
|
||||
status?: number;
|
||||
}
|
||||
}
|
||||
@@ -1,63 +0,0 @@
|
||||
/**
|
||||
* 超管账户管理模块VO类型定义
|
||||
*/
|
||||
|
||||
export namespace SuperAccountVO {
|
||||
/** 账户信息 */
|
||||
export interface AccountInfoVO {
|
||||
/** 用户ID */
|
||||
id: number;
|
||||
/** 公司ID */
|
||||
companyId?: number;
|
||||
/** 公司名称 */
|
||||
companyName?: string;
|
||||
/** 部门ID */
|
||||
departmentId?: number;
|
||||
/** 部门名称 */
|
||||
departmentName?: string;
|
||||
/** 岗位ID */
|
||||
positionId?: number;
|
||||
/** 岗位名称 */
|
||||
positionName?: string;
|
||||
/** 登录账号 */
|
||||
loginCode: string;
|
||||
/** 手机号码 */
|
||||
phone?: string;
|
||||
/** 用户姓名 */
|
||||
realName: string;
|
||||
/** 头像路径 */
|
||||
avatar?: string;
|
||||
/** 头像图片ID */
|
||||
avatarImageId?: number;
|
||||
/** 角色 */
|
||||
role?: string;
|
||||
/** 角色名称 */
|
||||
roleName?: string;
|
||||
/** 密码安全级别 */
|
||||
pwdSecurityLevel?: number;
|
||||
/** 密码最后更新时间 */
|
||||
pwdUpdateTime?: string;
|
||||
/** 最后登录IP */
|
||||
lastLoginIp?: string;
|
||||
/** 最后登录时间 */
|
||||
lastLoginDate?: string;
|
||||
/** 冻结时间 */
|
||||
freezeDate?: string;
|
||||
/** 冻结原因 */
|
||||
freezeCause?: string;
|
||||
/** 状态 */
|
||||
status: number;
|
||||
/** 状态名称 */
|
||||
statusName?: string;
|
||||
/** 备注信息 */
|
||||
remark?: string;
|
||||
/** 创建时间 */
|
||||
createTime: string;
|
||||
/** 更新时间 */
|
||||
updateTime: string;
|
||||
/** 创建者 */
|
||||
createByName?: string;
|
||||
/** 更新者 */
|
||||
updateByName?: string;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user