From dd5c3a42f63fd16462b004d2925ae9867c768ccf Mon Sep 17 00:00:00 2001 From: "STW_TTTY\\stwtt" Date: Fri, 9 Aug 2024 16:46:01 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B8=9B=E0=B8=A3=E0=B8=B0=E0=B8=81=E0=B8=B2?= =?UTF-8?q?=E0=B8=A8=E0=B9=80=E0=B8=81=E0=B8=A9=E0=B8=B5=E0=B8=A2=E0=B8=93?= =?UTF-8?q?=E0=B8=AD=E0=B8=B2=E0=B8=A2=E0=B8=B8=E0=B8=A3=E0=B8=B2=E0=B8=8A?= =?UTF-8?q?=E0=B8=81=E0=B8=B2=E0=B8=A3=20=E0=B8=AA=E0=B8=B4=E0=B8=97?= =?UTF-8?q?=E0=B8=98=E0=B8=B4=E0=B9=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/ListRetirement/TableList.vue | 80 +++++++------------ .../components/ListRetirement/popupAdd.vue | 2 +- src/modules/06_retirement/router.ts | 12 +++ src/modules/06_retirement/views/Main.vue | 41 ++++++++-- 4 files changed, 76 insertions(+), 59 deletions(-) diff --git a/src/modules/06_retirement/components/ListRetirement/TableList.vue b/src/modules/06_retirement/components/ListRetirement/TableList.vue index abf7be3e9..a171a9e5e 100644 --- a/src/modules/06_retirement/components/ListRetirement/TableList.vue +++ b/src/modules/06_retirement/components/ListRetirement/TableList.vue @@ -16,6 +16,7 @@ const personId = ref(""); /** Use */ const route = useRoute(); const router = useRouter(); +const checkRoutePermisson = ref(route.name == "retirementidDetail"); const $q = useQuasar(); const mixin = useCounterMixin(); const { @@ -455,6 +456,7 @@ function updatemodalPersonal(modal: boolean) { :profile-id="profileId" :UpdateListId="UpdateListId" v-if=" + !checkRoutePermisson && statusReport === false && (typeReport == 'ADD' || typeReport == '' || typeReport == null) && statusUpload !== true @@ -471,7 +473,7 @@ function updatemodalPersonal(modal: boolean) { (modalUpload = true), (signDate = null), (fileUpload = null) " target="_blank" - v-if="statusUpload !== true" + v-if="statusUpload !== true && !checkRoutePermisson" > อัปโหลดไฟล์ แก้ไข มติ อ.ก.ก. - + - -
{{ col.title }} @@ -619,19 +602,20 @@ function updatemodalPersonal(modal: boolean) { }}
-