This commit is contained in:
Warunee Tamkoo 2023-12-23 21:51:15 +07:00
parent 43e36b7b74
commit 6eed463eb5
6 changed files with 313 additions and 190 deletions

View file

@ -32,7 +32,7 @@ const props = defineProps({
default: () => "",
}
});
const { showLoader, hideLoader, messageError, dialogConfirm } = mixin;
const { showLoader, hideLoader, messageError, dialogConfirm, success } = mixin;
const columns = ref<QTableProps["columns"]>([
{
@ -155,7 +155,7 @@ function returnDirector(data: any) {
directors: dataList,
})
.then((res) => {
console.log(res);
success($q, "บันทึกสำเร็จ")
})
.catch((e) => {
messageError($q, e);