@steedos-labs/content-compliance 0.8.16 → 0.8.18
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/dist/index.js +1 -1
- package/lib/pages/__tests__/plsReviewPage.test.js +1 -0
- package/lib/pages/__tests__/plsReviewPage.test.js.map +1 -1
- package/lib/pages/__tests__/recordHeaderStyles.test.d.ts +1 -0
- package/lib/pages/__tests__/recordHeaderStyles.test.js +38 -0
- package/lib/pages/__tests__/recordHeaderStyles.test.js.map +1 -0
- package/main/default/applications/pepsico_content_setting.app.yml +14 -7
- package/main/default/dashboards//344/270/232/345/212/241/347/234/213/346/235/277.dashboard.yml +392 -0
- package/main/default/imports/pepesio_ch.import.yml +24 -0
- package/main/default/objects/pepesio_ch__c/fields/material_type.field.yml +2 -0
- package/main/default/objects/pepesio_ch__c/fields/product.field.yml +2 -0
- package/main/default/objects/pepesio_ch__c/listviews/all.listview.yml +1 -1
- package/main/default/objects/pepesio_ch__c/listviews/recent.listview.yml +1 -1
- package/main/default/objects/pepesio_ch__c/pepesio_ch__c.object.yml +12 -9
- package/main/default/objects/pepesio_ch__c/permissions/admin.permission.yml +9 -1
- package/main/default/objects/pepesio_ch__c/permissions/user.permission.yml +6 -1
- package/main/default/pages/pepsico_material_detail.page.amis.json +4 -2
- package/main/default/pages/pepsico_material_detail_mobile.page.amis.json +2 -1
- package/main/default/questions/AI/345/256/241/346/211/271/346/265/201/347/250/213/346/225/260.question.yml +36 -0
- package/main/default/questions/Content hub/347/264/240/346/235/220/346/216/250/351/200/201-/344/272/247/345/223/201+/347/264/240/346/235/220/347/261/273/345/236/213+/346/226/207/344/273/266/347/261/273/345/236/213.question.yml" +123 -0
- package/main/default/questions/Content hub/347/264/240/346/235/220/346/216/250/351/200/201-/344/272/247/345/223/201+/347/264/240/346/235/220/347/261/273/345/236/213.question.yml" +86 -0
- package/main/default/questions/Content hub/347/264/240/346/235/220/346/216/250/351/200/201-/346/200/273/346/225/260.question.yml" +30 -0
- package/main/default/questions/Content hub/347/264/240/346/235/220/346/216/250/351/200/201-/346/226/207/344/273/266/347/261/273/345/236/213+/347/264/240/346/235/220/347/261/273/345/236/213.question.yml" +86 -0
- package/main/default/questions/Content hub/347/264/240/346/235/220/346/216/250/351/200/201-/346/226/207/344/273/266/347/261/273/345/236/213.question.yml" +67 -0
- package/main/default/questions/Content hub/347/264/240/346/235/220/346/216/250/351/200/201-/347/264/240/346/235/220/347/261/273/345/236/213.question.yml" +68 -0
- package/main/default/questions/Kid/345/256/241/346/240/270/344/270/255.question.yml +43 -0
- package/main/default/questions/PPT/347/261/273/345/236/213/347/264/240/346/235/220/344/277/241/346/201/257.question.yml +231 -0
- package/main/default/questions/legal/345/256/241/346/240/270/346/203/205/345/206/265.question.yml +153 -0
- package/main/default/questions//344/270/255/346/255/242/346/265/201/347/250/213.question.yml +36 -0
- package/main/default/questions//345/233/233/351/203/250/351/227/250/345/256/241/346/240/270.question.yml +36 -0
- package/main/default/questions//345/233/233/351/203/250/351/227/250/345/271/263/345/235/207/345/256/241/346/240/270/346/227/266/351/225/277.question.yml +39 -0
- package/main/default/questions//345/233/272/345/256/232/344/272/272/345/221/230/345/256/241/346/240/270.question.yml +36 -0
- package/main/default/questions//345/233/272/345/256/232/345/256/241/346/240/270/344/272/272/345/221/230/345/271/263/345/235/207/345/256/241/346/240/270/346/227/266/351/225/277.question.yml +39 -0
- package/main/default/questions//345/256/241/346/211/271/344/270/255.question.yml +38 -0
- package/main/default/questions//345/256/241/346/211/271/345/215/225/351/251/263/345/233/236/346/254/241/346/225/260.question.yml +37 -0
- package/main/default/questions//345/256/241/346/211/271/347/273/223/346/235/237.question.yml +36 -0
- package/main/default/questions//345/271/263/345/235/207/345/256/241/346/240/270/346/227/266/351/225/277.question.yml +33 -0
- package/main/default/questions//345/275/223/346/227/245/347/231/273/345/275/225/346/203/205/345/206/265.question.yml +38 -0
- package/main/default/questions//345/276/205/346/217/220/344/272/244.question.yml +36 -0
- package/main/default/questions//346/217/220/344/272/244/344/272/272/344/277/256/346/224/271.question.yml +36 -0
- package/main/default/questions//346/234/200/350/277/22130/345/244/251/347/231/273/345/275/225/347/224/250/346/210/267/346/225/260.question.yml +39 -0
- package/main/default/questions//346/257/217/346/227/245/345/210/233/345/273/272/345/215/225/346/215/256/347/273/237/350/256/241.question.yml +50 -0
- package/main/default/questions//346/257/217/346/227/245/345/256/241/346/211/271/345/215/225/346/217/220/344/272/244/346/225/260.question.yml +50 -0
- package/main/default/questions//350/266/20590/345/244/251/346/234/252/347/231/273/345/275/225/347/224/250/346/210/267.question.yml +42 -0
- package/main/default/tabs/analytics_dashboard_686338016bb1d50617f00177.tab.yml +8 -0
- package/main/default/tabs/object_pepesio_ch.tab.yml +8 -0
- package/main/default/tabs/object_pepsico_review_postpone.tab.yml +7 -0
- package/package.json +1 -1
- package/public/content-review/amis.css +28 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
name: 平均审核时长
|
|
2
|
+
created_at: 2025-07-02T08:30:51.858Z
|
|
3
|
+
creator_id: 6759399bfc888c060dcefbb9
|
|
4
|
+
database_id: 1
|
|
5
|
+
dataset_query:
|
|
6
|
+
query:
|
|
7
|
+
source-table: pepsico_material_approval_data
|
|
8
|
+
aggregation:
|
|
9
|
+
- - avg
|
|
10
|
+
- - field
|
|
11
|
+
- pepsico_material_approval_data.review_time
|
|
12
|
+
- null
|
|
13
|
+
type: query
|
|
14
|
+
database: 1
|
|
15
|
+
display: scalar
|
|
16
|
+
entity_id: 6864ee3b3efb3206167d62c4
|
|
17
|
+
id: 6864ee3b3efb3206167d62c4
|
|
18
|
+
parameter_mappings: []
|
|
19
|
+
parameters: []
|
|
20
|
+
query_type: query
|
|
21
|
+
result_metadata:
|
|
22
|
+
- base_type: type/Integer
|
|
23
|
+
display_name: 审核时长(小时)平均值
|
|
24
|
+
effective_type: type/Integer
|
|
25
|
+
field_ref:
|
|
26
|
+
- aggregation
|
|
27
|
+
- 0
|
|
28
|
+
name: avg
|
|
29
|
+
semantic_type: null
|
|
30
|
+
source: aggregation
|
|
31
|
+
table_id: pepsico_material_approval_data
|
|
32
|
+
updated_at: 2025-07-02T08:30:51.858Z
|
|
33
|
+
visualization_settings: '{}'
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
name: 当日登录情况
|
|
2
|
+
created_at: 2025-09-16T09:36:10.740Z
|
|
3
|
+
creator_id: 6759399bfc888c060dcefbb9
|
|
4
|
+
database_id: 1
|
|
5
|
+
dataset_query:
|
|
6
|
+
query:
|
|
7
|
+
source-table: space_users
|
|
8
|
+
aggregation:
|
|
9
|
+
- - count
|
|
10
|
+
filter:
|
|
11
|
+
- time-interval
|
|
12
|
+
- - field
|
|
13
|
+
- space_users.last_logon
|
|
14
|
+
- null
|
|
15
|
+
- current
|
|
16
|
+
- day
|
|
17
|
+
- include_current: true
|
|
18
|
+
type: query
|
|
19
|
+
database: 1
|
|
20
|
+
display: scalar
|
|
21
|
+
entity_id: 68c92f8ac464a6060d918164
|
|
22
|
+
id: 68c92f8ac464a6060d918164
|
|
23
|
+
parameter_mappings: []
|
|
24
|
+
parameters: []
|
|
25
|
+
query_type: query
|
|
26
|
+
result_metadata:
|
|
27
|
+
- base_type: type/BigInteger
|
|
28
|
+
display_name: 计数
|
|
29
|
+
effective_type: type/BigInteger
|
|
30
|
+
field_ref:
|
|
31
|
+
- aggregation
|
|
32
|
+
- 0
|
|
33
|
+
name: count
|
|
34
|
+
semantic_type: type/Quantity
|
|
35
|
+
source: aggregation
|
|
36
|
+
table_id: space_users
|
|
37
|
+
updated_at: 2025-09-16T09:36:10.740Z
|
|
38
|
+
visualization_settings: '{}'
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
name: 待提交
|
|
2
|
+
created_at: 2025-07-01T01:35:55.274Z
|
|
3
|
+
creator_id: 6759399bfc888c060dcefbb9
|
|
4
|
+
database_id: 1
|
|
5
|
+
dataset_query:
|
|
6
|
+
database: 1
|
|
7
|
+
type: query
|
|
8
|
+
query:
|
|
9
|
+
source-table: pepsico_material_approval
|
|
10
|
+
filter:
|
|
11
|
+
- '='
|
|
12
|
+
- - field
|
|
13
|
+
- pepsico_material_approval.current_step
|
|
14
|
+
- null
|
|
15
|
+
- draft
|
|
16
|
+
aggregation:
|
|
17
|
+
- - count
|
|
18
|
+
display: scalar
|
|
19
|
+
entity_id: 68633b7b53ac110617d20922
|
|
20
|
+
id: 68633b7b53ac110617d20922
|
|
21
|
+
parameter_mappings: []
|
|
22
|
+
parameters: []
|
|
23
|
+
query_type: query
|
|
24
|
+
result_metadata:
|
|
25
|
+
- base_type: type/BigInteger
|
|
26
|
+
display_name: 计数
|
|
27
|
+
effective_type: type/BigInteger
|
|
28
|
+
field_ref:
|
|
29
|
+
- aggregation
|
|
30
|
+
- 0
|
|
31
|
+
name: count
|
|
32
|
+
semantic_type: type/Quantity
|
|
33
|
+
source: aggregation
|
|
34
|
+
table_id: pepsico_material_approval
|
|
35
|
+
updated_at: 2025-07-01T01:35:55.274Z
|
|
36
|
+
visualization_settings: '{}'
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
name: 提交人修改
|
|
2
|
+
created_at: 2025-07-01T01:32:24.624Z
|
|
3
|
+
creator_id: 6759399bfc888c060dcefbb9
|
|
4
|
+
database_id: 1
|
|
5
|
+
dataset_query:
|
|
6
|
+
database: 1
|
|
7
|
+
type: query
|
|
8
|
+
query:
|
|
9
|
+
source-table: pepsico_material_approval
|
|
10
|
+
filter:
|
|
11
|
+
- '='
|
|
12
|
+
- - field
|
|
13
|
+
- pepsico_material_approval.current_step
|
|
14
|
+
- null
|
|
15
|
+
- submitter_revisions
|
|
16
|
+
aggregation:
|
|
17
|
+
- - count
|
|
18
|
+
display: scalar
|
|
19
|
+
entity_id: 68633aa8cb43620612a14a73
|
|
20
|
+
id: 68633aa8cb43620612a14a73
|
|
21
|
+
parameter_mappings: []
|
|
22
|
+
parameters: []
|
|
23
|
+
query_type: query
|
|
24
|
+
result_metadata:
|
|
25
|
+
- base_type: type/BigInteger
|
|
26
|
+
display_name: 计数
|
|
27
|
+
effective_type: type/BigInteger
|
|
28
|
+
field_ref:
|
|
29
|
+
- aggregation
|
|
30
|
+
- 0
|
|
31
|
+
name: count
|
|
32
|
+
semantic_type: type/Quantity
|
|
33
|
+
source: aggregation
|
|
34
|
+
table_id: pepsico_material_approval
|
|
35
|
+
updated_at: 2025-07-01T01:32:24.624Z
|
|
36
|
+
visualization_settings: '{}'
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
name: 最近30天登录用户数
|
|
2
|
+
created_at: 2025-09-16T09:37:59.481Z
|
|
3
|
+
creator_id: 6759399bfc888c060dcefbb9
|
|
4
|
+
database_id: 1
|
|
5
|
+
dataset_query:
|
|
6
|
+
query:
|
|
7
|
+
source-table: space_users
|
|
8
|
+
aggregation:
|
|
9
|
+
- - count
|
|
10
|
+
filter:
|
|
11
|
+
- time-interval
|
|
12
|
+
- - field
|
|
13
|
+
- space_users.last_logon
|
|
14
|
+
- null
|
|
15
|
+
- -30
|
|
16
|
+
- day
|
|
17
|
+
- include_current: false
|
|
18
|
+
type: query
|
|
19
|
+
database: 1
|
|
20
|
+
display: scalar
|
|
21
|
+
enable_embedding: false
|
|
22
|
+
entity_id: 68c92ff7008f5a060d9a30ee
|
|
23
|
+
id: 68c92ff7008f5a060d9a30ee
|
|
24
|
+
parameter_mappings: []
|
|
25
|
+
parameters: []
|
|
26
|
+
query_type: query
|
|
27
|
+
result_metadata:
|
|
28
|
+
- base_type: type/BigInteger
|
|
29
|
+
display_name: 计数
|
|
30
|
+
effective_type: type/BigInteger
|
|
31
|
+
field_ref:
|
|
32
|
+
- aggregation
|
|
33
|
+
- 0
|
|
34
|
+
name: count
|
|
35
|
+
semantic_type: type/Quantity
|
|
36
|
+
source: aggregation
|
|
37
|
+
table_id: space_users
|
|
38
|
+
updated_at: 2025-09-16T09:37:59.481Z
|
|
39
|
+
visualization_settings: '{}'
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
name: 每日创建单据统计
|
|
2
|
+
created_at: 2025-07-01T01:20:57.178Z
|
|
3
|
+
creator_id: 6759399bfc888c060dcefbb9
|
|
4
|
+
database_id: 1
|
|
5
|
+
dataset_query:
|
|
6
|
+
query:
|
|
7
|
+
source-table: pepsico_material_approval
|
|
8
|
+
aggregation:
|
|
9
|
+
- - count
|
|
10
|
+
breakout:
|
|
11
|
+
- - field
|
|
12
|
+
- pepsico_material_approval.created
|
|
13
|
+
- temporal-unit: month
|
|
14
|
+
type: query
|
|
15
|
+
database: 1
|
|
16
|
+
display: bar
|
|
17
|
+
enable_embedding: false
|
|
18
|
+
entity_id: 686337f96bb1d50617f00176
|
|
19
|
+
id: 686337f96bb1d50617f00176
|
|
20
|
+
parameter_mappings: []
|
|
21
|
+
parameters: []
|
|
22
|
+
query_type: query
|
|
23
|
+
result_metadata:
|
|
24
|
+
- id: created
|
|
25
|
+
name: created
|
|
26
|
+
unit: month
|
|
27
|
+
display_name: 创建时间
|
|
28
|
+
base_type: type/Instant
|
|
29
|
+
effective_type: type/Instant
|
|
30
|
+
semantic_type: null
|
|
31
|
+
source: breakout
|
|
32
|
+
visibility_type: normal
|
|
33
|
+
table_id: pepsico_material_approval
|
|
34
|
+
field_ref:
|
|
35
|
+
- field
|
|
36
|
+
- pepsico_material_approval.created
|
|
37
|
+
- temporal-unit: month
|
|
38
|
+
- base_type: type/BigInteger
|
|
39
|
+
display_name: 计数
|
|
40
|
+
effective_type: type/BigInteger
|
|
41
|
+
field_ref:
|
|
42
|
+
- aggregation
|
|
43
|
+
- 0
|
|
44
|
+
name: count
|
|
45
|
+
semantic_type: type/Quantity
|
|
46
|
+
source: aggregation
|
|
47
|
+
table_id: pepsico_material_approval
|
|
48
|
+
updated_at: 2025-07-01T01:20:57.178Z
|
|
49
|
+
visualization_settings: >-
|
|
50
|
+
{"graph.x_axis.labels_enabled":false,"graph.y_axis.labels_enabled":false,"graph.dimensions":["created"],"graph.metrics":["count"]}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
name: 每日审批单提交数
|
|
2
|
+
created_at: 2025-07-01T01:23:48.570Z
|
|
3
|
+
creator_id: 6759399bfc888c060dcefbb9
|
|
4
|
+
database_id: 1
|
|
5
|
+
dataset_query:
|
|
6
|
+
query:
|
|
7
|
+
source-table: pepsico_material_approval
|
|
8
|
+
aggregation:
|
|
9
|
+
- - count
|
|
10
|
+
breakout:
|
|
11
|
+
- - field
|
|
12
|
+
- pepsico_material_approval.draft_submitted
|
|
13
|
+
- temporal-unit: month
|
|
14
|
+
type: query
|
|
15
|
+
database: 1
|
|
16
|
+
display: line
|
|
17
|
+
enable_embedding: false
|
|
18
|
+
entity_id: 686338a453ac110617d2091a
|
|
19
|
+
id: 686338a453ac110617d2091a
|
|
20
|
+
parameter_mappings: []
|
|
21
|
+
parameters: []
|
|
22
|
+
query_type: query
|
|
23
|
+
result_metadata:
|
|
24
|
+
- id: draft_submitted
|
|
25
|
+
name: draft_submitted
|
|
26
|
+
unit: month
|
|
27
|
+
display_name: 提交时间
|
|
28
|
+
base_type: type/Instant
|
|
29
|
+
effective_type: type/Instant
|
|
30
|
+
semantic_type: null
|
|
31
|
+
source: breakout
|
|
32
|
+
visibility_type: normal
|
|
33
|
+
table_id: pepsico_material_approval
|
|
34
|
+
field_ref:
|
|
35
|
+
- field
|
|
36
|
+
- pepsico_material_approval.draft_submitted
|
|
37
|
+
- temporal-unit: month
|
|
38
|
+
- base_type: type/BigInteger
|
|
39
|
+
display_name: 计数
|
|
40
|
+
effective_type: type/BigInteger
|
|
41
|
+
field_ref:
|
|
42
|
+
- aggregation
|
|
43
|
+
- 0
|
|
44
|
+
name: count
|
|
45
|
+
semantic_type: type/Quantity
|
|
46
|
+
source: aggregation
|
|
47
|
+
table_id: pepsico_material_approval
|
|
48
|
+
updated_at: 2025-07-01T01:23:48.570Z
|
|
49
|
+
visualization_settings: >-
|
|
50
|
+
{"graph.x_axis.labels_enabled":false,"graph.x_axis.scale":"timeseries","graph.y_axis.labels_enabled":false,"graph.y_axis.auto_range":true,"graph.y_axis.axis_enabled":true,"graph.dimensions":["draft_submitted"],"graph.metrics":["count"]}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
name: 超90天未登录用户
|
|
2
|
+
created_at: 2025-09-16T09:39:11.195Z
|
|
3
|
+
creator_id: 6759399bfc888c060dcefbb9
|
|
4
|
+
database_id: 1
|
|
5
|
+
dataset_query:
|
|
6
|
+
query:
|
|
7
|
+
source-table: space_users
|
|
8
|
+
aggregation:
|
|
9
|
+
- - count
|
|
10
|
+
filter:
|
|
11
|
+
- and
|
|
12
|
+
- - '='
|
|
13
|
+
- - field
|
|
14
|
+
- space_users.login_expired
|
|
15
|
+
- null
|
|
16
|
+
- true
|
|
17
|
+
- - '='
|
|
18
|
+
- - field
|
|
19
|
+
- space_users.user_accepted
|
|
20
|
+
- null
|
|
21
|
+
- true
|
|
22
|
+
type: query
|
|
23
|
+
database: 1
|
|
24
|
+
display: scalar
|
|
25
|
+
entity_id: 68c9303f008f5a060d9a30ef
|
|
26
|
+
id: 68c9303f008f5a060d9a30ef
|
|
27
|
+
parameter_mappings: []
|
|
28
|
+
parameters: []
|
|
29
|
+
query_type: query
|
|
30
|
+
result_metadata:
|
|
31
|
+
- base_type: type/BigInteger
|
|
32
|
+
display_name: 计数
|
|
33
|
+
effective_type: type/BigInteger
|
|
34
|
+
field_ref:
|
|
35
|
+
- aggregation
|
|
36
|
+
- 0
|
|
37
|
+
name: count
|
|
38
|
+
semantic_type: type/Quantity
|
|
39
|
+
source: aggregation
|
|
40
|
+
table_id: space_users
|
|
41
|
+
updated_at: 2025-09-16T09:39:11.195Z
|
|
42
|
+
visualization_settings: '{}'
|
package/package.json
CHANGED
|
@@ -373,6 +373,34 @@
|
|
|
373
373
|
}
|
|
374
374
|
}
|
|
375
375
|
|
|
376
|
+
/* 素材文件名可能是一长串没有空格的字符(微信导出的文件名等)。标题列是 flex 项,
|
|
377
|
+
min-width 默认为 auto,不换行的长标题会把它撑到内容宽度,右侧操作按钮被挤出页面、
|
|
378
|
+
出现横向滚动条。放开标题列的最小宽度让它可以收缩,标题强制断行、最多两行后省略,
|
|
379
|
+
按钮列不参与收缩。移动端标题另有 max-width + 横向滚动的处理,这里只管桌面端。 */
|
|
380
|
+
@media (min-width: 769px) {
|
|
381
|
+
.steedos-object-record-detail-header .antd-Grid.flex-nowrap > .antd-Grid-col--mdAuto,
|
|
382
|
+
.steedos-object-record-detail-header .antd-Grid-col--md {
|
|
383
|
+
min-width: 0;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
.steedos-object-record-detail-header .antd-Grid.flex-nowrap > .antd-Grid-col--mdAuto {
|
|
387
|
+
flex-shrink: 1;
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
.steedos-object-record-detail-header .antd-Grid.flex-nowrap > .antd-Grid-col--mdAuto:last-child {
|
|
391
|
+
flex-shrink: 0;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
.steedos-object-record-detail-header .record-detail-header-name {
|
|
395
|
+
display: -webkit-box;
|
|
396
|
+
-webkit-box-orient: vertical;
|
|
397
|
+
-webkit-line-clamp: 2;
|
|
398
|
+
overflow: hidden;
|
|
399
|
+
text-overflow: ellipsis;
|
|
400
|
+
word-break: break-all;
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
|
|
376
404
|
|
|
377
405
|
.steedos-record-related-list .pepsico_ai_review-card .antd-Cards .antd-Cards-body{
|
|
378
406
|
min-width: 310px;
|