feat: เรียกใช้ function

This commit is contained in:
Net 2024-06-21 15:59:18 +07:00
parent eb41274a50
commit b490b04828

View file

@ -64,8 +64,19 @@ const {
createService,
deleteService,
editService,
fetchListWork,
createWork,
fetchListWorkById,
editWork,
deleteWork,
fetchListProductByIdWork,
fetchListOfWork,
} = productServiceStore;
const { workNameItems } = storeToRefs(productServiceStore);
import ItemCard from 'src/components/ItemCard.vue';
import TotalProductComponent from 'src/components/04_product-service/TotalProductComponent.vue';
@ -85,6 +96,7 @@ const stat = ref<
import { useI18n } from 'vue-i18n';
import { onMounted } from 'vue';
import { time } from 'console';
import { storeToRefs } from 'pinia';
const { t } = useI18n();
@ -1528,7 +1540,11 @@ watch(currentStatus, async () => {
dialogTotalProduct = true;
}
"
@manage-work-name="manageWorkNameDialog = true"
@manage-work-name="
() => {
manageWorkNameDialog = true;
}
"
@work-properties="
(index) => {
currentWorkIndex = index;