mirror of
https://github.com/steedos/steedos-platform
synced 2024-11-22 00:01:52 +00:00
#2733 批准过程中缺少当前对象的过滤条件,保存后显示无此记录
This commit is contained in:
parent
4ce85d8b67
commit
89ce4a3a8f
@ -154,6 +154,7 @@ fields:
|
||||
multiple: true
|
||||
label: Field Update
|
||||
reference_to: action_field_updates
|
||||
reference_to_field: name
|
||||
depend_on:
|
||||
- object_name
|
||||
filtersFunction: !!js/function |
|
||||
@ -162,23 +163,6 @@ fields:
|
||||
return "object_name eq '" + dependValues.object_name + "'";
|
||||
}
|
||||
}
|
||||
optionsFunction: !!js/function |
|
||||
function () {
|
||||
|
||||
let selects = ["name", "label"]
|
||||
let options = {
|
||||
$select: selects.toString()
|
||||
};
|
||||
let records = Creator.odata.query('action_field_updates', options, true);
|
||||
let result = [];
|
||||
records.forEach(function (item) {
|
||||
result.push({
|
||||
label: item.label,
|
||||
value: item.name
|
||||
});
|
||||
});
|
||||
return result;
|
||||
}
|
||||
group: Final Approval Actions
|
||||
final_approval_workflow_notifications_actions:
|
||||
type: lookup
|
||||
@ -228,6 +212,7 @@ fields:
|
||||
multiple: true
|
||||
label: Field Update
|
||||
reference_to: action_field_updates
|
||||
reference_to_field: name
|
||||
depend_on:
|
||||
- object_name
|
||||
filtersFunction: !!js/function |
|
||||
@ -236,23 +221,6 @@ fields:
|
||||
return "object_name eq '" + dependValues.object_name + "'";
|
||||
}
|
||||
}
|
||||
optionsFunction: !!js/function |
|
||||
function () {
|
||||
|
||||
let selects = ["name", "label"]
|
||||
let options = {
|
||||
$select: selects.toString()
|
||||
};
|
||||
let records = Creator.odata.query('action_field_updates', options, true);
|
||||
let result = [];
|
||||
records.forEach(function (item) {
|
||||
result.push({
|
||||
label: item.label,
|
||||
value: item.name
|
||||
});
|
||||
});
|
||||
return result;
|
||||
}
|
||||
group: Final Rejection Actions
|
||||
final_rejection_workflow_notifications_actions:
|
||||
type: lookup
|
||||
@ -303,6 +271,7 @@ fields:
|
||||
multiple: true
|
||||
label: Field Update
|
||||
reference_to: action_field_updates
|
||||
reference_to_field: name
|
||||
depend_on:
|
||||
- object_name
|
||||
filtersFunction: !!js/function |
|
||||
@ -311,23 +280,6 @@ fields:
|
||||
return "object_name eq '" + dependValues.object_name + "'";
|
||||
}
|
||||
}
|
||||
optionsFunction: !!js/function |
|
||||
function () {
|
||||
|
||||
let selects = ["name", "label"]
|
||||
let options = {
|
||||
$select: selects.toString()
|
||||
};
|
||||
let records = Creator.odata.query('action_field_updates', options, true);
|
||||
let result = [];
|
||||
records.forEach(function (item) {
|
||||
result.push({
|
||||
label: item.label,
|
||||
value: item.name
|
||||
});
|
||||
});
|
||||
return result;
|
||||
}
|
||||
group: Recall Actions
|
||||
recall_workflow_notifications_actions:
|
||||
type: lookup
|
||||
|
Loading…
Reference in New Issue
Block a user