From fdfb556c8e1eb40c61e8867297109b7afea5de71 Mon Sep 17 00:00:00 2001
From: 疯狂的狮子Li <15040126243@163.com>
Date: 星期二, 05 十一月 2024 14:29:24 +0800
Subject: [PATCH] update 优化 getTenantList 接口动态决定是否传token
---
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..7dbb6ff 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?: string;
+ roleId: string | undefined;
+ menuIds: Array<string | number>;
+ deptIds: Array<string | number>;
}
--
Gitblit v1.9.3