รวมไฟล์แก้งานงวด2

This commit is contained in:
Kittapath 2023-07-10 10:10:46 +07:00
parent 79889c9464
commit 2249097b07
89 changed files with 11287 additions and 7048 deletions

View file

@ -452,6 +452,36 @@ export const useCounterMixin = defineStore("mixin", () => {
.onDismiss(() => {});
}
function modalWarning(q: any, title: string, message: string, ok?: Function) {
// q.dialog({
// title: `<span class="text-red">${title}</span>`,
// message: `<span class="text-black">${message}</span>`,
// ok: {
// push: true,
// color: "primary",
// },
// focus: "none",
// persistent: true,
// html: true,
// })
// .onOk(() => {
// if (ok != undefined) ok();
// })
// .onCancel(() => {})
// .onDismiss(() => {});
q.dialog({
component: CustomComponent,
componentProps: {
title: title,
message: message,
icon: "warning",
color: "warning",
onlycancel: true,
},
});
}
function modalConfirm(
q: any,
title: string,
@ -685,5 +715,6 @@ export const useCounterMixin = defineStore("mixin", () => {
typeRetire,
typeChangeName,
statusLeave,
modalWarning,
};
});