@steedos/standard-process-approval 2.5.0-beta.21 → 2.5.0-beta.23
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/process_instance_history/buttons/approve.button.yml +8 -2
- package/main/default/objects/process_instance_history/buttons/reassign.button.yml +10 -4
- package/main/default/objects/process_instance_history/buttons/recall.button.yml +10 -4
- package/main/default/objects/process_instance_history/buttons/reject.button.yml +10 -4
- package/main/default/objects/workflow-actions/workflow_notifications.object.yml +1 -1
- package/package.json +3 -3
|
@@ -59,8 +59,14 @@ amis_schema: |-
|
|
|
59
59
|
"weight": 0,
|
|
60
60
|
"actions": [
|
|
61
61
|
{
|
|
62
|
-
"actionType": "
|
|
63
|
-
"
|
|
62
|
+
"actionType": "broadcast",
|
|
63
|
+
"args": {
|
|
64
|
+
"eventName": "@data.changed.process_instance_history"
|
|
65
|
+
},
|
|
66
|
+
"data": {
|
|
67
|
+
"objectName": "process_instance_history",
|
|
68
|
+
"displayAs": "${displayAs}"
|
|
69
|
+
}
|
|
64
70
|
}
|
|
65
71
|
]
|
|
66
72
|
}
|
|
@@ -57,10 +57,16 @@ amis_schema: |-
|
|
|
57
57
|
"submitSucc": {
|
|
58
58
|
"weight": 0,
|
|
59
59
|
"actions": [
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
60
|
+
{
|
|
61
|
+
"actionType": "broadcast",
|
|
62
|
+
"args": {
|
|
63
|
+
"eventName": "@data.changed.process_instance_history"
|
|
64
|
+
},
|
|
65
|
+
"data": {
|
|
66
|
+
"objectName": "process_instance_history",
|
|
67
|
+
"displayAs": "${displayAs}"
|
|
68
|
+
}
|
|
69
|
+
}
|
|
64
70
|
]
|
|
65
71
|
}
|
|
66
72
|
}
|
|
@@ -50,10 +50,16 @@ amis_schema: |-
|
|
|
50
50
|
"submitSucc": {
|
|
51
51
|
"weight": 0,
|
|
52
52
|
"actions": [
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
53
|
+
{
|
|
54
|
+
"actionType": "broadcast",
|
|
55
|
+
"args": {
|
|
56
|
+
"eventName": "@data.changed.process_instance_history"
|
|
57
|
+
},
|
|
58
|
+
"data": {
|
|
59
|
+
"objectName": "process_instance_history",
|
|
60
|
+
"displayAs": "${displayAs}"
|
|
61
|
+
}
|
|
62
|
+
}
|
|
57
63
|
]
|
|
58
64
|
}
|
|
59
65
|
}
|
|
@@ -50,10 +50,16 @@ amis_schema: |-
|
|
|
50
50
|
"submitSucc": {
|
|
51
51
|
"weight": 0,
|
|
52
52
|
"actions": [
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
53
|
+
{
|
|
54
|
+
"actionType": "broadcast",
|
|
55
|
+
"args": {
|
|
56
|
+
"eventName": "@data.changed.process_instance_history"
|
|
57
|
+
},
|
|
58
|
+
"data": {
|
|
59
|
+
"objectName": "process_instance_history",
|
|
60
|
+
"displayAs": "${displayAs}"
|
|
61
|
+
}
|
|
62
|
+
}
|
|
57
63
|
]
|
|
58
64
|
}
|
|
59
65
|
}
|
|
@@ -53,7 +53,7 @@ fields:
|
|
|
53
53
|
var options = [];
|
|
54
54
|
if(object){
|
|
55
55
|
var userFields = _.filter(object.fields, function(field){
|
|
56
|
-
return (field.type === 'lookup' || field.type === 'master_detail') && field.omit != true && field.reference_to === 'users'
|
|
56
|
+
return (field.type === 'lookup' || field.type === 'master_detail') && field.omit != true && (field.reference_to === 'users' || ('space_users' === field.reference_to && 'user' === field.reference_to_field))
|
|
57
57
|
});
|
|
58
58
|
_.each(userFields, function(field){
|
|
59
59
|
options.push({label:field.label, value:field.name});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos/standard-process-approval",
|
|
3
|
-
"version": "2.5.0-beta.
|
|
3
|
+
"version": "2.5.0-beta.23",
|
|
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.0-beta.
|
|
13
|
+
"@steedos/process": "2.5.0-beta.23"
|
|
14
14
|
},
|
|
15
15
|
"description": "steedos package",
|
|
16
16
|
"repository": {},
|
|
17
17
|
"license": "MIT",
|
|
18
|
-
"gitHead": "
|
|
18
|
+
"gitHead": "49ef7bdf5fca9be70922ebb2275ed0c20bca4ec6"
|
|
19
19
|
}
|