From e29beed8bd5c7f7fa61efb62236d6bcd65d05b05 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期二, 24 十二月 2024 21:59:25 +0800 Subject: [PATCH] update 优化 hasRoles 方法增加超管判断 --- src/api/system/dept/types.ts | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/src/api/system/dept/types.ts b/src/api/system/dept/types.ts index 494745c..adaefd2 100644 --- a/src/api/system/dept/types.ts +++ b/src/api/system/dept/types.ts @@ -29,6 +29,18 @@ } /** + * 閮ㄩ棬绫诲瀷 + */ +export interface DeptTreeVO extends BaseEntity { + id: number | string; + label: string; + parentId: number | string; + weight: number; + children: DeptTreeVO[]; + disabled: boolean; +} + +/** * 閮ㄩ棬琛ㄥ崟绫诲瀷 */ export interface DeptForm { -- Gitblit v1.9.3