ปรับแก้ไข เปลี่ยนแปลงรอบ

This commit is contained in:
AnandaTon 2023-11-28 14:03:31 +07:00
parent 9100062af6
commit ea614b07c2
3 changed files with 106 additions and 39 deletions

View file

@ -37,11 +37,13 @@ const formData = reactive<dataPost>({
function Openmodal(check: string, detail: any) {
DataRow.value = detail;
modal.value = true;
console.log(DataRow.value.profileId);
dataStore.setProfileId(DataRow.value.profileId);
console.log(DataRow.value.profileId);
editCheck.value = check;
dataStore.fetchDatainHistory();
if (check === "history") {
modal.value = true;
dataStore.fetchDatainHistory();
}
console.log(detail);
}
@ -58,11 +60,6 @@ function searchData() {
dialogMessageNotify($q, "กรุณากรอกข้อมูลอย่างน้อย 1 ช่อง");
}
}
/** Hook */
onMounted(() => {
// dataStore.fetchDatainHistory();
});
</script>
<template>
<div class="toptitle text-dark col-12 row items-center">