updates
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Javier Segarra 2024-06-07 01:59:10 +02:00
parent 3eaefe8701
commit c626a10a98
3 changed files with 12 additions and 9 deletions

View File

@ -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',
},

View File

@ -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,

View File

@ -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) {