ver 1.0.19
This commit is contained in:
@@ -20,9 +20,9 @@ import { useI18n } from '@/boot/i18n'
|
||||
import { useRoute, useRouter } from 'vue-router'
|
||||
import { useCircuitStore } from '@store/CircuitStore'
|
||||
|
||||
const STEP_NAME_SURNAME = 2
|
||||
const STEP_FOTO = 5
|
||||
const STEP_CIRCUIT = 3
|
||||
const STEP_CIRCUIT = 2
|
||||
const STEP_NAME_SURNAME = 20
|
||||
const STEP_FOTO = 50
|
||||
|
||||
export default defineComponent({
|
||||
name: 'CMyProfileTutorial',
|
||||
@@ -55,6 +55,7 @@ export default defineComponent({
|
||||
|
||||
const showAccountInfo = ref(false)
|
||||
const step = ref(1)
|
||||
const nascondiavviso = ref(false)
|
||||
|
||||
const username = ref('')
|
||||
const showsendCoinTo = ref(false)
|
||||
@@ -62,7 +63,6 @@ export default defineComponent({
|
||||
|
||||
const contact = ref(<IUserFields | null>null)
|
||||
|
||||
|
||||
const filtroutente = ref(<any[]>[])
|
||||
|
||||
const stepTut = computed(() => userStore.my.profile.stepTutorial)
|
||||
@@ -134,7 +134,7 @@ export default defineComponent({
|
||||
icon: 'house',
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
/*{
|
||||
step: STEP_NAME_SURNAME, // 2
|
||||
title: t('tutorial.step_nomecognome_title'),
|
||||
extratitle: function () { return ': ' + (contact.value ? tools.getNomeUtenteEUsernameByRecUser(contact.value) : '') },
|
||||
@@ -143,7 +143,7 @@ export default defineComponent({
|
||||
checkOkReal: function () { return ((contact.value ? !!contact.value.name : false)) },
|
||||
icon: 'user',
|
||||
required: false,
|
||||
},
|
||||
},*/
|
||||
{
|
||||
step: STEP_CIRCUIT,
|
||||
title: t('tutorial.step_circuito_title'),
|
||||
@@ -167,8 +167,8 @@ export default defineComponent({
|
||||
icon: 'img: images/1ris_rosso_100.png',
|
||||
required: false,
|
||||
},
|
||||
{
|
||||
step: 4,
|
||||
/*{
|
||||
step: 3,
|
||||
title: t('tutorial.step_beniservizi_title'),
|
||||
extratitle: function () { return ': (' + userStore.my.profile.calc.numGoodsAndServices + ')' },
|
||||
label: t('tutorial.step_beniservizi'),
|
||||
@@ -178,21 +178,21 @@ export default defineComponent({
|
||||
checkOkReal: function () { return this.checkOk() },
|
||||
icon: 'fas fa-tshirt',
|
||||
required: false,
|
||||
},
|
||||
{
|
||||
},*/
|
||||
/*{
|
||||
step: STEP_FOTO,
|
||||
title: t('tutorial.step_foto_title'),
|
||||
title: t('tutorial.step_profilo_title'),
|
||||
extratitle: function () { return ': (' + (userStore.my.profile.img ? t('dialog.yes') : t('dialog.no')) + ')' },
|
||||
label: t('tutorial.step_foto'),
|
||||
label: t('tutorial.step_profilo'),
|
||||
checkOk: function () {
|
||||
return !!userStore.my.profile.img
|
||||
},
|
||||
checkOkReal: function () { return this.checkOk() },
|
||||
icon: 'fas fa-tshirt',
|
||||
required: false,
|
||||
},
|
||||
},*/
|
||||
{
|
||||
step: 6,
|
||||
step: 3,
|
||||
title: t('tutorial.step_fine_title'),
|
||||
extratitle: function () { return '' },
|
||||
label: t('tutorial.step_fine'),
|
||||
@@ -382,7 +382,7 @@ export default defineComponent({
|
||||
}
|
||||
|
||||
function getColorDone(step: number) {
|
||||
return arrStep[step - 1].checkOkReal() ? 'positive' : 'negative'
|
||||
return arrStep[step].checkOkReal() ? 'positive' : 'negative'
|
||||
}
|
||||
|
||||
onMounted(mounted)
|
||||
@@ -419,6 +419,7 @@ export default defineComponent({
|
||||
isSalta,
|
||||
askToConfirmSkip,
|
||||
getColorDone,
|
||||
nascondiavviso,
|
||||
}
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user