- Corretto campo "Comune di Residenza".

- Aggiornato Completamento Profilo: Comune di Residenza.
- Registrazione
This commit is contained in:
Surya Paolo
2025-11-26 18:32:05 +01:00
parent b37204f543
commit 145327a6ca
53 changed files with 4122 additions and 1203 deletions

View File

@@ -130,7 +130,7 @@ export default defineComponent({
const arrStep = ref([
{
/*{
indstep: 0,
step: STEP_CITY,
title: t('tutorial.step_residence_title'),
@@ -140,6 +140,17 @@ export default defineComponent({
checkOkReal: function (): boolean { return this.checkOk() },
icon: 'house',
required: true,
},*/
{
indstep: 0,
step: STEP_CITY,
title: t('tutorial.step_residence_comune_title'),
extratitle: function () { return ': ' + (contact.value!.profile.resid_str_comune ? contact.value!.profile.resid_str_comune : '') },
label: t('tutorial.step_residence_comune'),
checkOk: function (): boolean { return contact.value ? !!contact.value.profile.resid_str_comune && contact.value.profile.resid_str_comune !== '' && contact.value.profile.resid_str_comune !== '0' : false },
checkOkReal: function (): boolean { return this.checkOk() },
icon: 'house',
required: true,
},
/*{
step: STEP_NAME_SURNAME, // 2
@@ -343,8 +354,8 @@ export default defineComponent({
username.value = props.mycontact.username
}
}
if (contact.value && contact.value.profile && contact.value.profile.resid_province === '0') {
contact.value.profile.resid_province = ''
if (contact.value && contact.value.profile && contact.value.profile.resid_str_comune === '0') {
contact.value.profile.resid_str_comune = ''
}
mylistcircuits.value = circuitStore.getCircuitsNameByProvince(strProv.value)