From 5706e8616cd8a7445700413a501583965a9357c0 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Wed, 30 Oct 2024 14:00:23 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B8=AD=E0=B8=AD=E0=B8=81=E0=B8=84=E0=B8=B3?= =?UTF-8?q?=E0=B8=AA=E0=B8=B1=E0=B9=88=E0=B8=87=20Promission?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../18_command/components/Main/TableMain.vue | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/modules/18_command/components/Main/TableMain.vue b/src/modules/18_command/components/Main/TableMain.vue index a0b61a8fc..e05e976f2 100644 --- a/src/modules/18_command/components/Main/TableMain.vue +++ b/src/modules/18_command/components/Main/TableMain.vue @@ -236,15 +236,18 @@ onMounted(() => { color="secondary" icon="mdi-dots-horizontal-circle-outline" v-if=" - store.tabsMain === 'DRAFT' || - store.tabsMain === 'PENDING' || - store.tabsMain === 'CANCEL' + store.tabsMain === 'DRAFT' || store.tabsMain === 'PENDING' ? checkPermission($route)?.attrIsGet || checkPermission($route)?.attrIsCreate || - checkPermission($route)?.attrIsDelete + checkPermission($route)?.attrIsDelete || + checkPermission($route)?.attrIsUpdate : store.tabsMain === 'WAITING' || store.tabsMain === 'REPORTED' ? checkPermission($route)?.attrIsGet || checkPermission($route)?.attrIsCreate + : store.tabsMain === 'CANCEL' + ? checkPermission($route)?.attrIsGet || + checkPermission($route)?.attrIsCreate || + checkPermission($route)?.attrIsDelete : '' " > @@ -257,7 +260,7 @@ onMounted(() => { store.tabsMain !== 'CANCEL' && store.tabsMain !== 'REPORTED' && checkPermission($route)?.attrIsGet && - checkPermission($route)?.attrIsCreate + checkPermission($route)?.attrIsUpdate " clickable v-close-popup