feat: เรียกใช้ function
This commit is contained in:
parent
eb41274a50
commit
b490b04828
1 changed files with 17 additions and 1 deletions
|
|
@ -64,8 +64,19 @@ const {
|
||||||
createService,
|
createService,
|
||||||
deleteService,
|
deleteService,
|
||||||
editService,
|
editService,
|
||||||
|
|
||||||
|
fetchListWork,
|
||||||
|
createWork,
|
||||||
|
fetchListWorkById,
|
||||||
|
editWork,
|
||||||
|
deleteWork,
|
||||||
|
fetchListProductByIdWork,
|
||||||
|
|
||||||
|
fetchListOfWork,
|
||||||
} = productServiceStore;
|
} = productServiceStore;
|
||||||
|
|
||||||
|
const { workNameItems } = storeToRefs(productServiceStore);
|
||||||
|
|
||||||
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';
|
||||||
|
|
||||||
|
|
@ -85,6 +96,7 @@ const stat = ref<
|
||||||
import { useI18n } from 'vue-i18n';
|
import { useI18n } from 'vue-i18n';
|
||||||
import { onMounted } from 'vue';
|
import { onMounted } from 'vue';
|
||||||
import { time } from 'console';
|
import { time } from 'console';
|
||||||
|
import { storeToRefs } from 'pinia';
|
||||||
|
|
||||||
const { t } = useI18n();
|
const { t } = useI18n();
|
||||||
|
|
||||||
|
|
@ -1528,7 +1540,11 @@ watch(currentStatus, async () => {
|
||||||
dialogTotalProduct = true;
|
dialogTotalProduct = true;
|
||||||
}
|
}
|
||||||
"
|
"
|
||||||
@manage-work-name="manageWorkNameDialog = true"
|
@manage-work-name="
|
||||||
|
() => {
|
||||||
|
manageWorkNameDialog = true;
|
||||||
|
}
|
||||||
|
"
|
||||||
@work-properties="
|
@work-properties="
|
||||||
(index) => {
|
(index) => {
|
||||||
currentWorkIndex = index;
|
currentWorkIndex = index;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue