@steedos-labs/content-compliance 0.0.25 → 0.0.27
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/main/default/objects/pepsico_material_approval/fields/approval_materials_quantity.field.yml +1 -0
- package/main/default/objects/pepsico_material_approval/fields/approval_status.field.yml +2 -2
- package/main/default/objects/pepsico_material_approval/fields/approval_type.field.yml +7 -3
- package/main/default/objects/pepsico_material_approval/fields/ca_approval_status.field.yml +2 -2
- package/main/default/objects/pepsico_material_approval/fields/ca_materials_quantity.field.yml +2 -1
- package/main/default/objects/pepsico_material_approval/fields/legal_approval_status.field.yml +2 -2
- package/main/default/objects/pepsico_material_approval/fields/legal_materials_quantity.field.yml +2 -1
- package/main/default/objects/pepsico_material_approval/fields/ns_approval_status.field.yml +2 -2
- package/main/default/objects/pepsico_material_approval/fields/ns_materials_quantity.field.yml +2 -1
- package/main/default/objects/pepsico_material_approval/fields/review_status.field.yml +1 -1
- package/main/default/objects/pepsico_material_approval/fields/sra_approval_status.field.yml +2 -2
- package/main/default/objects/pepsico_material_approval/fields/sra_materials_quantity.field.yml +2 -1
- package/main/default/pages/pepsico_material_detail.page.amis.json +0 -158
- package/package.json +1 -1
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
name: approval_type
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
amis:
|
|
3
|
+
id: 'u:e524cfef9289'
|
|
4
|
+
group: 通用
|
|
5
|
+
label: 固定/部门审核
|
|
4
6
|
options:
|
|
5
7
|
- label: 固定人员
|
|
6
8
|
value: personnel_review
|
|
7
9
|
- label: 部门并行审核
|
|
8
10
|
value: departmental_review
|
|
9
|
-
|
|
11
|
+
sort_no: 350
|
|
12
|
+
type: select
|
|
13
|
+
visible_on: '{{false}}'
|
package/main/default/objects/pepsico_material_approval/fields/ca_materials_quantity.field.yml
CHANGED
|
@@ -7,7 +7,7 @@ is_wide: false
|
|
|
7
7
|
label: CA审核通过素材数
|
|
8
8
|
precision: 18
|
|
9
9
|
scale: 0
|
|
10
|
-
sort_no:
|
|
10
|
+
sort_no: 2550
|
|
11
11
|
summary_filters:
|
|
12
12
|
- field: ca_approval_status
|
|
13
13
|
operation: '='
|
|
@@ -15,3 +15,4 @@ summary_filters:
|
|
|
15
15
|
summary_object: pepsico_material
|
|
16
16
|
summary_type: count
|
|
17
17
|
type: summary
|
|
18
|
+
visible_on: approval_type == 'departmental_review'
|
package/main/default/objects/pepsico_material_approval/fields/legal_materials_quantity.field.yml
CHANGED
|
@@ -7,7 +7,7 @@ is_wide: false
|
|
|
7
7
|
label: Legal审核通过素材数
|
|
8
8
|
precision: 18
|
|
9
9
|
scale: 0
|
|
10
|
-
sort_no:
|
|
10
|
+
sort_no: 2350
|
|
11
11
|
summary_filters:
|
|
12
12
|
- field: legal_approval_status
|
|
13
13
|
operation: '='
|
|
@@ -15,3 +15,4 @@ summary_filters:
|
|
|
15
15
|
summary_object: pepsico_material
|
|
16
16
|
summary_type: count
|
|
17
17
|
type: summary
|
|
18
|
+
visible_on: approval_type == 'departmental_review'
|
package/main/default/objects/pepsico_material_approval/fields/ns_materials_quantity.field.yml
CHANGED
|
@@ -7,7 +7,7 @@ is_wide: false
|
|
|
7
7
|
label: NS审核通过素材数
|
|
8
8
|
precision: 18
|
|
9
9
|
scale: 0
|
|
10
|
-
sort_no:
|
|
10
|
+
sort_no: 2250
|
|
11
11
|
summary_filters:
|
|
12
12
|
- field: ns_approval_status
|
|
13
13
|
operation: '='
|
|
@@ -15,3 +15,4 @@ summary_filters:
|
|
|
15
15
|
summary_object: pepsico_material
|
|
16
16
|
summary_type: count
|
|
17
17
|
type: summary
|
|
18
|
+
visible_on: approval_type == 'departmental_review'
|
package/main/default/objects/pepsico_material_approval/fields/sra_materials_quantity.field.yml
CHANGED
|
@@ -7,7 +7,7 @@ is_wide: false
|
|
|
7
7
|
label: SRA审核通过素材数
|
|
8
8
|
precision: 18
|
|
9
9
|
scale: 0
|
|
10
|
-
sort_no:
|
|
10
|
+
sort_no: 2450
|
|
11
11
|
summary_filters:
|
|
12
12
|
- field: sra_approval_status
|
|
13
13
|
operation: '='
|
|
@@ -15,3 +15,4 @@ summary_filters:
|
|
|
15
15
|
summary_object: pepsico_material
|
|
16
16
|
summary_type: count
|
|
17
17
|
type: summary
|
|
18
|
+
visible_on: approval_type == 'departmental_review'
|
|
@@ -9,164 +9,6 @@
|
|
|
9
9
|
"showBackButton": "${!_inDrawer}",
|
|
10
10
|
"id": "u:4127bbd2552f"
|
|
11
11
|
},
|
|
12
|
-
{
|
|
13
|
-
"type": "grid",
|
|
14
|
-
"columns": [
|
|
15
|
-
{
|
|
16
|
-
"body": [
|
|
17
|
-
{
|
|
18
|
-
"type": "steedos-object-form",
|
|
19
|
-
"label": "对象表单",
|
|
20
|
-
"objectApiName": "${objectName}",
|
|
21
|
-
"recordId": "${recordId}",
|
|
22
|
-
"mode": "read",
|
|
23
|
-
"enableInitApi": false,
|
|
24
|
-
"className": "",
|
|
25
|
-
"id": "u:5fd32a65487b",
|
|
26
|
-
"fields": [
|
|
27
|
-
"ns_reviewer"
|
|
28
|
-
],
|
|
29
|
-
"layout": "horizontal",
|
|
30
|
-
"fieldsExtend": "{\n \"ns_reviewer\": {\n \"is_wide\": true\n }\n}"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"type": "steedos-object-form",
|
|
34
|
-
"label": "对象表单",
|
|
35
|
-
"objectApiName": "${objectName}",
|
|
36
|
-
"recordId": "${recordId}",
|
|
37
|
-
"mode": "read",
|
|
38
|
-
"enableInitApi": false,
|
|
39
|
-
"className": "",
|
|
40
|
-
"id": "u:dbdbadd751d3",
|
|
41
|
-
"fields": [
|
|
42
|
-
"ns_approval_status"
|
|
43
|
-
],
|
|
44
|
-
"layout": "horizontal",
|
|
45
|
-
"fieldsExtend": "{\n \"ns_approval_status\": {\n \"is_wide\": true\n }\n}"
|
|
46
|
-
}
|
|
47
|
-
],
|
|
48
|
-
"id": "u:43b052372d85"
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"body": [
|
|
52
|
-
{
|
|
53
|
-
"type": "steedos-object-form",
|
|
54
|
-
"label": "对象表单",
|
|
55
|
-
"objectApiName": "${objectName}",
|
|
56
|
-
"recordId": "${recordId}",
|
|
57
|
-
"mode": "read",
|
|
58
|
-
"enableInitApi": false,
|
|
59
|
-
"className": "",
|
|
60
|
-
"id": "u:85cfa97bd96e",
|
|
61
|
-
"fields": [
|
|
62
|
-
"legal_reviewer"
|
|
63
|
-
],
|
|
64
|
-
"layout": "horizontal",
|
|
65
|
-
"fieldsExtend": "{\n \"legal_reviewer\": {\n \"is_wide\": true\n }\n}"
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
"type": "steedos-object-form",
|
|
69
|
-
"label": "对象表单",
|
|
70
|
-
"objectApiName": "${objectName}",
|
|
71
|
-
"recordId": "${recordId}",
|
|
72
|
-
"mode": "read",
|
|
73
|
-
"enableInitApi": false,
|
|
74
|
-
"className": "",
|
|
75
|
-
"id": "u:b739b54264c1",
|
|
76
|
-
"fields": [
|
|
77
|
-
"legal_approval_status"
|
|
78
|
-
],
|
|
79
|
-
"layout": "horizontal",
|
|
80
|
-
"fieldsExtend": "{\n \"legal_approval_status\": {\n \"is_wide\": true\n }\n}"
|
|
81
|
-
}
|
|
82
|
-
],
|
|
83
|
-
"id": "u:6fe0cf588ed8"
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
"body": [
|
|
87
|
-
{
|
|
88
|
-
"type": "steedos-object-form",
|
|
89
|
-
"label": "对象表单",
|
|
90
|
-
"objectApiName": "${objectName}",
|
|
91
|
-
"recordId": "${recordId}",
|
|
92
|
-
"mode": "read",
|
|
93
|
-
"enableInitApi": false,
|
|
94
|
-
"className": "",
|
|
95
|
-
"id": "u:cb0484b2e9a2",
|
|
96
|
-
"fields": [
|
|
97
|
-
"sra_reviewer"
|
|
98
|
-
],
|
|
99
|
-
"layout": "horizontal",
|
|
100
|
-
"fieldsExtend": "{\n \"sra_reviewer\": {\n \"is_wide\": true\n }\n}"
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
"type": "steedos-object-form",
|
|
104
|
-
"label": "对象表单",
|
|
105
|
-
"objectApiName": "${objectName}",
|
|
106
|
-
"recordId": "${recordId}",
|
|
107
|
-
"mode": "read",
|
|
108
|
-
"enableInitApi": false,
|
|
109
|
-
"className": "",
|
|
110
|
-
"id": "u:59d845ea4a07",
|
|
111
|
-
"fields": [
|
|
112
|
-
"sra_approval_status"
|
|
113
|
-
],
|
|
114
|
-
"layout": "horizontal",
|
|
115
|
-
"fieldsExtend": "{\n \"sra_approval_status\": {\n \"is_wide\": true\n }\n}"
|
|
116
|
-
}
|
|
117
|
-
],
|
|
118
|
-
"id": "u:4418e8925a67"
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
"body": [
|
|
122
|
-
{
|
|
123
|
-
"type": "steedos-object-form",
|
|
124
|
-
"label": "对象表单",
|
|
125
|
-
"objectApiName": "${objectName}",
|
|
126
|
-
"recordId": "${recordId}",
|
|
127
|
-
"mode": "read",
|
|
128
|
-
"enableInitApi": false,
|
|
129
|
-
"className": "",
|
|
130
|
-
"id": "u:6d4c6396137f",
|
|
131
|
-
"fields": [
|
|
132
|
-
"ca_reviewer"
|
|
133
|
-
],
|
|
134
|
-
"excludedFields": [
|
|
135
|
-
"ca_approval_status"
|
|
136
|
-
],
|
|
137
|
-
"layout": "horizontal",
|
|
138
|
-
"fieldsExtend": "{\n \"ca_reviewer\": {\n \"is_wide\": true\n }\n}"
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
"type": "steedos-object-form",
|
|
142
|
-
"label": "对象表单",
|
|
143
|
-
"objectApiName": "${objectName}",
|
|
144
|
-
"recordId": "${recordId}",
|
|
145
|
-
"mode": "read",
|
|
146
|
-
"enableInitApi": false,
|
|
147
|
-
"className": "",
|
|
148
|
-
"id": "u:7a2e4cee0366",
|
|
149
|
-
"fields": [
|
|
150
|
-
"ca_approval_status"
|
|
151
|
-
],
|
|
152
|
-
"layout": "horizontal",
|
|
153
|
-
"fieldsExtend": "{\n \"ca_approval_status\": {\n \"is_wide\": true\n }\n}"
|
|
154
|
-
}
|
|
155
|
-
],
|
|
156
|
-
"id": "u:19fc7bf975f3"
|
|
157
|
-
}
|
|
158
|
-
],
|
|
159
|
-
"id": "u:0ced89e163c3",
|
|
160
|
-
"editorState": "default",
|
|
161
|
-
"themeCss": {
|
|
162
|
-
"baseControlClassName": {
|
|
163
|
-
"padding-and-margin:default": {
|
|
164
|
-
"marginLeft": "0.5rem",
|
|
165
|
-
"marginRight": "0.5rem"
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
},
|
|
170
12
|
{
|
|
171
13
|
"type": "tabs",
|
|
172
14
|
"className": "steedos-record-tabs bg-white p-4 sm:m-2 sm:border sm:rounded",
|