From b598f761c42ff2c099ca41f9c00ce7bc10c50f29 Mon Sep 17 00:00:00 2001 From: waruneeauy Date: Wed, 21 Aug 2024 11:36:52 +0700 Subject: [PATCH] updated retire --- .../components/ListRetirement/TableList.vue | 46 +++++++++++-------- 1 file changed, 28 insertions(+), 18 deletions(-) diff --git a/src/modules/06_retirement/components/ListRetirement/TableList.vue b/src/modules/06_retirement/components/ListRetirement/TableList.vue index 0a6065621..caddb0cd7 100644 --- a/src/modules/06_retirement/components/ListRetirement/TableList.vue +++ b/src/modules/06_retirement/components/ListRetirement/TableList.vue @@ -327,7 +327,7 @@ const uploadFile = async (event: any, signDate: any) => { config.API.fileRetirement(retireld.value.toString()), formdata ) - .then(async(res) => { + .then(async (res) => { fileUpload.value = null; signDate.value = null; modalUpload.value = false; @@ -339,9 +339,7 @@ const uploadFile = async (event: any, signDate: any) => { .catch((err) => { messageError($q, err); }) - .finally(() => { - - }); + .finally(() => {}); }, "ยืนยันการอัปโหลดเอกสาร", "ต้องการยืนยันการอัปโหลดเอกสารนี้หรือไม่ ?" @@ -458,9 +456,9 @@ function updatemodalPersonal(modal: boolean) { :UpdateListId="UpdateListId" v-if=" !checkRoutePermisson && - statusReport === false && + !statusReport && (typeReport == 'ADD' || typeReport == '' || typeReport == null) && - statusUpload !== true + !statusUpload " /> @@ -474,7 +472,7 @@ function updatemodalPersonal(modal: boolean) { (modalUpload = true), (signDate = null), (fileUpload = null) " target="_blank" - v-if="statusUpload !== true && !checkRoutePermisson" + v-if="!statusUpload && !checkRoutePermisson" > - + ดูข้อมูลในทะเบียนประวัติ ข้อมูลดูเหตุผล - +
@@ -747,9 +754,12 @@ function updatemodalPersonal(modal: boolean) {
- + - +