Creazione Nutriben-natoropatia.it

This commit is contained in:
Surya Paolo
2025-05-11 21:59:16 +02:00
parent f9d73ae836
commit 6ed648f8b3
178 changed files with 4269 additions and 7188951 deletions

View File

@@ -267,6 +267,8 @@ export default defineComponent({
gallerylist.value.splice(index, 1)
}
gallerylist.value = gallerylist.value.filter((elem: any) => typeof elem.imagefile === 'string' && elem.imagefile)
// mylistimages = mylistimages.pop((elem) => elem.imagefile !== rec.imagefile)
// console.table(mylistimages)
@@ -311,8 +313,8 @@ export default defineComponent({
// Delete File on server:
const ris = await globalStore.DeleteFile({ filename })
// console.log('ris', ris)
if (ris)
deleted(rec)
//if (ris)
deleted(rec)
})
}

View File

@@ -731,7 +731,12 @@ export default defineComponent({
if (col.value.fieldtype === costanti.FieldType.image) {
console.log('newVal.imagefile', newVal)
myvalue.value = tools.getImgFileToSaveByFilename(newVal)
if (newVal === ''){
myvalue.value = ''
} else {
myvalue.value = newVal
}
// myvalue.value = tools.getImgFileToSaveByFilename(newVal)
} else if (col.value.fieldtype === costanti.FieldType.imgcard) {
console.log('newVal.imagefile', newVal)
myvalue.value = newVal

View File

@@ -244,6 +244,9 @@ export default defineComponent({
gallerylist.value.splice(index, 1)
}
gallerylist.value = gallerylist.value.filter((elem: any) => elem.imagefile)
// save()
// mylistimages = mylistimages.pop((elem) => elem.imagefile !== rec.imagefile)
// console.table(mylistimages)
@@ -285,8 +288,8 @@ export default defineComponent({
// Delete File on server:
const ris = await globalStore.DeleteFile({ filename })
// console.log('ris', ris)
if (ris)
deleted(rec)
// if (ris)
deleted(rec)
})
}