From 4056f44eaa6932d71c54f1158289456840b7415e Mon Sep 17 00:00:00 2001 From: setthawutttty Date: Fri, 9 Feb 2024 14:16:34 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=20=E0=B8=81?= =?UTF-8?q?=E0=B8=B2=E0=B8=A3=E0=B8=A5=E0=B8=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/04_registry/components/Leave.vue | 16 ++-------------- src/modules/04_registry/components/Table.vue | 2 +- 2 files changed, 3 insertions(+), 15 deletions(-) diff --git a/src/modules/04_registry/components/Leave.vue b/src/modules/04_registry/components/Leave.vue index f91c1f441..3a4deaa7b 100644 --- a/src/modules/04_registry/components/Leave.vue +++ b/src/modules/04_registry/components/Leave.vue @@ -57,7 +57,7 @@ {{ col.value }} - + @@ -705,8 +705,6 @@ const columns = ref([ field: "leaveYear", headerStyle: "font-size: 14px", style: "font-size: 14px", - sort: (a: string, b: string) => - a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), }, { name: "sumSick", @@ -716,8 +714,6 @@ const columns = ref([ field: "sumSick", headerStyle: "font-size: 14px", style: "font-size: 14px", - sort: (a: string, b: string) => - a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), }, { name: "sumRest", @@ -727,8 +723,6 @@ const columns = ref([ field: "sumRest", headerStyle: "font-size: 14px", style: "font-size: 14px", - sort: (a: string, b: string) => - a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), }, { name: "sumLate", @@ -738,8 +732,6 @@ const columns = ref([ field: "sumLate", headerStyle: "font-size: 14px", style: "font-size: 14px", - sort: (a: string, b: string) => - a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), }, { name: "sumAbsent", @@ -749,8 +741,6 @@ const columns = ref([ field: "sumAbsent", headerStyle: "font-size: 14px", style: "font-size: 14px", - sort: (a: string, b: string) => - a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), }, { name: "sumEducation", @@ -760,8 +750,6 @@ const columns = ref([ field: "sumEducation", headerStyle: "font-size: 14px", style: "font-size: 14px", - sort: (a: string, b: string) => - a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), }, ]); diff --git a/src/modules/04_registry/components/Table.vue b/src/modules/04_registry/components/Table.vue index 8dcc7a4d7..5d8468f73 100644 --- a/src/modules/04_registry/components/Table.vue +++ b/src/modules/04_registry/components/Table.vue @@ -74,7 +74,7 @@ {{ col.label }} - +