From d1f1ba817cfaa8eb6d5e75427cb7c123ece530a6 Mon Sep 17 00:00:00 2001 From: waruneeta Date: Fri, 28 Jul 2023 17:25:26 +0700 Subject: [PATCH] =?UTF-8?q?popup=20=E0=B9=80=E0=B8=AB=E0=B8=95=E0=B8=B8?= =?UTF-8?q?=E0=B8=9C=E0=B8=A5=E0=B9=81=E0=B8=81=E0=B9=89=E0=B9=84=E0=B8=82?= =?UTF-8?q?=E0=B9=80=E0=B8=81=E0=B8=A9=E0=B8=B5=E0=B8=A2=E0=B8=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/ListRetirement/TableList.vue | 166 +++++------------- 1 file changed, 43 insertions(+), 123 deletions(-) diff --git a/src/modules/06_retirement/components/ListRetirement/TableList.vue b/src/modules/06_retirement/components/ListRetirement/TableList.vue index 22704c6c7..33ef58904 100644 --- a/src/modules/06_retirement/components/ListRetirement/TableList.vue +++ b/src/modules/06_retirement/components/ListRetirement/TableList.vue @@ -34,15 +34,15 @@ const columns = ref([ headerStyle: "font-size: 14px", style: "font-size: 14px", }, - /* { - name: "fixname", - align: "left", - label: "คำนำหน้านาม", - title: "คำนำหน้านาม", - field: "fixname", - headerStyle: "font-size: 14px", - style: "font-size: 14px", - }, */ + /* { + name: "fixname", + align: "left", + label: "คำนำหน้านาม", + title: "คำนำหน้านาม", + field: "fixname", + headerStyle: "font-size: 14px", + style: "font-size: 14px", + }, */ { name: "name", align: "left", @@ -253,8 +253,8 @@ const clickDelete = (prop: any) => { } else await fecthlist(retireld_params); }); }) - .onCancel(() => {}) - .onDismiss(() => {}); + .onCancel(() => { }) + .onDismiss(() => { }); }; // note const fetchReason = async (prop: string) => { @@ -269,6 +269,7 @@ const fetchReason = async (prop: string) => { messageError($q, e); }); }; + const saveNote = () => { $q.dialog({ title: "ยืนยันการบันทึกข้อมูลข้อมูล", @@ -297,8 +298,8 @@ const saveNote = () => { modalNote.value = false; }); }) - .onCancel(() => {}) - .onDismiss(() => {}); + .onCancel(() => { }) + .onDismiss(() => { }); }; const UpdateListId = (retireld: string, pId: string) => { @@ -361,26 +362,13 @@ const paginationLabel = (start: number, end: number, total: number) => { @@ -566,38 +502,19 @@ const paginationLabel = (start: number, end: number, total: number) => { - กรอกเหตุผล + กรอกเหตุผล - + - + - + @@ -623,13 +540,16 @@ const paginationLabel = (start: number, end: number, total: number) => { position: sticky; z-index: 1; } + .q-table thead tr:last-child th { top: 48px; } + .q-table thead tr:first-child th { top: 0; } } + .q-btn-dropdown__arrow { display: none; }