@steedos/standard-process-approval 2.4.0-beta.37 → 2.4.0-beta.39
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/workflow-actions/workflow_notifications.object.yml +1 -1
- package/main/default/objects/workflow-actions/workflow_outbound_messages/fields/object_fields_to_send.field.yml +6 -10
- package/main/default/objects/workflow-actions/workflow_outbound_messages/fields/object_name.field.yml +2 -4
- package/main/default/objects/workflow-actions/workflow_rule.object.yml +1 -1
- package/package.json +3 -3
|
@@ -49,7 +49,7 @@ fields:
|
|
|
49
49
|
- object_name
|
|
50
50
|
optionsFunction: !!js/function |
|
|
51
51
|
function (doc){
|
|
52
|
-
var object = Creator.
|
|
52
|
+
var object = Creator.getObject(doc.object_name);
|
|
53
53
|
var options = [];
|
|
54
54
|
if(object){
|
|
55
55
|
var userFields = _.filter(object.fields, function(field){
|
|
@@ -3,16 +3,12 @@ label: 要发送的字段
|
|
|
3
3
|
type: lookup
|
|
4
4
|
multiple: true
|
|
5
5
|
is_wide: true
|
|
6
|
+
reference_to: object_fields
|
|
7
|
+
reference_to_field: name
|
|
6
8
|
depend_on:
|
|
7
9
|
- object_name
|
|
8
|
-
|
|
9
|
-
function
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
if(values.object_name && !_.isString(values.object_name)){
|
|
14
|
-
values.object_name = values.object_name.name
|
|
15
|
-
}
|
|
16
|
-
return Creator.getObjectFieldOptions(values != null ? values.object_name : void 0);
|
|
17
|
-
}
|
|
10
|
+
filtersFunction: !<tag:yaml.org,2002:js/function> |-
|
|
11
|
+
function(filters, values){
|
|
12
|
+
return ['object', '=', values.object_name]
|
|
13
|
+
}
|
|
18
14
|
sort_no: 70
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos/standard-process-approval",
|
|
3
|
-
"version": "2.4.0-beta.
|
|
3
|
+
"version": "2.4.0-beta.39",
|
|
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.4.0-beta.
|
|
13
|
+
"@steedos/process": "2.4.0-beta.39"
|
|
14
14
|
},
|
|
15
15
|
"description": "steedos package",
|
|
16
16
|
"repository": {},
|
|
17
17
|
"license": "MIT",
|
|
18
|
-
"gitHead": "
|
|
18
|
+
"gitHead": "0925adf0cf3215fd5d068f50517be378a758c148"
|
|
19
19
|
}
|