ny
昨天 282fbc6488f4e8ceb5fda759f963ee88fbf7b999
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
interface BasicOption {
  label: string;
  value: string;
}
 
type SelectOption = BasicOption;
 
type TabOption = BasicOption;
 
interface PermissionChildItem {
  enCode: string;
  fullName: string;
  id: string;
}
 
interface PermissionInfo {
  button: PermissionChildItem[];
  column: PermissionChildItem[];
  form: PermissionChildItem[];
  modelId: string;
  moduleName: string;
  resource: PermissionChildItem[];
}
 
interface SysConfigInfo {
  appIcon: Nullable<string>;
  companyName: Nullable<string>;
  copyright: Nullable<string>;
  defaultView: Nullable<string>;
  delegateAck: number;
  delegateScope: number;
  duration: number;
  firstDay: number;
  flowSign: number;
  flowTodo: number;
  jnpfDomain: Nullable<string>;
  loginIcon: Nullable<string>;
  logoIcon: Nullable<string>;
  navigationIcon: Nullable<string>;
  newUserDefaultPassword: Nullable<string>;
  proxyAck: number;
  proxyScope: number;
  showLunarCalendar: Nullable<boolean>;
  sysName: Nullable<string>;
  sysVersion: Nullable<string>;
  title: Nullable<string>;
  workLogoIcon: Nullable<string>;
}
 
interface UserInfo {
  birthday: Nullable<number>;
  departmentId: Nullable<string>;
  departmentName: Nullable<string>;
  email: Nullable<string>;
  groupIds: string[];
  headIcon: Nullable<string>;
  isAdministrator: boolean;
  manager: Nullable<string>;
  mobilePhone: Nullable<string>;
  organizeId: Nullable<string>;
  organizeIds: Nullable<string[]>;
  organizeList: Nullable<any[]>;
  organizeName: Nullable<string>;
  portalId: Nullable<string>;
  positionId: Nullable<string>;
  positionIds: string[];
  positionList: any[];
  positionName: string;
  preferenceJson: string;
  prevLogin: number;
  prevLoginIPAddress: Nullable<string>;
  prevLoginIPAddressName: Nullable<string>;
  prevLoginTime: Nullable<number>;
  roleIds: string[];
  roleName: Nullable<string>;
  securityKey: string;
  signId: string;
  signImg: string;
  standingList: any[];
  systemCode: string;
  systemColor: string;
  systemIcon: string;
  systemId: string;
  systemName: string;
  userAccount: string;
  userId: string;
  userName: Nullable<string>;
}
 
interface GetUserInfoModel {
  menuList: BackMenu[];
  permissionList: PermissionInfo[];
  routerList: BackMenu[];
  sysConfigInfo: SysConfigInfo;
  userInfo: UserInfo;
}
type ClassType = Array<object | string> | object | string;
 
type BasicUserInfo = UserInfo;
 
export type {
  BasicOption,
  BasicUserInfo,
  ClassType,
  GetUserInfoModel,
  PermissionInfo,
  SelectOption,
  SysConfigInfo,
  TabOption,
  UserInfo,
};