feat(training): 完成员工培训闭环与管理配置
This commit is contained in:
1 parent
91758ef2b4
commit
95f3906779
37 files changed
+1766
-249
No files matched your search
@@ -1,4 +1,4 @@
|
||||
/**
|
||||
/**
|
||||
* shared/utils/auth.ts
|
||||
* 认证 token / 用户读写、logout、跨标签同步。
|
||||
*/
|
||||
@@ -8,6 +8,10 @@ export interface AuthUser {
|
||||
real_name?: string;
|
||||
employee_id?: string;
|
||||
role?: string;
|
||||
feature_permissions?: {
|
||||
training_hr_manage?: boolean;
|
||||
[key: string]: boolean | undefined;
|
||||
};
|
||||
token?: string;
|
||||
access_token?: string;
|
||||
refresh_token?: string;
|
||||
|
||||
Reference in new issue
Block a user