From d58f8e0b853177b4f0dddb518916daf078f9513a Mon Sep 17 00:00:00 2001 From: waruneeta Date: Wed, 11 Oct 2023 10:36:56 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=E0=B9=84=E0=B8=82?= =?UTF-8?q?=E0=B8=A3=E0=B8=B2=E0=B8=A2=E0=B8=81=E0=B8=B2=E0=B8=A3=E0=B9=81?= =?UTF-8?q?=E0=B8=95=E0=B9=88=E0=B8=87=E0=B8=95=E0=B8=B1=E0=B9=89=E0=B8=87?= =?UTF-8?q?=E0=B8=A5=E0=B8=B9=E0=B8=81=E0=B8=88=E0=B9=89=E0=B8=B2=E0=B8=87?= =?UTF-8?q?=E0=B8=9B=E0=B8=A3=E0=B8=B0=E0=B8=88=E0=B8=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/AppointEmployee/Main.vue | 266 ++++-------------- 1 file changed, 48 insertions(+), 218 deletions(-) diff --git a/src/modules/05_placement/components/AppointEmployee/Main.vue b/src/modules/05_placement/components/AppointEmployee/Main.vue index 00ccf841d..9595da53c 100644 --- a/src/modules/05_placement/components/AppointEmployee/Main.vue +++ b/src/modules/05_placement/components/AppointEmployee/Main.vue @@ -60,7 +60,7 @@ const visibleColumnsPosition = ref([ "organizationOrganizationName", "organizationAgencyName", "organizationGovernmentAgencyName", - "organizationShortNameName", + "organizationShortName", "organizationTypeName", "organizationLevelName", "positionEmployeeLineName", @@ -108,11 +108,11 @@ const columnsPosition = ref([ a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), }, { - name: "organizationShortNameName", + name: "organizationShortName", align: "left", label: "ชื่อย่อหน่วยงาน", sortable: true, - field: "organizationShortNameName", + field: "organizationShortName", headerStyle: "font-size: 14px", style: "font-size: 14px", sort: (a: string, b: string) => @@ -259,15 +259,9 @@ const fecthlistappointment = async () => { organizationName: e.organizationName + " " + - e.organizationShortName + - " " + - e.positionNumber + - " " + - e.positionPath, + e.organizationShortName, orgName: e.organizationName, organizationShortName: e.organizationShortName, - positionNumber: e.positionNumber, - positionPath: e.positionPath, status: statusText(e.status), createdAt: date2Thai(e.createdAt), birthday: e.dateOfBirth == null ? "-" : date2Thai(e.dateOfBirth), @@ -369,7 +363,7 @@ const getPosition = async (id: string) => { positionEmployeePositionName: r.positionEmployeePositionName, organizationAgencyName: r.organizationAgencyName, organizationGovernmentAgencyName: r.organizationGovernmentAgencyName, - organizationShortNameName: r.organizationShortNameName, + organizationShortName: r.organizationShortName, positionEmployeeLevels: r.positionEmployeeLevels, positionEmployeePositionSides: r.positionEmployeePositionSides, use: r.use, @@ -494,65 +488,27 @@ const savePosition = async () => {
- + ส่งไปออกคำสั่ง - + - +
- +