From 97879802b12cfd070dc7d32b79476baa212adabb Mon Sep 17 00:00:00 2001 From: setthawutttty Date: Mon, 2 Dec 2024 15:12:53 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=20select=20/input?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Dialogs/AddPersonal.vue | 13 +++----- .../components/probation/ProbationDetail.vue | 2 +- .../components/1_Complaint/Form.vue | 6 ++++ .../components/1_Complaint/MainPage.vue | 13 +++----- .../components/2_InvestigateFacts/Form.vue | 8 ++++- .../2_InvestigateFacts/MainPage.vue | 13 +++----- .../3_InvestigateDisciplinary/Form.vue | 10 +++++- .../3_InvestigateDisciplinary/MainPage.vue | 2 +- .../3_InvestigateDisciplinary/Table.vue | 11 ++----- .../4_Result/DialogSendToCommand.vue | 13 +++----- .../components/4_Result/EditPage.vue | 2 +- .../components/4_Result/MainPage.vue | 2 +- .../components/4_Result/Table.vue | 12 ++----- .../6_BasicInformation/Channel/MainPage.vue | 11 ++----- .../6_BasicInformation/Director/Form.vue | 6 ++-- .../6_BasicInformation/Director/MainPage.vue | 10 ++---- .../7_ListSuspend/DialogSendToCommand.vue | 15 +++------ .../components/7_ListSuspend/ListsPage.vue | 11 ++----- .../components/8_AppealComplain/Form.vue | 4 +++ .../components/8_AppealComplain/MainPage.vue | 14 ++++---- .../components/DialogDirector.vue | 10 ++---- .../components/PopupSendToNext.vue | 16 ++++------ .../Detail/viewTab2/DialogDirector.vue | 10 ++---- .../components/Detail/viewTab2/DialogMeet.vue | 10 ++---- .../components/Director/Form.vue | 5 ++- .../components/Director/MainPage.vue | 11 ++----- .../components/Meeting/MainPage.vue | 11 ++----- .../12_evaluatePersonal/views/MainPage.vue | 10 ++---- .../02_salaryEmployee/DialogFormCriteria.vue | 2 ++ .../02_salaryEmployee/TabCriteria.vue | 4 ++- .../02_salaryEmployee/TabStructure.vue | 2 +- src/modules/13_salary/views/01_salaryMain.vue | 2 +- .../13_salary/views/04_salaryLists.vue | 3 +- .../views/05_salaryListsEmployee.vue | 3 +- .../components/results/tableIndividual.vue | 12 ++----- .../components/results/tableResults.vue | 10 ++---- src/modules/14_KPI/views/02_kpiLists.vue | 14 ++++---- src/modules/14_KPI/views/03_results.vue | 2 +- .../15_development/components/BasicInfo.vue | 10 ++---- .../15_development/components/Other.vue | 2 ++ .../components/ProjectDetail.vue | 24 ++++---------- .../15_development/views/EmployeeHistory.vue | 12 ++----- src/modules/15_development/views/History.vue | 12 ++----- src/modules/15_development/views/MainPage.vue | 32 +++---------------- .../15_development/views/Scholarship.vue | 10 ++---- 45 files changed, 138 insertions(+), 279 deletions(-) diff --git a/src/components/Dialogs/AddPersonal.vue b/src/components/Dialogs/AddPersonal.vue index 5d5bcb889..11b775c96 100644 --- a/src/components/Dialogs/AddPersonal.vue +++ b/src/components/Dialogs/AddPersonal.vue @@ -49,8 +49,7 @@ const selected = ref([]); const typeOps = ref([ { id: "citizenId", name: "เลขประจำตัวประชาชน" }, - { id: "firstname", name: "ชื่อ" }, - { id: "lastname", name: "นามสกุล" }, + { id: "fullName", name: "ชื่อ-นามสกุล" }, ]); /** รับค่ามาจาก หน้าหลัก */ @@ -131,12 +130,11 @@ async function getSearch() { showLoader(); const body = { fieldName: type.value, - keyword: search.value, + keyword: search.value ? search.value.trim():'', }; await http .post( - config.API.orgSearchPersonal() + - `?page=${pagination.value.page}&pageSize=${pagination.value.rowsPerPage}&searchKeyword=${search.value}`, + config.API.orgSearchPersonal(), body ) .then((res) => { @@ -236,7 +234,7 @@ watch( -
+