forked from verdnatura/salix-front
fix: refs #7943 use summary
This commit is contained in:
parent
fc175666b1
commit
bb51a9e687
|
@ -6,7 +6,7 @@ import WorkerFilter from '../WorkerFilter.vue';
|
|||
<template>
|
||||
<VnCard
|
||||
data-key="Worker"
|
||||
base-url="Workers"
|
||||
custom-url="Workers/summary"
|
||||
:descriptor="WorkerDescriptor"
|
||||
:filter-panel="WorkerFilter"
|
||||
search-data-key="WorkerList"
|
||||
|
|
|
@ -45,7 +45,7 @@ onBeforeMount(async () => {
|
|||
ref="summary"
|
||||
:url="`Workers/summary`"
|
||||
:filter="{ where: { id: entityId } }"
|
||||
data-key="WorkerSummary"
|
||||
data-key="Worker"
|
||||
>
|
||||
<template #header="{ entity }">
|
||||
<div>{{ entity.id }} - {{ entity.firstName }} {{ entity.lastName }}</div>
|
||||
|
|
Loading…
Reference in New Issue