fix class nodalfix ==> 05_leave
This commit is contained in:
parent
7081399c2f
commit
ecc0a27ec7
16 changed files with 317 additions and 321 deletions
|
|
@ -1,6 +1,5 @@
|
|||
import { defineStore } from "pinia";
|
||||
import { ref } from "vue";
|
||||
import { useQuasar } from "quasar";
|
||||
|
||||
import http from "@/plugins/http";
|
||||
import config from "@/app.config";
|
||||
|
|
@ -19,7 +18,6 @@ import type { DataOption } from "../14_IDP/interface/Main";
|
|||
|
||||
const mixin = useCounterMixin();
|
||||
const { date2Thai, messageError, showLoader, hideLoader } = mixin;
|
||||
const $q = useQuasar();
|
||||
const type = ref<string>("00000000-0000-0000-0000-000000000000");
|
||||
const status = ref<string>("ALL");
|
||||
export const useLeaveStore = defineStore("Leave", () => {
|
||||
|
|
@ -344,7 +342,7 @@ export const useLeaveStore = defineStore("Leave", () => {
|
|||
Number(data.leaveLimit) - Number(data.restDayTotalOld);
|
||||
})
|
||||
.catch((e: any) => {
|
||||
messageError($q, e);
|
||||
console.log(e);
|
||||
})
|
||||
.finally(() => {
|
||||
hideLoader();
|
||||
|
|
@ -368,7 +366,7 @@ export const useLeaveStore = defineStore("Leave", () => {
|
|||
Number(data.leaveLimit) - Number(data.restDayTotalOld);
|
||||
})
|
||||
.catch((e: any) => {
|
||||
messageError($q, e);
|
||||
console.log(e);
|
||||
});
|
||||
|
||||
dateSendLeave.value = data.dateSendLeave;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue