ปรับ card

This commit is contained in:
setthawutttty 2024-03-14 12:07:00 +07:00
parent d0f721253c
commit 87c06a680e
5 changed files with 69 additions and 52 deletions

View file

@ -22,6 +22,7 @@ const {
date2Thai,
dateToISO,
dialogConfirm,
success
} = mixin;
const dataStore = useSalaryDataStore();
const year = ref<number>(0);
@ -151,6 +152,7 @@ function deleteData(id: string) {
.delete(config.API.salaryPeriod() + `/${id}`)
.then((res) => {
getData();
success($q,'ลบข้อมูลสำเร็จ')
})
.catch((e) => {
messageError($q, e);