From 6b8bf96bec0b882b354748cb0446720d1117dc8e Mon Sep 17 00:00:00 2001 From: flfeders Date: Wed, 11 Dec 2024 20:47:19 +0100 Subject: [PATCH] Added Bank Account Updating --- pages/workingtimes/index.vue | 95 ++++++++++++++++++++++++++++++++++-- 1 file changed, 90 insertions(+), 5 deletions(-) diff --git a/pages/workingtimes/index.vue b/pages/workingtimes/index.vue index 5ecf5d4..eb5aa6e 100644 --- a/pages/workingtimes/index.vue +++ b/pages/workingtimes/index.vue @@ -53,7 +53,12 @@ const filteredRows = computed(() => { times = [] }*/ - return times + return times/*.map(i => { + return { + ...i, + disabledExpand: i.approved + } + })*/ }) @@ -171,6 +176,17 @@ const getDuration = (time) => { } } +const updateWorkingTime = async (data) => { + await dataStore.updateItem('workingtimes',data) + await setupPage() +} + + +const expand = ref({ + openedRows: [], + row: {} +}) +