From d8051703ec1f42bdefb51a906ae36a2161c46efb Mon Sep 17 00:00:00 2001 From: puriphatt Date: Thu, 24 Oct 2024 13:45:42 +0700 Subject: [PATCH] fix(04): search id, flow dialog --- src/pages/04_product-service/MainPage.vue | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/pages/04_product-service/MainPage.vue b/src/pages/04_product-service/MainPage.vue index 0d2019af..799eb4ba 100644 --- a/src/pages/04_product-service/MainPage.vue +++ b/src/pages/04_product-service/MainPage.vue @@ -6,6 +6,7 @@ import { getUserId, getRole } from 'src/services/keycloak'; import { storeToRefs } from 'pinia'; import { useQuasar, type QTableProps } from 'quasar'; +import FlowDialog from './FlowDialog.vue'; import ProductCardComponent from 'components/04_product-service/ProductCardComponent.vue'; import StatCard from 'components/StatCardComponent.vue'; import DrawerInfo from 'components/DrawerInfo.vue'; @@ -156,6 +157,7 @@ const actionDisplay = computed(() => ); const holdDialog = ref(false); const imageDialog = ref(false); +const flowDialog = ref(false); const currentNode = ref(); const expandedTree = ref([]); const editByTree = ref<'group' | 'type' | undefined>(); @@ -1402,6 +1404,11 @@ async function fetchImageList( return res; } +function openFlowDialog() { + flowDialog.value = true; + console.log('flow call'); +} + onMounted(async () => { utilsStore.currentTitle.title = 'productService.title'; utilsStore.currentTitle.path = [ @@ -1581,6 +1588,14 @@ watch( :style="hideStat ? 'rotate: 90deg' : ''" style="transition: 0.1s ease-in-out" /> + @@ -2243,6 +2258,7 @@ watch( class="row justify-between items-center q-px-md q-py-sm surface-3 bordered-b" > + +