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
| // 导入表格模版数据
| export const userColumns = [
| {
| title: "username",
| key: "username"
| },
| {
| title: "nickname",
| key: "nickname"
| },
| {
| title: "password",
| key: "password"
| },
| {
| title: "avatar",
| key: "avatar"
| },
| {
| title: "departmentId",
| key: "departmentId"
| },
| {
| title: "mobile",
| key: "mobile"
| },
| {
| title: "email",
| key: "email"
| },
| {
| title: "sex",
| key: "sex"
| },
| {
| title: "address",
| key: "address"
| },
| {
| title: "birth",
| key: "birth"
| },
| {
| title: "type",
| key: "type"
| },
| {
| title: "status",
| key: "status"
| },
| {
| title: "delFlag",
| key: "delFlag"
| },
| {
| title: "defaultRole",
| key: "defaultRole"
| }
| ]
|
| export const userData = [
| {
| username: "【记得删除该说明行】唯一用户名[不能为空]",
| nickname: "昵称/姓名[不能为空]",
| password: "密码[不能为空]",
| avatar: "头像图片链接",
| departmentId: "部门表主键id",
| email: "邮箱[不能为空]",
| mobile: "手机[不能为空]",
| sex: "性别",
| address: "地址数据省市名称 英文逗号,分隔",
| birth: "生日[yyyy-MM-dd]",
| type: "用户类型 0(普通用户) 1(管理员)",
| status: "用户状态 0(正常) -1(禁用)",
| delFlag: "删除标志 0(正常) 1(已删)",
| defaultRole: "角色 0(不分配默认角色) 1(分配默认注册用户角色)"
| },
| {
| username: "",
| nickname: "",
| password: "",
| avatar: "",
| departmentId: "",
| email: "",
| sex: "",
| address: "",
| mobile: "",
| birth: "",
| type: 0,
| status: 0,
| delFlag: 0,
| defaultRole: 1
| }
| ]
|
|