From 97c5c88721f78043900bb1bd43565ee37a0e0ce8 Mon Sep 17 00:00:00 2001 From: puriphatt Date: Fri, 19 Jul 2024 04:16:07 +0000 Subject: [PATCH] fix: 01 sub branch stat, hold dialog, tree table --- src/pages/01_branch-management/MainPage.vue | 129 +++++++++++++++++--- 1 file changed, 110 insertions(+), 19 deletions(-) diff --git a/src/pages/01_branch-management/MainPage.vue b/src/pages/01_branch-management/MainPage.vue index 05aa18ee..59fb474d 100644 --- a/src/pages/01_branch-management/MainPage.vue +++ b/src/pages/01_branch-management/MainPage.vue @@ -30,7 +30,7 @@ const $q = useQuasar(); const { t } = useI18n(); const utilsStore = useUtilsStore(); -const labelBtnStatus = ref(t('all')); +const holdDialog = ref(false); const columns = [ { @@ -492,6 +492,11 @@ function changeTitle( return ''; } +function handleHold() { + if ($q.screen.gt.xs) return; + holdDialog.value = true; +} + watch(locale, () => { fieldSelectedBranch.value = { label: t(`${fieldSelectedBranch.value.label}`), @@ -524,13 +529,26 @@ watch( style="transition: 0.1s ease-in-out" /> - @@ -568,10 +586,10 @@ watch(