free-be-account 0.0.29 → 0.0.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/routers/mgmt/route.js +19 -7
package/package.json
CHANGED
package/routers/mgmt/route.js
CHANGED
|
@@ -4,26 +4,34 @@ const router = express.Router();
|
|
|
4
4
|
const { AccountAuditStatus } = require('../../enum');
|
|
5
5
|
const { clearPermission, encryptPwd, crypto } = require('../../utils');
|
|
6
6
|
|
|
7
|
+
// 2024-7-4,曾经添加id过滤器,并删除所有label and placeholder,但为什么?
|
|
7
8
|
const accountFilters = [
|
|
8
|
-
{
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
9
|
+
// {
|
|
10
|
+
// Name: 'id',
|
|
11
|
+
// Type: 'String',
|
|
12
|
+
// Info: {
|
|
13
|
+
// Separate: true,
|
|
14
|
+
// },
|
|
15
|
+
// Label: '账号ID',
|
|
16
|
+
// },
|
|
15
17
|
{
|
|
16
18
|
Name: 'LastUpdateDate',
|
|
17
19
|
Type: 'DateRange',
|
|
20
|
+
Label: '更新日期',
|
|
21
|
+
Placeholder: '请选择',
|
|
18
22
|
},
|
|
19
23
|
{
|
|
20
24
|
Name: 'Enabled',
|
|
21
25
|
Type: 'Select',
|
|
26
|
+
Label: '激活状态',
|
|
27
|
+
Placeholder: '请选择',
|
|
22
28
|
Options: [
|
|
23
29
|
{
|
|
30
|
+
Label: '已激活',
|
|
24
31
|
Value: true,
|
|
25
32
|
},
|
|
26
33
|
{
|
|
34
|
+
Label: '未激活',
|
|
27
35
|
Value: false,
|
|
28
36
|
},
|
|
29
37
|
],
|
|
@@ -31,18 +39,22 @@ const accountFilters = [
|
|
|
31
39
|
{
|
|
32
40
|
Name: 'Profile.Name',
|
|
33
41
|
Type: 'String',
|
|
42
|
+
Label: '姓名',
|
|
34
43
|
},
|
|
35
44
|
{
|
|
36
45
|
Name: 'Profile.Title',
|
|
37
46
|
Type: 'String',
|
|
47
|
+
Label: '职务',
|
|
38
48
|
},
|
|
39
49
|
{
|
|
40
50
|
Name: 'PhoneNumber',
|
|
41
51
|
Type: 'String',
|
|
52
|
+
Label: '手机号',
|
|
42
53
|
},
|
|
43
54
|
{
|
|
44
55
|
Name: 'UserName',
|
|
45
56
|
Type: 'String',
|
|
57
|
+
Label: '用户名',
|
|
46
58
|
},
|
|
47
59
|
];
|
|
48
60
|
|