8282-testToMaster #1057

Merged
alexm merged 215 commits from 8282-testToMaster into master 2024-12-10 06:23:36 +00:00
1 changed files with 17 additions and 4 deletions
Showing only changes of commit ee2f80e9bb - Show all commits

View File

@ -8,6 +8,7 @@ import FormModel from 'src/components/FormModel.vue';
import VnRow from 'components/ui/VnRow.vue';
import VnInput from 'src/components/common/VnInput.vue';
import VnSelect from 'src/components/common/VnSelect.vue';
import CrudModel from 'components/CrudModel.vue';
const route = useRoute();
const { t } = useI18n();
@ -91,17 +92,29 @@ const toCustomerAddressCreate = () => {
<QSeparator class="q-mx-lg" vertical />
</template>
</FormModel>
<FormModel
<CrudModel
ref="workerPitCrudRef"
data-key="workerPit"
:url="`Workers/${route.params.id}/workerRelative`"
auto-load
model="WorkerRelatives"
>
<VnRow>
<template #body="{ rows }">
<QTable
:columns="columns"
:rows="rows"
row-key="$index"
selection="multiple"
v-model:selected="selected"
table-header-class="text-left"
></QTable>
</template>
<!-- <VnRow>
<VnInputDate size="sm" v-model="data.birthed" :label="t(`birthed`)" />
<VnInput size="sm" v-model="data.adoptionYear" :label="t(`adoptionYear`)" />
</VnRow>
</FormModel>
</VnRow> -->
</CrudModel>
</template>
<i18n>