- แก้ error type ของพวกทะเบียนประวัติ

- ปรับ code ส่วนของทะเบียนประวัติลูกจ้าง
This commit is contained in:
Warunee Tamkoo 2023-09-20 00:44:21 +07:00
parent b3abe902fa
commit eea8ce1b6d
41 changed files with 8235 additions and 9890 deletions

View file

@ -253,7 +253,7 @@ export const useCounterMixin = defineStore("mixin", () => {
);
}
function appendLeadingZeroes(n: Number) {
function appendLeadingZeroes(n: number) {
if (n <= 9) return "0" + n;
return n;
}
@ -313,7 +313,6 @@ export const useCounterMixin = defineStore("mixin", () => {
const messageError = (q: any, e: any = "") => {
// q.dialog.hide();
console.log("e.response", e.response);
if (e.response !== undefined) {
if (e.response.data.status !== undefined) {
if (e.response.data.status == 401) {