From 47e96ddec5b7376d4d42d34d7db03925ab7d4077 Mon Sep 17 00:00:00 2001 From: Kittapath Date: Mon, 5 Feb 2024 12:54:28 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=E0=B8=8A=E0=B8=B7?= =?UTF-8?q?=E0=B9=88=E0=B8=AD=E0=B8=9F=E0=B8=B4=E0=B8=A7=E0=B8=95=E0=B8=B3?= =?UTF-8?q?=E0=B9=81=E0=B8=AB=E0=B8=99=E0=B9=88=E0=B8=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/04_registry/components/Salary.vue | 85 +++++++++---------- 1 file changed, 41 insertions(+), 44 deletions(-) diff --git a/src/modules/04_registry/components/Salary.vue b/src/modules/04_registry/components/Salary.vue index d7a315397..e62ffb75f 100644 --- a/src/modules/04_registry/components/Salary.vue +++ b/src/modules/04_registry/components/Salary.vue @@ -1140,22 +1140,22 @@ const columns = ref([ a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), }, { - name: "oc", + name: "orgName", align: "left", - label: "สังกัด", + label: "หน่วยงาน", sortable: true, - field: "oc", + field: "orgName", headerStyle: "font-size: 14px", style: "font-size: 14px", sort: (a: string, b: string) => a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), }, { - name: "position", + name: "agencyName", align: "left", - label: "ตำแหน่ง", + label: "ส่วนราชการ", sortable: true, - field: "position", + field: "agencyName", headerStyle: "font-size: 14px", style: "font-size: 14px", sort: (a: string, b: string) => @@ -1172,28 +1172,28 @@ const columns = ref([ sort: (a: string, b: string) => a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), }, - { - name: "positionLine", - align: "left", - label: "สายงาน", - sortable: true, - field: "positionLine", - headerStyle: "font-size: 14px", - style: "font-size: 14px", - sort: (a: string, b: string) => - a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), - }, - { - name: "positionPathSide", - align: "left", - label: "ด้าน/สาขา", - sortable: true, - field: "positionPathSide", - headerStyle: "font-size: 14px", - style: "font-size: 14px", - sort: (a: string, b: string) => - a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), - }, + // { + // name: "positionLine", + // align: "left", + // label: "สายงาน", + // sortable: true, + // field: "positionLine", + // headerStyle: "font-size: 14px", + // style: "font-size: 14px", + // sort: (a: string, b: string) => + // a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), + // }, + // { + // name: "positionPathSide", + // align: "left", + // label: "ด้าน/สาขา", + // sortable: true, + // field: "positionPathSide", + // headerStyle: "font-size: 14px", + // style: "font-size: 14px", + // sort: (a: string, b: string) => + // a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), + // }, { name: "positionType", align: "left", @@ -1216,17 +1216,17 @@ const columns = ref([ sort: (a: string, b: string) => a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), }, - { - name: "positionExecutive", - align: "left", - label: "ตำแหน่งทางการบริหาร", - sortable: true, - field: "positionExecutive", - headerStyle: "font-size: 14px", - style: "font-size: 14px", - sort: (a: string, b: string) => - a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), - }, + // { + // name: "positionExecutive", + // align: "left", + // label: "ตำแหน่งทางการบริหาร", + // sortable: true, + // field: "positionExecutive", + // headerStyle: "font-size: 14px", + // style: "font-size: 14px", + // sort: (a: string, b: string) => + // a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), + // }, // { // name: "positionExecutiveSide", // align: "left", @@ -1477,8 +1477,8 @@ const visibleColumnsHistory = ref([ "amount", "positionSalaryAmount", "mouthSalaryAmount", - "oc", - "position", + "orgName", + "agencyName", "posNo", "positionLine", "positionPathSide", @@ -1987,9 +1987,6 @@ const saveData = async () => { // salaryClass: salaryClass.value, salaryRef: salaryRef.value, refCommandNo: refCommandNo.value, - orgName: orgName.value, - agencyName: agencyName.value, - cLevel: cLevel.value, }) .then((res) => { success($q, "บันทึกข้อมูลสำเร็จ");