refs #7396 fix summary basicData
This commit is contained in:
parent
d7e3303d68
commit
cd21d7817d
|
@ -830,6 +830,7 @@ worker:
|
||||||
calendar: Calendar
|
calendar: Calendar
|
||||||
timeControl: Time control
|
timeControl: Time control
|
||||||
locker: Locker
|
locker: Locker
|
||||||
|
|
||||||
list:
|
list:
|
||||||
name: Name
|
name: Name
|
||||||
email: Email
|
email: Email
|
||||||
|
@ -861,6 +862,15 @@ worker:
|
||||||
role: Role
|
role: Role
|
||||||
sipExtension: Extension
|
sipExtension: Extension
|
||||||
locker: Locker
|
locker: Locker
|
||||||
|
fiDueDate: Fecha de caducidad del DNI
|
||||||
|
sex: Sexo
|
||||||
|
seniority: Antigüedad
|
||||||
|
fi: DNI/NIE/NIF
|
||||||
|
birth: Cumpleaños
|
||||||
|
isFreelance: Autónomo
|
||||||
|
isSsDiscounted: Bonificación SS
|
||||||
|
hasMachineryAuthorized: Autorizado para llevar maquinaria
|
||||||
|
isDisable: Trabajador desactivado
|
||||||
notificationsManager:
|
notificationsManager:
|
||||||
activeNotifications: Active notifications
|
activeNotifications: Active notifications
|
||||||
availableNotifications: Available notifications
|
availableNotifications: Available notifications
|
||||||
|
|
|
@ -78,7 +78,6 @@ const maritalStatus = [
|
||||||
<VnInput :label="t('Name')" clearable v-model="data.firstName" />
|
<VnInput :label="t('Name')" clearable v-model="data.firstName" />
|
||||||
<VnInput :label="t('Last name')" clearable v-model="data.lastName" />
|
<VnInput :label="t('Last name')" clearable v-model="data.lastName" />
|
||||||
</VnRow>
|
</VnRow>
|
||||||
{{ data }}
|
|
||||||
<VnRow class="row q-gutter-md q-mb-md">
|
<VnRow class="row q-gutter-md q-mb-md">
|
||||||
<VnInput v-model="data.phone" :label="t('Business phone')" clearable />
|
<VnInput v-model="data.phone" :label="t('Business phone')" clearable />
|
||||||
<VnInput
|
<VnInput
|
||||||
|
@ -149,11 +148,33 @@ const maritalStatus = [
|
||||||
</VnRow>
|
</VnRow>
|
||||||
<VnRow class="row q-gutter-md q-mb-md">
|
<VnRow class="row q-gutter-md q-mb-md">
|
||||||
<VnInputDate :label="t('fiDueDate')" v-model="data.fiDueDate" />
|
<VnInputDate :label="t('fiDueDate')" v-model="data.fiDueDate" />
|
||||||
|
|
||||||
|
<VnInput v-model="data.sex" :label="t('sex')" clearable />
|
||||||
|
</VnRow>
|
||||||
|
<VnRow class="row q-gutter-md q-mb-md">
|
||||||
|
<VnInputDate :label="t('seniority')" v-model="data.seniority" />
|
||||||
|
<VnInput v-model="data.fi" :label="t('fi')" />
|
||||||
|
</VnRow>
|
||||||
|
<VnRow class="row q-gutter-md q-mb-md">
|
||||||
|
<VnInputDate :label="t('birth')" v-model="data.birth" />
|
||||||
|
</VnRow>
|
||||||
|
<VnRow class="row q-gutter-md q-mb-md">
|
||||||
|
<QCheckbox
|
||||||
|
size="sm"
|
||||||
|
:label="t('isFreelance')"
|
||||||
|
v-model="data.isFreelance"
|
||||||
|
/>
|
||||||
|
<QCheckbox
|
||||||
|
size="sm"
|
||||||
|
v-model="data.isSsDiscounted"
|
||||||
|
:label="t(`isSsDiscounted`)"
|
||||||
|
/>
|
||||||
<QCheckbox
|
<QCheckbox
|
||||||
size="sm"
|
size="sm"
|
||||||
v-model="data.hasMachineryAuthorized"
|
v-model="data.hasMachineryAuthorized"
|
||||||
:label="t(`hasMachineryAuthorized`)"
|
:label="t(`hasMachineryAuthorized`)"
|
||||||
/>
|
/>
|
||||||
|
<QCheckbox size="sm" v-model="data.isDisable" :label="t(`isDisable`)" />
|
||||||
</VnRow>
|
</VnRow>
|
||||||
</template>
|
</template>
|
||||||
</FormModel>
|
</FormModel>
|
||||||
|
@ -174,4 +195,12 @@ es:
|
||||||
SSN: NSS
|
SSN: NSS
|
||||||
Locker: Taquilla
|
Locker: Taquilla
|
||||||
fiDueDate: Fecha de caducidad del DNI
|
fiDueDate: Fecha de caducidad del DNI
|
||||||
|
seniority: Antigüedad
|
||||||
|
hasMachineryAuthorized: Autorizado para llevar maquinaria
|
||||||
|
isFreelance: Autónomo
|
||||||
|
isDisable: Trabajador desactivado
|
||||||
|
fi: DNI/NIE/NIF
|
||||||
|
sex: Sexo
|
||||||
|
birth: Cumpleaños
|
||||||
|
isSsDiscounted: Bonificación SS
|
||||||
</i18n>
|
</i18n>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
import { ref, onMounted, computed } from 'vue';
|
import { ref, onMounted, computed } from 'vue';
|
||||||
import { useRoute } from 'vue-router';
|
import { useRoute } from 'vue-router';
|
||||||
import { useI18n } from 'vue-i18n';
|
import { useI18n } from 'vue-i18n';
|
||||||
import { dashIfEmpty } from 'src/filters';
|
import { dashIfEmpty, toDate } from 'src/filters';
|
||||||
import { getUrl } from 'src/composables/getUrl';
|
import { getUrl } from 'src/composables/getUrl';
|
||||||
import VnLv from 'src/components/ui/VnLv.vue';
|
import VnLv from 'src/components/ui/VnLv.vue';
|
||||||
import VnLinkPhone from 'src/components/ui/VnLinkPhone.vue';
|
import VnLinkPhone from 'src/components/ui/VnLinkPhone.vue';
|
||||||
|
@ -110,6 +110,41 @@ const filter = {
|
||||||
</template>
|
</template>
|
||||||
</VnLv>
|
</VnLv>
|
||||||
<VnLv :label="t('worker.summary.locker')" :value="worker.locker" />
|
<VnLv :label="t('worker.summary.locker')" :value="worker.locker" />
|
||||||
|
<VnLv
|
||||||
|
:label="t('worker.summary.fiDueDate')"
|
||||||
|
:value="toDate(worker.fiDueDate)"
|
||||||
|
/>
|
||||||
|
<VnLv :label="t('worker.summary.sex')" :value="worker.sex" />
|
||||||
|
<VnLv
|
||||||
|
:label="t('worker.summary.seniority')"
|
||||||
|
:value="toDate(worker.seniority)"
|
||||||
|
/>
|
||||||
|
<VnLv :label="t('worker.summary.fi')" :value="worker.fi" />
|
||||||
|
<VnLv :label="t('worker.summary.birth')" :value="toDate(worker.birth)" />
|
||||||
|
<QCheckbox
|
||||||
|
style="padding: 0"
|
||||||
|
:label="t('worker.summary.isFreelance')"
|
||||||
|
v-model="worker.isFreelance"
|
||||||
|
:disable="true"
|
||||||
|
/>
|
||||||
|
<QCheckbox
|
||||||
|
style="padding: 0"
|
||||||
|
:label="t('worker.summary.isSsDiscounted')"
|
||||||
|
v-model="worker.isSsDiscounted"
|
||||||
|
:disable="true"
|
||||||
|
/>
|
||||||
|
<QCheckbox
|
||||||
|
style="padding: 0"
|
||||||
|
:label="t('worker.summary.hasMachineryAuthorized')"
|
||||||
|
v-model="worker.hasMachineryAuthorized"
|
||||||
|
:disable="true"
|
||||||
|
/>
|
||||||
|
<QCheckbox
|
||||||
|
style="padding: 0"
|
||||||
|
:label="t('worker.summary.isDisable')"
|
||||||
|
v-model="worker.isDisable"
|
||||||
|
:disable="true"
|
||||||
|
/>
|
||||||
</QCard>
|
</QCard>
|
||||||
<QCard class="vn-one">
|
<QCard class="vn-one">
|
||||||
<VnTitle :text="t('worker.summary.userData')" />
|
<VnTitle :text="t('worker.summary.userData')" />
|
||||||
|
|
Loading…
Reference in New Issue