feat: updates ItemProposal
This commit is contained in:
parent
9ec1c5ff4b
commit
ff918b8a1c
|
@ -6,6 +6,7 @@ import ItemDescriptorProxy from 'src/pages/Item/Card/ItemDescriptorProxy.vue';
|
||||||
import FetchedTags from 'components/ui/FetchedTags.vue';
|
import FetchedTags from 'components/ui/FetchedTags.vue';
|
||||||
import { useSession } from 'src/composables/useSession';
|
import { useSession } from 'src/composables/useSession';
|
||||||
import VnLv from 'src/components/ui/VnLv.vue';
|
import VnLv from 'src/components/ui/VnLv.vue';
|
||||||
|
import VnImg from 'src/components/ui/VnImg.vue';
|
||||||
import { toCurrency } from 'filters/index';
|
import { toCurrency } from 'filters/index';
|
||||||
import VnStockValueDisplay from 'src/components/ui/VnStockValueDisplay.vue';
|
import VnStockValueDisplay from 'src/components/ui/VnStockValueDisplay.vue';
|
||||||
import { useDialogPluginComponent } from 'quasar';
|
import { useDialogPluginComponent } from 'quasar';
|
||||||
|
@ -321,24 +322,25 @@ onUnmounted(() => {});
|
||||||
</QTd>
|
</QTd>
|
||||||
</QTr> -->
|
</QTr> -->
|
||||||
</template>
|
</template>
|
||||||
<template #column-longName="{ row, value }">
|
<template #column-longName="{ row }">
|
||||||
<!-- <QTd align="left" class="text-primary"> -->
|
<!-- <QTd align="left" class="text-primary"> -->
|
||||||
<QTooltip>
|
<QTooltip>
|
||||||
{{ row.id }}
|
{{ row.id }}
|
||||||
</QTooltip>
|
</QTooltip>
|
||||||
<QImg
|
<!-- <QBtn flat color="blue" dense>{{ }}</QBtn> -->
|
||||||
:src="`/api/Images/catalog/50x50/${row.id}/download?access_token=${token}`"
|
<p class="link">{{ row.longName }}</p>
|
||||||
spinner-color="primary"
|
|
||||||
:ratio="1"
|
|
||||||
height="50px"
|
|
||||||
width="50px"
|
|
||||||
class="image remove-bg"
|
|
||||||
:alt="'asdads'"
|
|
||||||
/>
|
|
||||||
<QBtn flat color="blue" dense>{{ value }}</QBtn>
|
|
||||||
|
|
||||||
<ItemDescriptorProxy :id="row.id" />
|
<ItemDescriptorProxy :id="row.id" />
|
||||||
<FetchedTags :item="row" :max-length="5" />
|
<div style="display: flex">
|
||||||
|
<VnImg
|
||||||
|
:id="row.id"
|
||||||
|
spinner-color="primary"
|
||||||
|
:ratio="1"
|
||||||
|
height="50px"
|
||||||
|
width="50px"
|
||||||
|
class="image remove-bg"
|
||||||
|
/>
|
||||||
|
<FetchedTags :item="row" />
|
||||||
|
</div>
|
||||||
<!-- </QTd> -->
|
<!-- </QTd> -->
|
||||||
</template>
|
</template>
|
||||||
<template #column-status="{ value }">
|
<template #column-status="{ value }">
|
||||||
|
|
|
@ -244,7 +244,7 @@ const replaceItem = () => {
|
||||||
{{ item.longName }}
|
{{ item.longName }}
|
||||||
<ItemDescriptorProxy :id="entityId" />
|
<ItemDescriptorProxy :id="entityId" />
|
||||||
</QBtn>
|
</QBtn>
|
||||||
<FetchedTags class="q-ml-md" :item="item" :max-length="5" />
|
<FetchedTags class="q-ml-md" :item="item" />
|
||||||
</div>
|
</div>
|
||||||
<!-- {{ rows }} -->
|
<!-- {{ rows }} -->
|
||||||
<!-- </template>
|
<!-- </template>
|
||||||
|
|
Loading…
Reference in New Issue