From 1595cb282aab5399862fac6406b5de550863e3b6 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期一, 03 四月 2023 00:05:09 +0800 Subject: [PATCH] update 调整代码格式 --- src/api/system/role/types.ts | 70 +++++++++++++++++----------------- 1 files changed, 35 insertions(+), 35 deletions(-) diff --git a/src/api/system/role/types.ts b/src/api/system/role/types.ts index df741d7..4558c78 100644 --- a/src/api/system/role/types.ts +++ b/src/api/system/role/types.ts @@ -2,51 +2,51 @@ * 鑿滃崟鏍戝舰缁撴瀯绫诲瀷 */ export interface DeptTreeOption { - id: string; - label: string; - parentId: string; - weight: number; - children?: DeptTreeOption[]; + id: string; + label: string; + parentId: string; + weight: number; + children?: DeptTreeOption[]; } export interface RoleDeptTree { - checkedKeys: string[]; - depts: DeptTreeOption[]; + checkedKeys: string[]; + depts: DeptTreeOption[]; } export interface RoleVO extends BaseEntity { - roleId: string | number; - roleName: string; - roleKey: string; - roleSort: number; - dataScope: string; - menuCheckStrictly: boolean; - deptCheckStrictly: boolean; - status: string; - delFlag: string; - remark?: any; - flag: boolean; - menuIds?: Array<string | number>; - deptIds?: Array<string | number>; - admin: boolean; + roleId: string | number; + roleName: string; + roleKey: string; + roleSort: number; + dataScope: string; + menuCheckStrictly: boolean; + deptCheckStrictly: boolean; + status: string; + delFlag: string; + remark?: any; + flag: boolean; + menuIds?: Array<string | number>; + deptIds?: Array<string | number>; + admin: boolean; } export interface RoleQuery extends PageQuery { - roleName: string; - roleKey: string; - status: string; + roleName: string; + roleKey: string; + status: string; } export interface RoleForm { - roleName: string; - roleKey: string; - roleSort: number; - status: string; - menuCheckStrictly: boolean; - deptCheckStrictly: boolean; - remark: string; - dataScope?: number; - roleId: string | undefined; - menuIds: Array<string | number>; - deptIds: Array<string | number>; + roleName: string; + roleKey: string; + roleSort: number; + status: string; + menuCheckStrictly: boolean; + deptCheckStrictly: boolean; + remark: string; + dataScope?: number; + roleId: string | undefined; + menuIds: Array<string | number>; + deptIds: Array<string | number>; } -- Gitblit v1.9.3