From fa6d916e3665cc4d758dc565f5d904f6df02d819 Mon Sep 17 00:00:00 2001 From: setthawutttty Date: Tue, 6 Jun 2023 18:01:56 +0700 Subject: [PATCH] btn right --- .../components/PlacementTable.vue | 153 ++++++++++++------ .../components/PlacementTableView.vue | 2 +- .../interface/request/placement.ts | 1 + 3 files changed, 104 insertions(+), 52 deletions(-) diff --git a/src/modules/05_placement/components/PlacementTable.vue b/src/modules/05_placement/components/PlacementTable.vue index 36f2844e3..ea850ef46 100644 --- a/src/modules/05_placement/components/PlacementTable.vue +++ b/src/modules/05_placement/components/PlacementTable.vue @@ -66,7 +66,7 @@ const columns = ref([ }, { name: "BMAOfficer", - align: "left", + align: "center", label: "ข้าราชการฯ กทม.", sortable: true, field: "BMAOfficer", @@ -77,7 +77,7 @@ const columns = ref([ }, { name: "Status", - align: "left", + align: "center", label: "สถานะการบรรจุ", sortable: true, field: "Status", @@ -86,30 +86,63 @@ const columns = ref([ sort: (a: string, b: string) => a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), }, - ]); -const rows = [{ - position: 1, - Name: "setthawut", - ExamOrder: 1, - Unit: "chamomind", - ReportingDate: "30 พ.ค. 2566", //วันที่รายงานตัว - BMAOfficer: true, - Status: "บรรจุเเล้ว", - - -}, -{ - position: 1, - Name: "setthawut", - ExamOrder: 1, - Unit: "chamomind", - ReportingDate: "30 พ.ค. 2566", //วันที่รายงานตัว - BMAOfficer: true, - Status: "บรรจุเเล้ว", - - -}, +const rows = [ + { + position: 1, + Name: "setthawut", + ExamOrder: 1, + Unit: "chamomind", + ReportingDate: "30 พ.ค. 2566", //วันที่รายงานตัว + BMAOfficer: true, + Status: "บรรจุเเล้ว", + }, + { + position: 1, + Name: "setthawut", + ExamOrder: 1, + Unit: "chamomind", + ReportingDate: "30 พ.ค. 2566", //วันที่รายงานตัว + BMAOfficer: true, + Status: "ยังไม่บรรจุ", + }, + { + position: 1, + Name: "setthawut", + ExamOrder: 1, + Unit: "chamomind", + ReportingDate: "30 พ.ค. 2566", //วันที่รายงานตัว + BMAOfficer: true, + Status: "เตรียมบรรจุ", + }, + + { + position: 1, + Name: "setthawut", + ExamOrder: 1, + Unit: "chamomind", + ReportingDate: "30 พ.ค. 2566", //วันที่รายงานตัว + BMAOfficer: true, + Status: "เตรียมบรรจุ", + }, + + { + position: 1, + Name: "setthawut", + ExamOrder: 1, + Unit: "chamomind", + ReportingDate: "30 พ.ค. 2566", //วันที่รายงานตัว + BMAOfficer: true, + Status: "เตรียมบรรจุ", + },{ + position: 1, + Name: "setthawut", + ExamOrder: 1, + Unit: "chamomind", + ReportingDate: "30 พ.ค. 2566", //วันที่รายงานตัว + BMAOfficer: true, + Status: "บรรจุเเล้ว", + }, ]; const clickCancel = async () => { @@ -117,31 +150,26 @@ const clickCancel = async () => { }; diff --git a/src/modules/05_placement/components/PlacementTableView.vue b/src/modules/05_placement/components/PlacementTableView.vue index 3469b7213..5e6687ca8 100644 --- a/src/modules/05_placement/components/PlacementTableView.vue +++ b/src/modules/05_placement/components/PlacementTableView.vue @@ -188,7 +188,7 @@ -