25 lines
625 B
JavaScript
25 lines
625 B
JavaScript
export default OakComponent({
|
|
entity: 'system',
|
|
isList: false,
|
|
projection: {
|
|
id: 1,
|
|
payConfig: 1,
|
|
application$system: {
|
|
$entity: 'application',
|
|
data: {
|
|
id: 1,
|
|
payConfig: 1,
|
|
name: 1,
|
|
type: 1,
|
|
},
|
|
},
|
|
},
|
|
formData({ data, features }) {
|
|
const operation = this.state.oakFullpath && this.features.runningTree.getOperations(this.state.oakFullpath);
|
|
return {
|
|
operation: operation && operation[0].operation,
|
|
system: data,
|
|
};
|
|
},
|
|
});
|