From a6df50d483e81178f062575d0697ea8ea5513db5 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Tue, 25 Feb 2025 15:53:47 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B8=A3=E0=B8=B2=E0=B8=A2=E0=B8=8A=E0=B8=B7?= =?UTF-8?q?=E0=B9=88=E0=B8=AD=E0=B8=A5=E0=B8=B9=E0=B8=81=E0=B8=88=E0=B9=89?= =?UTF-8?q?=E0=B8=B2=E0=B8=87=E0=B8=8A=E0=B8=B1=E0=B9=88=E0=B8=A7=E0=B8=84?= =?UTF-8?q?=E0=B8=A3=E0=B8=B2=E0=B8=A7=20=3D=3D>=20sorttable?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/DialogSendOrder.vue | 20 ++++++++--------- .../08_registryEmployee/views/Main.vue | 22 +++++++++---------- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/src/modules/08_registryEmployee/components/DialogSendOrder.vue b/src/modules/08_registryEmployee/components/DialogSendOrder.vue index 9dcfceb1b..07e338c05 100644 --- a/src/modules/08_registryEmployee/components/DialogSendOrder.vue +++ b/src/modules/08_registryEmployee/components/DialogSendOrder.vue @@ -54,7 +54,7 @@ const columns = ref([ name: "citizenId", align: "left", label: "เลขประจำตัวประชาชน", - sortable: true, + sortable: false, field: "citizenId", headerStyle: "font-size: 14px; min-width: 200px", style: "font-size: 14px; ", @@ -63,7 +63,7 @@ const columns = ref([ name: "fullname", align: "left", label: "ชื่อ-นามสกุล", - sortable: true, + sortable: false, field: "fullname", format(val, row) { return `${row.prefix}${row.firstName} ${row.lastName}`; @@ -75,7 +75,7 @@ const columns = ref([ name: "draftOrganizationOrganization", align: "left", label: "หน่วยงานที่รับการบรรจุ", - sortable: true, + sortable: false, field: "draftOrganizationOrganization", headerStyle: "font-size: 14px", style: "font-size: 14px", @@ -85,7 +85,7 @@ const columns = ref([ name: "govAge", align: "left", label: "อายุราชการ(ปี)", - sortable: true, + sortable: false, field: "govAge", format(val) { return val; @@ -97,7 +97,7 @@ const columns = ref([ name: "dateEmployment", align: "left", label: "วันที่จ้าง", - sortable: true, + sortable: false, field: "dateEmployment", format: (val) => date2Thai(val), headerStyle: "font-size: 14px", @@ -108,7 +108,7 @@ const columns = ref([ name: "salaryDate", align: "left", label: "วันที่แต่งตั้ง", - sortable: true, + sortable: false, field: "salaryDate", headerStyle: "font-size: 14px", style: "font-size: 14px", @@ -117,7 +117,7 @@ const columns = ref([ name: "age", align: "left", label: "อายุ", - sortable: true, + sortable: false, field: "age", headerStyle: "font-size: 14px", style: "font-size: 14px", @@ -126,7 +126,7 @@ const columns = ref([ name: "createdAt", align: "left", label: "วันที่สร้าง", - sortable: true, + sortable: false, field: "createdAt", format(val) { return date2Thai(val); @@ -138,7 +138,7 @@ const columns = ref([ name: "dateRetireLaw", align: "left", label: "วันที่พ้นราชการ", - sortable: true, + sortable: false, field: "dateRetireLaw", format(val) { return date2Thai(val); @@ -150,7 +150,7 @@ const columns = ref([ name: "statustext", align: "left", label: "สถานะ", - sortable: true, + sortable: false, field: "statustext", format(val, row) { return statusText(row.draftOrgEmployeeStatus); diff --git a/src/modules/08_registryEmployee/views/Main.vue b/src/modules/08_registryEmployee/views/Main.vue index 1108e0ae8..80b25ec3a 100644 --- a/src/modules/08_registryEmployee/views/Main.vue +++ b/src/modules/08_registryEmployee/views/Main.vue @@ -71,7 +71,7 @@ const columns = ref([ name: "citizenId", align: "left", label: "เลขประจำตัวประชาชน", - sortable: true, + sortable: false, field: "citizenId", headerStyle: "font-size: 14px; min-width: 200px", style: "font-size: 14px; ", @@ -80,7 +80,7 @@ const columns = ref([ name: "fullname", align: "left", label: "ชื่อ-นามสกุล", - sortable: true, + sortable: false, field: "fullname", format(val, row) { return `${row.prefix}${row.firstName} ${row.lastName}`; @@ -92,7 +92,7 @@ const columns = ref([ name: "draftOrganizationOrganization", align: "left", label: "หน่วยงานที่รับการบรรจุ", - sortable: true, + sortable: false, field: "draftOrganizationOrganization", headerStyle: "font-size: 14px", style: "font-size: 14px", @@ -101,7 +101,7 @@ const columns = ref([ name: "draftPositionEmployee", align: "left", label: "หน่วยงานที่บรรจุ", - sortable: true, + sortable: false, field: "draftPositionEmployee", headerStyle: "font-size: 14px; min-width: 200px", style: "font-size: 14px; ", @@ -111,7 +111,7 @@ const columns = ref([ name: "govAge", align: "left", label: "อายุราชการ(ปี)", - sortable: true, + sortable: false, field: "govAge", format(val) { return val; @@ -123,7 +123,7 @@ const columns = ref([ name: "dateEmployment", align: "left", label: "วันที่จ้าง", - sortable: true, + sortable: false, field: "dateEmployment", format: (val) => date2Thai(val), headerStyle: "font-size: 14px", @@ -134,7 +134,7 @@ const columns = ref([ name: "dateAppoint", align: "left", label: "วันที่แต่งตั้ง", - sortable: true, + sortable: false, field: "dateAppoint", headerStyle: "font-size: 14px", format: (val) => date2Thai(val), @@ -144,7 +144,7 @@ const columns = ref([ name: "age", align: "left", label: "อายุ", - sortable: true, + sortable: false, field: "age", headerStyle: "font-size: 14px", style: "font-size: 14px", @@ -153,7 +153,7 @@ const columns = ref([ name: "createdAt", align: "left", label: "วันที่สร้าง", - sortable: true, + sortable: false, field: "createdAt", format(val) { return date2Thai(val); @@ -165,7 +165,7 @@ const columns = ref([ name: "dateRetireLaw", align: "left", label: "วันที่พ้นราชการ", - sortable: true, + sortable: false, field: "dateRetireLaw", format(val) { return date2Thai(val); @@ -177,7 +177,7 @@ const columns = ref([ name: "statustext", align: "left", label: "สถานะ", - sortable: true, + sortable: false, field: "statustext", format(val, row) { return statusText(row.draftOrgEmployeeStatus);