Merge pull request 'fix: refs #7943 use summary' (!873) from 7943-fixWorker into dev
gitea/salix-front/pipeline/head This commit looks good
Details
gitea/salix-front/pipeline/head This commit looks good
Details
Reviewed-on: #873 Reviewed-by: Alex Moreno <alexm@verdnatura.es>
This commit is contained in:
commit
1b05a5173d
|
@ -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>
|
||||
|
|
|
@ -169,7 +169,7 @@ async function autofillBic(worker) {
|
|||
</script>
|
||||
<template>
|
||||
<VnSearchbar
|
||||
data-key="Worker"
|
||||
data-key="WorkerList"
|
||||
:label="t('Search worker')"
|
||||
:info="t('You can search by worker id or name')"
|
||||
/>
|
||||
|
@ -191,13 +191,13 @@ async function autofillBic(worker) {
|
|||
/>
|
||||
<RightMenu>
|
||||
<template #right-panel>
|
||||
<WorkerFilter data-key="Worker" />
|
||||
<WorkerFilter data-key="WorkerList" />
|
||||
</template>
|
||||
</RightMenu>
|
||||
<VnTable
|
||||
v-if="defaultPayMethod"
|
||||
ref="tableRef"
|
||||
data-key="Worker"
|
||||
data-key="WorkerList"
|
||||
url="Workers/filter"
|
||||
:create="{
|
||||
urlCreate: 'Workers/new',
|
||||
|
|
Loading…
Reference in New Issue