ทะเบียนประวัติ: แก้ไอคอน, คำ

This commit is contained in:
puriphatt 2024-03-29 12:32:19 +07:00
parent 5dedd1e210
commit bf8b9b1e6e
13 changed files with 69 additions and 69 deletions

View file

@ -200,29 +200,13 @@ async function getData() {
});
}
// async function deleteData(id: string) {
// showLoader();
// await http
// .delete(config.API.profileNewOtherById(id))
// .then((res) => {
// success($q, "");
// getData();
// })
// .catch((e) => {
// messageError($q, e);
// })
// .finally(() => {
// hideLoader();
// });
// }
onMounted(() => {
getData();
});
</script>
<template>
<div class="row items-center q-gutter-x-sm q-py-sm">
<q-btn color="teal-5" icon="add" flat round @click="openDialogAdd()"
<q-btn color="primary" icon="add" flat round @click="openDialogAdd()"
><q-tooltip>เพมขอม</q-tooltip></q-btn
>
@ -350,19 +334,6 @@ onMounted(() => {
>
<q-tooltip>ประวแกไขอนๆ</q-tooltip>
</q-btn>
<!-- <q-btn
flat
dense
round
size="14px"
color="red"
icon="mdi-delete"
@click="
dialogRemove($q, async () => await deleteData(props.row.id))
"
>
<q-tooltip>ลบขอม</q-tooltip>
</q-btn> -->
</q-td>
</q-tr>
</template>
@ -373,7 +344,7 @@ onMounted(() => {
<q-space />
<div class="q-gutter-x-sm">
<q-btn
color="teal-5"
color="primary"
icon="mdi-pencil-outline"
flat
round