From bdb578e71f749a62c9f533997d3b557b73b60013 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Mon, 13 Jan 2025 09:59:26 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B8=9B=E0=B8=A3=E0=B8=B1=E0=B8=9A=20columns?= =?UTF-8?q?=20=E0=B8=A3=E0=B8=B2=E0=B8=A2=E0=B8=8A=E0=B8=B7=E0=B9=88?= =?UTF-8?q?=E0=B8=AD=E0=B8=81=E0=B8=A3=E0=B8=A3=E0=B8=A1=E0=B8=81=E0=B8=B2?= =?UTF-8?q?=E0=B8=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/Director/Form.vue | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/src/modules/12_evaluatePersonal/components/Director/Form.vue b/src/modules/12_evaluatePersonal/components/Director/Form.vue index a3df356ab..9ca77e7da 100644 --- a/src/modules/12_evaluatePersonal/components/Director/Form.vue +++ b/src/modules/12_evaluatePersonal/components/Director/Form.vue @@ -79,6 +79,7 @@ const rows = ref([]); const visibleColumnsRespondent = ref([ "info", "no", + "citizenId", "name", "position", "organization", @@ -102,6 +103,15 @@ const columnsRespondent = ref([ headerStyle: "font-size: 14px", style: "font-size: 14px", }, + { + name: "citizenId", + align: "left", + label: "เลขประจำตัวประชาชน", + sortable: false, + field: "citizenId", + headerStyle: "font-size: 14px", + style: "font-size: 14px", + }, { name: "name", align: "left", @@ -162,7 +172,7 @@ function searchInput() { showLoader(); const body = { fieldName: type.value, - keyword: search.value, + keyword: search.value ? search.value.trim() : "", }; http .post( @@ -190,6 +200,7 @@ function searchInput() { organization: e.organization ?? "-", phone: e.phone ?? "-", email: e.email ?? "-", + citizenId: e.citizenId ?? "-", })); rows.value = list; @@ -296,7 +307,6 @@ onMounted(async () => { hide-bottom-space dense label="คำค้น" - :rules="[(val:string) => !!val || `กรุณากรอกคำค้น`]" >