办学质量监测教学评价系统
du
6 天以前 e1c9cd1cc1335ecdac8c98c210ec03d8df955585
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
export interface Dept {
  deptId: number;
  parentId: number;
  parentName?: any;
  ancestors: string;
  deptName: string;
  orderNum: number;
  leader: string;
  phone?: any;
  email: string;
  status: string;
  createTime?: any;
}
 
export interface Role {
  roleId: number;
  roleName: string;
  roleKey: string;
  roleSort: number;
  dataScope: string;
  menuCheckStrictly?: any;
  deptCheckStrictly?: any;
  status: string;
  remark: string;
  createTime?: any;
  flag: boolean;
  superAdmin: boolean;
}
 
export interface User {
  userId: number;
  tenantId: string;
  deptId: number;
  userName: string;
  nickName: string;
  userType: string;
  email: string;
  phonenumber: string;
  sex: string;
  avatar: string;
  status: string;
  loginIp: string;
  loginDate: string;
  remark: string;
  createTime: string;
  dept: Dept;
  roles: Role[];
  roleIds?: string[];
  postIds?: string[];
  roleId: number;
  deptName: string;
}
 
/**
 * @description 用户个人主页信息
 * @param user 用户信息
 * @param roleGroup 角色名称
 * @param postGroup 岗位名称
 */
export interface UserProfile {
  user: User;
  roleGroup: string;
  postGroup: string;
}
 
export interface UpdatePasswordParam {
  oldPassword: string;
  newPassword: string;
}
 
interface FileCallBack {
  name: string;
  file: Blob;
  filename: string;
}