refs #5919 locker relation
gitea/salix/pipeline/head There was a failure building this commit
Details
gitea/salix/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
e2eebf96f7
commit
69739fca9c
|
@ -59,6 +59,7 @@
|
|||
></vn-link-phone>
|
||||
</vn-label-value>
|
||||
<vn-label-value label="Locker"
|
||||
value="{{worker.locker.code}}"
|
||||
>
|
||||
</vn-label-value>
|
||||
</vn-one>
|
||||
|
|
|
@ -51,7 +51,18 @@ class Controller extends Summary {
|
|||
scope: {fields: ['id', 'code', 'name']}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
relation: 'locker',
|
||||
scope: {
|
||||
fields: ['id', 'code', 'gender'],
|
||||
include: {
|
||||
relation: 'worker',
|
||||
scope: {fields: ['id']}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
]
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue