@steedos/standard-process-approval 2.5.20-beta.2 → 2.5.20-beta.20
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/objectTranslations/process_definition.zh-CN/process_definition.zh-CN.objectTranslation.yml +4 -4
- package/main/default/objectTranslations/process_node.zh-CN/process_node.zh-CN.objectTranslation.yml +2 -2
- package/main/default/objectTranslations/workflow_notifications.zh-CN/workflow_notifications.zh-CN.objectTranslation.yml +1 -1
- package/main/default/objectTranslations/workflow_rule.zh-CN/workflow_rule.zh-CN.objectTranslation.yml +2 -2
- package/main/default/objects/workflow-actions/workflow_rule.object.yml +10 -21
- package/package.json +3 -3
|
@@ -55,7 +55,7 @@ fields:
|
|
|
55
55
|
help:
|
|
56
56
|
description:
|
|
57
57
|
initial_submission_workflow_notifications_actions:
|
|
58
|
-
label:
|
|
58
|
+
label: 消息提醒
|
|
59
59
|
help:
|
|
60
60
|
description:
|
|
61
61
|
final_approval_record_lock:
|
|
@@ -72,7 +72,7 @@ fields:
|
|
|
72
72
|
help:
|
|
73
73
|
description:
|
|
74
74
|
final_approval_workflow_notifications_actions:
|
|
75
|
-
label:
|
|
75
|
+
label: 消息提醒
|
|
76
76
|
help:
|
|
77
77
|
description:
|
|
78
78
|
final_rejection_record_lock:
|
|
@@ -89,7 +89,7 @@ fields:
|
|
|
89
89
|
help:
|
|
90
90
|
description:
|
|
91
91
|
final_rejection_workflow_notifications_actions:
|
|
92
|
-
label:
|
|
92
|
+
label: 消息提醒
|
|
93
93
|
help:
|
|
94
94
|
description:
|
|
95
95
|
recall_record_lock:
|
|
@@ -106,7 +106,7 @@ fields:
|
|
|
106
106
|
help:
|
|
107
107
|
description:
|
|
108
108
|
recall_workflow_notifications_actions:
|
|
109
|
-
label:
|
|
109
|
+
label: 消息提醒
|
|
110
110
|
help:
|
|
111
111
|
description:
|
|
112
112
|
groups:
|
package/main/default/objectTranslations/process_node.zh-CN/process_node.zh-CN.objectTranslation.yml
CHANGED
|
@@ -89,7 +89,7 @@ fields:
|
|
|
89
89
|
help:
|
|
90
90
|
description:
|
|
91
91
|
approval_workflow_notifications_actions:
|
|
92
|
-
label:
|
|
92
|
+
label: 消息提醒
|
|
93
93
|
help:
|
|
94
94
|
description:
|
|
95
95
|
rejection_updates_field_actions:
|
|
@@ -97,7 +97,7 @@ fields:
|
|
|
97
97
|
help:
|
|
98
98
|
description:
|
|
99
99
|
rejection_workflow_notifications_actions:
|
|
100
|
-
label:
|
|
100
|
+
label: 消息提醒
|
|
101
101
|
help:
|
|
102
102
|
description:
|
|
103
103
|
groups:
|
|
@@ -26,7 +26,7 @@ fields:
|
|
|
26
26
|
value: onCreateOnly
|
|
27
27
|
- label: 新建时,和每次编辑时
|
|
28
28
|
value: onAllChanges
|
|
29
|
-
- label:
|
|
29
|
+
- label: 新建时,和编辑数据导致条件成立时
|
|
30
30
|
value: onCreateOrTriggeringUpdate
|
|
31
31
|
description:
|
|
32
32
|
formula:
|
|
@@ -38,7 +38,7 @@ fields:
|
|
|
38
38
|
help:
|
|
39
39
|
description:
|
|
40
40
|
workflow_notifications_actions:
|
|
41
|
-
label:
|
|
41
|
+
label: 消息提醒
|
|
42
42
|
help:
|
|
43
43
|
description:
|
|
44
44
|
workflow_outbound_messages_actions:
|
|
@@ -137,30 +137,19 @@ fields:
|
|
|
137
137
|
time_triggers.$.date_field:
|
|
138
138
|
label: 日期字段
|
|
139
139
|
type: lookup
|
|
140
|
+
reference_to: object_fields
|
|
141
|
+
reference_to_field: name
|
|
142
|
+
enable_enhanced_lookup: false
|
|
140
143
|
depend_on:
|
|
141
144
|
- object_name
|
|
142
|
-
|
|
143
|
-
function (values) {
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
var objectLabel = object.label;
|
|
150
|
-
var fields = object.fields;
|
|
151
|
-
for(const key in fields) {
|
|
152
|
-
if (Object.hasOwnProperty.call(fields, key)) {
|
|
153
|
-
const f = fields[key]
|
|
154
|
-
if (!f.hidden && (f.type == 'datetime' || f.type == 'date')) {
|
|
155
|
-
options.push({
|
|
156
|
-
label: objectLabel + ': ' + f.label,
|
|
157
|
-
value: f.name
|
|
158
|
-
})
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
}
|
|
145
|
+
filtersFunction: !<tag:yaml.org,2002:js/function> |-
|
|
146
|
+
function (filters, values) {
|
|
147
|
+
const objectName = values.object_name;
|
|
148
|
+
if(objectName){
|
|
149
|
+
return [['object', '=', objectName], ['type', '=', ['datetime','date']]]
|
|
150
|
+
}else{
|
|
151
|
+
return ['_id', '=', 'no']
|
|
162
152
|
}
|
|
163
|
-
return options
|
|
164
153
|
}
|
|
165
154
|
time_triggers.$.updates_field_actions:
|
|
166
155
|
type: lookup
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos/standard-process-approval",
|
|
3
|
-
"version": "2.5.20-beta.
|
|
3
|
+
"version": "2.5.20-beta.20",
|
|
4
4
|
"main": "package.service.js",
|
|
5
5
|
"private": false,
|
|
6
6
|
"publishConfig": {
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
"steedos"
|
|
11
11
|
],
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@steedos/process": "2.5.20-beta.
|
|
13
|
+
"@steedos/process": "2.5.20-beta.20"
|
|
14
14
|
},
|
|
15
15
|
"description": "steedos package",
|
|
16
16
|
"repository": {},
|
|
17
17
|
"license": "MIT",
|
|
18
|
-
"gitHead": "
|
|
18
|
+
"gitHead": "3e2075bd76af1a521e6dc1bf12c9fabb67e52f7a"
|
|
19
19
|
}
|