fix: แก้ i18n/ลบโค้คที่ไม่ได้ใช้

This commit is contained in:
Net 2024-06-13 11:03:56 +07:00
parent 791f01a9f0
commit e769308be3

View file

@ -37,22 +37,6 @@ const {
import ItemCard from 'src/components/ItemCard.vue'; import ItemCard from 'src/components/ItemCard.vue';
import TotalProductComponent from 'src/components/04_product-service/TotalProductComponent.vue'; import TotalProductComponent from 'src/components/04_product-service/TotalProductComponent.vue';
const cardData = ref({
title: 'งาน MCU',
subtitle: 'G00000000001',
color: 'var(--pink-6)',
status: true,
date: new Date(),
});
const cardTypeData = ref({
title: 'บริการพิสูจน์สัญชาติ',
subtitle: 'TG10000000001',
color: 'var(--purple-11)',
status: true,
date: new Date(),
});
const stat = ref< const stat = ref<
{ {
count: number; count: number;
@ -63,7 +47,7 @@ const stat = ref<
{ count: 0, label: 'productAndService', color: 'pink' }, { count: 0, label: 'productAndService', color: 'pink' },
{ count: 0, label: 'productAndServiceType', color: 'purple' }, { count: 0, label: 'productAndServiceType', color: 'purple' },
{ count: 0, label: 'service', color: 'orange' }, { count: 0, label: 'service', color: 'orange' },
{ count: 0, label: 'service', color: 'green' }, { count: 0, label: 'product', color: 'green' },
]); ]);
import { useI18n } from 'vue-i18n'; import { useI18n } from 'vue-i18n';
@ -236,21 +220,19 @@ onMounted(async () => {
bordered bordered
style="min-height: 70vh" style="min-height: 70vh"
> >
<template> <TooltipComponent
<TooltipComponent class="self-end"
class="self-end" title="messageTooltipNoProduct"
title="messageTooltipNoProduct" caption="messageTooltipProductCreate"
caption="messageTooltipProductCreate" imgSrc="personnel-table-"
imgSrc="personnel-table-" />
/>
<div class="row items-center justify-center" style="flex-grow: 1"> <div class="row items-center justify-center" style="flex-grow: 1">
<AddButton <AddButton
label="productCreate" label="productCreate"
@trigger="() => (dialogInputForm = true)" @trigger="() => (dialogInputForm = true)"
/> />
</div> </div>
</template>
</AppBox> </AppBox>
<div v-if="productGroup?.length !== 0"> <div v-if="productGroup?.length !== 0">