mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-24 17:49:19 +08:00
refactor(account): 公司账户管理添加账户表单优化
1. 移除登录账号字段(手机号作为唯一标识) 2. 手机号改为必填,放在第一位(密码之前) 3. 职位改为可选,默认 undefined 4. 移除头像图片ID字段 5. 更新相关 DTO 类型定义
This commit is contained in:
@@ -5,34 +5,26 @@
|
||||
export namespace AccountDTO {
|
||||
/** 创建账户参数 */
|
||||
export interface CreateAccountDTO {
|
||||
/** 登录账号 */
|
||||
loginCode: string;
|
||||
/** 密码 */
|
||||
password: string;
|
||||
/** 手机号 */
|
||||
phone: string;
|
||||
/** 真实姓名 */
|
||||
realName: string;
|
||||
/** 手机号 */
|
||||
phone?: string;
|
||||
/** 头像图片ID */
|
||||
avatarImageId?: number;
|
||||
/** 部门ID */
|
||||
departmentId: number;
|
||||
/** 岗位ID */
|
||||
positionId: number;
|
||||
positionId?: number;
|
||||
/** 备注信息 */
|
||||
remark?: string;
|
||||
}
|
||||
|
||||
/** 更新账户参数 */
|
||||
export interface UpdateAccountDTO {
|
||||
/** 登录账号 */
|
||||
loginCode?: string;
|
||||
/** 手机号 */
|
||||
phone?: string;
|
||||
/** 真实姓名 */
|
||||
realName?: string;
|
||||
/** 头像图片ID */
|
||||
avatarImageId?: number;
|
||||
/** 部门ID */
|
||||
departmentId?: number;
|
||||
/** 岗位ID */
|
||||
|
||||
Reference in New Issue
Block a user