diff --git a/src/pages/04_product-service/MainPage.vue b/src/pages/04_product-service/MainPage.vue index 660d5434..812606ee 100644 --- a/src/pages/04_product-service/MainPage.vue +++ b/src/pages/04_product-service/MainPage.vue @@ -29,7 +29,7 @@ import PaginationComponent from 'src/components/PaginationComponent.vue'; import useFlowStore from 'src/stores/flow'; import { Status } from 'src/stores/types'; -import { dialog, dialogWarningClose } from 'src/stores/utils'; +import useUtilsStore, { dialog, dialogWarningClose } from 'src/stores/utils'; import useProductServiceStore from 'src/stores/product-service'; import { @@ -46,6 +46,7 @@ import { } from 'src/stores/product-service/types'; const flowStore = useFlowStore(); +const utilsStore = useUtilsStore(); const productServiceStore = useProductServiceStore(); const optionStore = useOptionStore(); @@ -971,6 +972,9 @@ function cloneData() { } onMounted(async () => { + utilsStore.currentTitle.title = 'mainProductTitle'; + utilsStore.currentTitle.caption = 'mainProductCaption'; + calculateStats(); await fetchListGroups(); flowStore.rotate(); @@ -1075,17 +1079,12 @@ watch(inputSearchProductAndService, async () => { > -
-
- {{ $t('productAndService') }} -
- +
{
-
+
{ > -
{ />
- - +
+
{ " />
- +