- แก้ error type ของพวกทะเบียนประวัติ
- ปรับ code ส่วนของทะเบียนประวัติลูกจ้าง
This commit is contained in:
parent
b3abe902fa
commit
eea8ce1b6d
41 changed files with 8235 additions and 9890 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue