From 5e440a7dc434c43eb828fa62cf9c12b0078b8565 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期一, 20 一月 2025 11:36:18 +0800 Subject: [PATCH] !173 发布 5.3.0-BETA 公测版本 Merge pull request !173 from 疯狂的狮子Li/dev --- src/api/system/dept/types.ts | 71 +++++++++++++++++++++-------------- 1 files changed, 43 insertions(+), 28 deletions(-) diff --git a/src/api/system/dept/types.ts b/src/api/system/dept/types.ts index 9fe52e5..adaefd2 100644 --- a/src/api/system/dept/types.ts +++ b/src/api/system/dept/types.ts @@ -2,44 +2,59 @@ * 閮ㄩ棬鏌ヨ鍙傛暟 */ export interface DeptQuery extends PageQuery { - deptName?: string; - status?: number; + deptName?: string; + deptCategory?: string; + status?: number; } /** * 閮ㄩ棬绫诲瀷 */ export interface DeptVO extends BaseEntity { - id: number | string; - parentName: string; - parentId: number | string; - children: DeptVO[]; - deptId: number | string; - deptName: string; - orderNum: number; - leader: string; - phone: string; - email: string; - status: string; - delFlag: string; - ancestors: string; - menuId: string | number; + id: number | string; + parentName: string; + parentId: number | string; + children: DeptVO[]; + deptId: number | string; + deptName: string; + deptCategory: string; + orderNum: number; + leader: string; + phone: string; + email: string; + status: string; + delFlag: string; + ancestors: string; + menuId: string | number; +} + +/** + * 閮ㄩ棬绫诲瀷 + */ +export interface DeptTreeVO extends BaseEntity { + id: number | string; + label: string; + parentId: number | string; + weight: number; + children: DeptTreeVO[]; + disabled: boolean; } /** * 閮ㄩ棬琛ㄥ崟绫诲瀷 */ export interface DeptForm { - parentName?: string; - parentId?: number | string; - children?: DeptForm[]; - deptId?: number | string; - deptName?: string; - orderNum?: number; - leader?: string; - phone?: string; - email?: string; - status?: string; - delFlag?: string; - ancestors?: string; + parentName?: string; + parentId?: number | string; + children?: DeptForm[]; + deptId?: number | string; + deptName?: string; + deptCategory?: string; + orderNum?: number; + leader?: string; + phone?: string; + email?: string; + status?: string; + delFlag?: string; + ancestors?: string; } -- Gitblit v1.9.3