fix: refs #8463 fix name

This commit is contained in:
Alex Moreno 2025-03-14 09:15:50 +01:00
parent 1139035e45
commit f7046be50d
22 changed files with 44 additions and 44 deletions

View File

@ -48,7 +48,7 @@ const removeAlias = () => {
</script> </script>
<template> <template>
<EntityDescriptoror <EntityDescriptor
ref="descriptor" ref="descriptor"
:url="`MailAliases/${entityId}`" :url="`MailAliases/${entityId}`"
data-key="Alias" data-key="Alias"
@ -62,7 +62,7 @@ const removeAlias = () => {
<template #body="{ entity }"> <template #body="{ entity }">
<VnLv :label="t('role.description')" :value="entity.description" /> <VnLv :label="t('role.description')" :value="entity.description" />
</template> </template>
</EntityDescriptoror> </EntityDescriptor>
</template> </template>
<i18n> <i18n>

View File

@ -20,7 +20,7 @@ onMounted(async () => {
</script> </script>
<template> <template>
<EntityDescriptoror <EntityDescriptor
ref="descriptor" ref="descriptor"
:url="`VnUsers/preview`" :url="`VnUsers/preview`"
:filter="{ ...filter, where: { id: entityId } }" :filter="{ ...filter, where: { id: entityId } }"
@ -78,7 +78,7 @@ onMounted(async () => {
</QIcon> </QIcon>
</QCardActions> </QCardActions>
</template> </template>
</EntityDescriptoror> </EntityDescriptor>
</template> </template>
<style scoped> <style scoped>
.q-item__label { .q-item__label {

View File

@ -32,7 +32,7 @@ const removeRole = async () => {
</script> </script>
<template> <template>
<EntityDescriptoror <EntityDescriptor
url="VnRoles" url="VnRoles"
:filter="{ where: { id: entityId } }" :filter="{ where: { id: entityId } }"
data-key="Role" data-key="Role"
@ -46,7 +46,7 @@ const removeRole = async () => {
<template #body="{ entity }"> <template #body="{ entity }">
<VnLv :label="t('role.description')" :value="entity.description" /> <VnLv :label="t('role.description')" :value="entity.description" />
</template> </template>
</EntityDescriptoror> </EntityDescriptor>
</template> </template>
<style scoped> <style scoped>
.q-item__label { .q-item__label {

View File

@ -44,7 +44,7 @@ onMounted(async () => {
</script> </script>
<template> <template>
<EntityDescriptoror <EntityDescriptor
:url="`Claims/${entityId}`" :url="`Claims/${entityId}`"
:filter="filter" :filter="filter"
title="client.name" title="client.name"
@ -147,7 +147,7 @@ onMounted(async () => {
</QBtn> </QBtn>
</QCardActions> </QCardActions>
</template> </template>
</EntityDescriptoror> </EntityDescriptor>
</template> </template>
<style scoped> <style scoped>
.q-item__label { .q-item__label {

View File

@ -54,7 +54,7 @@ const debtWarning = computed(() => {
</script> </script>
<template> <template>
<EntityDescriptoror <EntityDescriptor
:url="`Clients/${entityId}/getCard`" :url="`Clients/${entityId}/getCard`"
:summary="$props.summary" :summary="$props.summary"
data-key="Customer" data-key="Customer"
@ -232,7 +232,7 @@ const debtWarning = computed(() => {
</QBtn> </QBtn>
</QCardActions> </QCardActions>
</template> </template>
</EntityDescriptoror> </EntityDescriptor>
</template> </template>
<i18n> <i18n>

View File

@ -145,7 +145,7 @@ async function deleteEntry() {
</script> </script>
<template> <template>
<EntityDescriptoror <EntityDescriptor
:url="`Entries/${entityId}`" :url="`Entries/${entityId}`"
:filter="entryFilter" :filter="entryFilter"
title="supplier.nickname" title="supplier.nickname"
@ -264,7 +264,7 @@ async function deleteEntry() {
</QBtn> </QBtn>
</QCardActions> </QCardActions>
</template> </template>
</EntityDescriptoror> </EntityDescriptor>
</template> </template>
<i18n> <i18n>
es: es:

View File

@ -88,7 +88,7 @@ async function setInvoiceCorrection(id) {
} }
</script> </script>
<template> <template>
<EntityDescriptoror <EntityDescriptor
ref="cardDescriptorRef" ref="cardDescriptorRef"
data-key="InvoiceIn" data-key="InvoiceIn"
:url="`InvoiceIns/${entityId}`" :url="`InvoiceIns/${entityId}`"
@ -163,7 +163,7 @@ async function setInvoiceCorrection(id) {
</QBtn> </QBtn>
</QCardActions> </QCardActions>
</template> </template>
</EntityDescriptoror> </EntityDescriptor>
</template> </template>
<style lang="scss" scoped> <style lang="scss" scoped>
.q-dialog { .q-dialog {

View File

@ -34,7 +34,7 @@ function ticketFilter(invoice) {
</script> </script>
<template> <template>
<EntityDescriptoror <EntityDescriptor
ref="descriptor" ref="descriptor"
:url="`InvoiceOuts/${entityId}`" :url="`InvoiceOuts/${entityId}`"
:filter="filter" :filter="filter"
@ -93,5 +93,5 @@ function ticketFilter(invoice) {
</QBtn> </QBtn>
</QCardActions> </QCardActions>
</template> </template>
</EntityDescriptoror> </EntityDescriptor>
</template> </template>

View File

@ -90,7 +90,7 @@ const updateStock = async () => {
</script> </script>
<template> <template>
<EntityDescriptoror <EntityDescriptor
data-key="Item" data-key="Item"
:summary="$props.summary" :summary="$props.summary"
:url="`Items/${entityId}/getCard`" :url="`Items/${entityId}/getCard`"
@ -162,7 +162,7 @@ const updateStock = async () => {
</QBtn> </QBtn>
</QCardActions> </QCardActions>
</template> </template>
</EntityDescriptoror> </EntityDescriptor>
</template> </template>
<i18n> <i18n>

View File

@ -25,7 +25,7 @@ const entityId = computed(() => {
}); });
</script> </script>
<template> <template>
<EntityDescriptoror <EntityDescriptor
:url="`ItemTypes/${entityId}`" :url="`ItemTypes/${entityId}`"
:filter="filter" :filter="filter"
title="code" title="code"
@ -45,5 +45,5 @@ const entityId = computed(() => {
:value="entity.category?.name" :value="entity.category?.name"
/> />
</template> </template>
</EntityDescriptoror> </EntityDescriptor>
</template> </template>

View File

@ -21,7 +21,7 @@ const { store } = useArrayData('Parking');
const card = computed(() => store.data); const card = computed(() => store.data);
</script> </script>
<template> <template>
<EntityDescriptoror <EntityDescriptor
data-key="Agency" data-key="Agency"
:url="`Agencies/${entityId}`" :url="`Agencies/${entityId}`"
:title="card?.name" :title="card?.name"
@ -30,5 +30,5 @@ const card = computed(() => store.data);
<template #body="{ entity: agency }"> <template #body="{ entity: agency }">
<VnLv :label="t('globals.name')" :value="agency.name" /> <VnLv :label="t('globals.name')" :value="agency.name" />
</template> </template>
</EntityDescriptoror> </EntityDescriptor>
</template> </template>

View File

@ -47,7 +47,7 @@ onMounted(async () => {
}); });
</script> </script>
<template> <template>
<EntityDescriptoror <EntityDescriptor
:url="`Routes/${entityId}`" :url="`Routes/${entityId}`"
:filter="filter" :filter="filter"
:title="null" :title="null"
@ -69,7 +69,7 @@ onMounted(async () => {
<template #menu="{ entity }"> <template #menu="{ entity }">
<RouteDescriptorMenu :route="entity" /> <RouteDescriptorMenu :route="entity" />
</template> </template>
</EntityDescriptoror> </EntityDescriptor>
</template> </template>
<i18n> <i18n>
es: es:

View File

@ -30,7 +30,7 @@ const entityId = computed(() => {
</script> </script>
<template> <template>
<EntityDescriptoror <EntityDescriptor
:url="`Roadmaps/${entityId}`" :url="`Roadmaps/${entityId}`"
:filter="filter" :filter="filter"
data-key="Roadmap" data-key="Roadmap"
@ -51,7 +51,7 @@ const entityId = computed(() => {
<template #menu="{ entity }"> <template #menu="{ entity }">
<RoadmapDescriptorMenu :route="entity" /> <RoadmapDescriptorMenu :route="entity" />
</template> </template>
</EntityDescriptoror> </EntityDescriptor>
</template> </template>
<i18n> <i18n>
es: es:

View File

@ -20,7 +20,7 @@ const route = useRoute();
const entityId = computed(() => props.id || route.params.id); const entityId = computed(() => props.id || route.params.id);
</script> </script>
<template> <template>
<EntityDescriptoror <EntityDescriptor
:url="`Vehicles/${entityId}`" :url="`Vehicles/${entityId}`"
data-key="Vehicle" data-key="Vehicle"
title="numberPlate" title="numberPlate"
@ -53,7 +53,7 @@ const entityId = computed(() => props.id || route.params.id);
<VnLv :label="$t('globals.model')" :value="entity.model" /> <VnLv :label="$t('globals.model')" :value="entity.model" />
<VnLv :label="$t('globals.country')" :value="entity.countryCodeFk" /> <VnLv :label="$t('globals.country')" :value="entity.countryCodeFk" />
</template> </template>
</EntityDescriptoror> </EntityDescriptor>
</template> </template>
<i18n> <i18n>
es: es:

View File

@ -24,7 +24,7 @@ const entityId = computed(() => {
}); });
</script> </script>
<template> <template>
<EntityDescriptoror <EntityDescriptor
:url="`Shelvings/${entityId}`" :url="`Shelvings/${entityId}`"
:filter="filter" :filter="filter"
title="code" title="code"
@ -45,5 +45,5 @@ const entityId = computed(() => {
<template #menu="{ entity }"> <template #menu="{ entity }">
<ShelvingDescriptorMenu :shelving="entity" /> <ShelvingDescriptorMenu :shelving="entity" />
</template> </template>
</EntityDescriptoror> </EntityDescriptor>
</template> </template>

View File

@ -16,7 +16,7 @@ const route = useRoute();
const entityId = computed(() => props.id || route.params.id); const entityId = computed(() => props.id || route.params.id);
</script> </script>
<template> <template>
<EntityDescriptoror <EntityDescriptor
data-key="Parking" data-key="Parking"
:url="`Parkings/${entityId}`" :url="`Parkings/${entityId}`"
title="code" title="code"
@ -28,5 +28,5 @@ const entityId = computed(() => props.id || route.params.id);
<VnLv :label="$t('parking.pickingOrder')" :value="entity.pickingOrder" /> <VnLv :label="$t('parking.pickingOrder')" :value="entity.pickingOrder" />
<VnLv :label="$t('parking.sector')" :value="entity.sector?.description" /> <VnLv :label="$t('parking.sector')" :value="entity.sector?.description" />
</template> </template>
</EntityDescriptoror> </EntityDescriptor>
</template> </template>

View File

@ -61,7 +61,7 @@ const getEntryQueryParams = (supplier) => {
</script> </script>
<template> <template>
<EntityDescriptoror <EntityDescriptor
:url="`Suppliers/${entityId}`" :url="`Suppliers/${entityId}`"
:filter="filter" :filter="filter"
data-key="Supplier" data-key="Supplier"
@ -136,7 +136,7 @@ const getEntryQueryParams = (supplier) => {
</QBtn> </QBtn>
</QCardActions> </QCardActions>
</template> </template>
</EntityDescriptoror> </EntityDescriptor>
</template> </template>
<i18n> <i18n>

View File

@ -57,7 +57,7 @@ function getInfo() {
</script> </script>
<template> <template>
<EntityDescriptoror <EntityDescriptor
:url="`Tickets/${entityId}`" :url="`Tickets/${entityId}`"
:filter="filter" :filter="filter"
data-key="Ticket" data-key="Ticket"
@ -155,7 +155,7 @@ function getInfo() {
</QBtn> </QBtn>
</QCardActions> </QCardActions>
</template> </template>
</EntityDescriptoror> </EntityDescriptor>
</template> </template>
<i18n> <i18n>

View File

@ -31,7 +31,7 @@ const setData = (entity) => (data.value = useCardDescription(entity.ref, entity.
</script> </script>
<template> <template>
<EntityDescriptoror <EntityDescriptor
:url="`Travels/${entityId}`" :url="`Travels/${entityId}`"
:title="data.title" :title="data.title"
:subtitle="data.subtitle" :subtitle="data.subtitle"
@ -79,7 +79,7 @@ const setData = (entity) => (data.value = useCardDescription(entity.ref, entity.
</QBtn> </QBtn>
</QCardActions> </QCardActions>
</template> </template>
</EntityDescriptoror> </EntityDescriptor>
</template> </template>
<i18n> <i18n>

View File

@ -52,7 +52,7 @@ const handlePhotoUpdated = (evt = false) => {
}; };
</script> </script>
<template> <template>
<EntityDescriptoror <EntityDescriptor
ref="cardDescriptorRef" ref="cardDescriptorRef"
:data-key="dataKey" :data-key="dataKey"
:summary="$props.summary" :summary="$props.summary"
@ -167,7 +167,7 @@ const handlePhotoUpdated = (evt = false) => {
</QBtn> </QBtn>
</QCardActions> </QCardActions>
</template> </template>
</EntityDescriptoror> </EntityDescriptor>
<VnChangePassword <VnChangePassword
ref="changePassRef" ref="changePassRef"
:submit-fn=" :submit-fn="

View File

@ -40,7 +40,7 @@ const removeDepartment = async () => {
const { openConfirmationModal } = useVnConfirm(); const { openConfirmationModal } = useVnConfirm();
</script> </script>
<template> <template>
<EntityDescriptoror <EntityDescriptor
ref="DepartmentDescriptorRef" ref="DepartmentDescriptorRef"
:url="`Departments/${entityId}`" :url="`Departments/${entityId}`"
:summary="$props.summary" :summary="$props.summary"
@ -95,7 +95,7 @@ const { openConfirmationModal } = useVnConfirm();
</QBtn> </QBtn>
</QCardActions> </QCardActions>
</template> </template>
</EntityDescriptoror> </EntityDescriptor>
</template> </template>
<i18n> <i18n>

View File

@ -25,7 +25,7 @@ const entityId = computed(() => {
</script> </script>
<template> <template>
<EntityDescriptoror :url="`Zones/${entityId}`" :filter="filter" data-key="Zone"> <EntityDescriptor :url="`Zones/${entityId}`" :filter="filter" data-key="Zone">
<template #menu="{ entity }"> <template #menu="{ entity }">
<ZoneDescriptorMenuItems :zone="entity" /> <ZoneDescriptorMenuItems :zone="entity" />
</template> </template>
@ -36,5 +36,5 @@ const entityId = computed(() => {
<VnLv :label="$t('list.price')" :value="toCurrency(entity.price)" /> <VnLv :label="$t('list.price')" :value="toCurrency(entity.price)" />
<VnLv :label="$t('zone.bonus')" :value="toCurrency(entity.bonus)" /> <VnLv :label="$t('zone.bonus')" :value="toCurrency(entity.bonus)" />
</template> </template>
</EntityDescriptoror> </EntityDescriptor>
</template> </template>