8282-testToMaster #1057
|
@ -8,6 +8,7 @@ import FormModel from 'src/components/FormModel.vue';
|
||||||
import VnRow from 'components/ui/VnRow.vue';
|
import VnRow from 'components/ui/VnRow.vue';
|
||||||
import VnInput from 'src/components/common/VnInput.vue';
|
import VnInput from 'src/components/common/VnInput.vue';
|
||||||
import VnSelect from 'src/components/common/VnSelect.vue';
|
import VnSelect from 'src/components/common/VnSelect.vue';
|
||||||
|
import CrudModel from 'components/CrudModel.vue';
|
||||||
|
|
||||||
const route = useRoute();
|
const route = useRoute();
|
||||||
const { t } = useI18n();
|
const { t } = useI18n();
|
||||||
|
@ -91,17 +92,29 @@ const toCustomerAddressCreate = () => {
|
||||||
<QSeparator class="q-mx-lg" vertical />
|
<QSeparator class="q-mx-lg" vertical />
|
||||||
</template>
|
</template>
|
||||||
</FormModel>
|
</FormModel>
|
||||||
<FormModel
|
<CrudModel
|
||||||
|
ref="workerPitCrudRef"
|
||||||
|
data-key="workerPit"
|
||||||
:url="`Workers/${route.params.id}/workerRelative`"
|
:url="`Workers/${route.params.id}/workerRelative`"
|
||||||
auto-load
|
auto-load
|
||||||
model="WorkerRelatives"
|
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`)" />
|
<VnInputDate size="sm" v-model="data.birthed" :label="t(`birthed`)" />
|
||||||
|
|
||||||
<VnInput size="sm" v-model="data.adoptionYear" :label="t(`adoptionYear`)" />
|
<VnInput size="sm" v-model="data.adoptionYear" :label="t(`adoptionYear`)" />
|
||||||
</VnRow>
|
</VnRow> -->
|
||||||
</FormModel>
|
</CrudModel>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<i18n>
|
<i18n>
|
||||||
|
|
Loading…
Reference in New Issue