From c1fd15020465ae49cd9894621f80d5ff3753c845 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Wed, 22 May 2024 09:07:39 +0200 Subject: [PATCH] update --- src/pages/Worker/Card/WorkerPda.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/pages/Worker/Card/WorkerPda.vue b/src/pages/Worker/Card/WorkerPda.vue index 4e12bb9c8..eb58c95f6 100644 --- a/src/pages/Worker/Card/WorkerPda.vue +++ b/src/pages/Worker/Card/WorkerPda.vue @@ -55,8 +55,7 @@ const handleSendToTablet = async (deviceProductionFk) => { try { await axios.post(`Docuwares/upload`, { fileCabinet: 'hr', - worker: route.params.id, - pda: deviceProductionFk, + ids: [{ worker: route.params.id, pda: deviceProductionFk }], }); notify(t('PDA Signed'), 'positive'); } catch (err) { @@ -179,7 +178,7 @@ const handleDownloadDocuware = async (deviceProductionFk) => {}; openConfirmationModal( t('Are you sure you want to send it?'), t('Sign PDA'), - handleSendToTablet + handleSendToTablet(row.deviceProductionFk) ) " >