From c626a10a989397831097fc9979861e97f123b5da Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Fri, 7 Jun 2024 01:59:10 +0200 Subject: [PATCH] updates --- .eslintrc.js | 2 +- quasar.config.js | 5 ++++- src/pages/Worker/Card/WorkerPda.vue | 14 +++++++------- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 1d09a896f..05057fe26 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -58,7 +58,7 @@ module.exports = { rules: { 'prefer-promise-reject-errors': 'off', 'no-unused-vars': 'warn', - "vue/no-multiple-template-root": "off" , + 'vue/no-multiple-template-root': 'off', // allow debugger during development only 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off', }, diff --git a/quasar.config.js b/quasar.config.js index b59c62eeb..c540e5f37 100644 --- a/quasar.config.js +++ b/quasar.config.js @@ -55,7 +55,10 @@ module.exports = configure(function (/* ctx */) { browser: ['es2022', 'edge88', 'firefox78', 'chrome87', 'safari13.1'], node: 'node18', }, - + afterBuild: async (params) => { + console.error(params); + }, + showProgress: true, vueRouterMode: 'hash', // available values: 'hash', 'history' // vueRouterBase, // vueDevtools, diff --git a/src/pages/Worker/Card/WorkerPda.vue b/src/pages/Worker/Card/WorkerPda.vue index 3596275ed..7c13bc58a 100644 --- a/src/pages/Worker/Card/WorkerPda.vue +++ b/src/pages/Worker/Card/WorkerPda.vue @@ -52,13 +52,13 @@ function reloadData() { const handleSendToTablet = async (row) => { try { - if (isProduction(false)) { - const { deviceProductionFk } = row; - await axios.post(`Docuwares/upload`, { - fileCabinet: 'hr', - ids: [deviceProductionFk], - }); - } + // if (isProduction(false)) { + const { deviceProductionFk } = row; + await axios.post(`Docuwares/upload`, { + fileCabinet: 'hr', + ids: [deviceProductionFk], + }); + // } notify(t('PDF sended to signed'), 'positive'); row.isDocuware = true; } catch (err) {