forked from verdnatura/salix-front
hotfix: refs #6769 Minor changes
This commit is contained in:
parent
a616498d1a
commit
7fae6b92a1
|
@ -48,7 +48,7 @@ const columns = computed(() => [
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: t('itemDiary.origin'),
|
label: t('itemDiary.origin'),
|
||||||
name: 'origin',
|
name: 'originId',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -68,7 +68,7 @@ const columns = computed(() => [
|
||||||
|
|
||||||
{
|
{
|
||||||
label: t('itemDiary.entity'),
|
label: t('itemDiary.entity'),
|
||||||
name: 'entity',
|
name: 'entityId',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
format: (val) => dashIfEmpty(val),
|
format: (val) => dashIfEmpty(val),
|
||||||
},
|
},
|
||||||
|
@ -228,16 +228,16 @@ onUnmounted(() => (stateStore.rightDrawer = false));
|
||||||
</QBadge>
|
</QBadge>
|
||||||
</QTd>
|
</QTd>
|
||||||
</template>
|
</template>
|
||||||
<template #body-cell-origin="{ row }">
|
<template #body-cell-originId="{ row }">
|
||||||
<QTd @click.stop>
|
<QTd @click.stop>
|
||||||
<component
|
<component
|
||||||
:is="originTypeMap[row.originType]?.descriptor"
|
:is="originTypeMap[row.originType]?.descriptor"
|
||||||
:id="row.origin"
|
:id="row.originId"
|
||||||
class="q-ma-none"
|
class="q-ma-none"
|
||||||
dense
|
dense
|
||||||
style="font-size: 14px"
|
style="font-size: 14px"
|
||||||
>
|
>
|
||||||
{{ row.origin }}
|
{{ row.originId }}
|
||||||
</component>
|
</component>
|
||||||
<span class="link">
|
<span class="link">
|
||||||
<QIcon
|
<QIcon
|
||||||
|
@ -245,11 +245,11 @@ onUnmounted(() => (stateStore.rightDrawer = false));
|
||||||
class="fill-icon q-mr-sm"
|
class="fill-icon q-mr-sm"
|
||||||
size="xs"
|
size="xs"
|
||||||
/>
|
/>
|
||||||
{{ row.origin }}
|
{{ row.originId }}
|
||||||
</span>
|
</span>
|
||||||
</QTd>
|
</QTd>
|
||||||
</template>
|
</template>
|
||||||
<template #body-cell-entity="{ row }">
|
<template #body-cell-entityId="{ row }">
|
||||||
<QTd @click.stop>
|
<QTd @click.stop>
|
||||||
<QBadge
|
<QBadge
|
||||||
:color="row.highlighted ? 'warning' : 'transparent'"
|
:color="row.highlighted ? 'warning' : 'transparent'"
|
||||||
|
@ -259,12 +259,12 @@ onUnmounted(() => (stateStore.rightDrawer = false));
|
||||||
>
|
>
|
||||||
<component
|
<component
|
||||||
:is="entityTypeMap[row.entityType]?.descriptor"
|
:is="entityTypeMap[row.entityType]?.descriptor"
|
||||||
:id="row.entity"
|
:id="row.entityId"
|
||||||
class="q-ma-none"
|
class="q-ma-none"
|
||||||
dense
|
dense
|
||||||
style="font-size: 14px"
|
style="font-size: 14px"
|
||||||
>
|
>
|
||||||
{{ row.entity }}
|
{{ row.entityId }}
|
||||||
</component>
|
</component>
|
||||||
<span class="link">
|
<span class="link">
|
||||||
<QIcon
|
<QIcon
|
||||||
|
@ -272,7 +272,7 @@ onUnmounted(() => (stateStore.rightDrawer = false));
|
||||||
class="fill-icon q-mr-sm"
|
class="fill-icon q-mr-sm"
|
||||||
size="xs"
|
size="xs"
|
||||||
/>
|
/>
|
||||||
{{ dashIfEmpty(row.name) }}
|
{{ dashIfEmpty(row.entityName) }}
|
||||||
</span>
|
</span>
|
||||||
</QBadge>
|
</QBadge>
|
||||||
</QTd>
|
</QTd>
|
||||||
|
|
Loading…
Reference in New Issue