From 3c100e16180fb66e6828153cb0c6146bbabad5e9 Mon Sep 17 00:00:00 2001 From: setthawutttty Date: Mon, 11 Nov 2024 16:32:46 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=80=E0=B8=A1=E0=B8=B7=E0=B9=88=E0=B8=AD?= =?UTF-8?q?=E0=B9=84=E0=B8=A1=E0=B9=88=E0=B9=84=E0=B8=94=E0=B9=89=E0=B9=80?= =?UTF-8?q?=E0=B8=A5=E0=B8=B7=E0=B8=AD=E0=B8=81=20tab=20old=20=E0=B9=80?= =?UTF-8?q?=E0=B9=80=E0=B8=A5=E0=B9=89=E0=B8=A7=E0=B8=81=E0=B8=94=E0=B8=AD?= =?UTF-8?q?=E0=B8=AD=E0=B8=81=E0=B9=80=E0=B8=94=E0=B9=89=E0=B8=87=E0=B8=81?= =?UTF-8?q?=E0=B8=A5=E0=B8=B1=E0=B8=9A=20tab=20=E0=B9=81=E0=B8=A3=E0=B8=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/02_organization/views/main.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/modules/02_organization/views/main.vue b/src/modules/02_organization/views/main.vue index 974fe7088..e96ee380d 100644 --- a/src/modules/02_organization/views/main.vue +++ b/src/modules/02_organization/views/main.vue @@ -126,6 +126,11 @@ function onClickHistory(id: string, name: string) { count.value++; } +function oldCloseSelect(){ + if(!store.historyId){ + store.typeOrganizational = 'current' + } +} async function workflowSystem() { showLoader(); http @@ -280,6 +285,8 @@ onMounted(async () => { :label="labelHistory" @click="store.typeOrganizational = 'old'" :outline="store.typeOrganizational === 'old' ? false : true" + @hide="oldCloseSelect()" + >