ปรับแก้ไข เปลี่ยนแปลงรอบ
This commit is contained in:
parent
9100062af6
commit
ea614b07c2
3 changed files with 106 additions and 39 deletions
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue