ปรับ dialog บรรจุ

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2023-08-17 11:40:46 +07:00
parent 508fb3b02b
commit 1881aa1b2f
23 changed files with 1064 additions and 1072 deletions

View file

@ -208,7 +208,7 @@ const pagination = ref({
});
const mixin = useCounterMixin();
const { dateText } = mixin;
const { dateText, dialogRemove } = mixin;
// . .
const textDate = (value: Date) => {
@ -489,20 +489,7 @@ const redirectToPage = (id?: number) => {
};
const clickDelete = (id: string) => {
$q.dialog({
title: "ยืนยันการลบข้อมูล",
message: "ต้องการลบข้อมูลนี้ใช่หรือไม่?",
cancel: {
flat: true,
color: "negative",
},
persistent: true,
})
.onOk(async () => {
// await deleteData(id);
})
.onCancel(() => {})
.onDismiss(() => {});
dialogRemove($q);
};
// const deleteData = async (id: string) => {