Merge pull request 'Waste breakdown' (!291) from hyervoni/salix-front-mindshore:feature/WasteBreakdown into dev
gitea/salix-front/pipeline/head This commit looks good Details

Reviewed-on: #291
Reviewed-by: Javier Segarra <jsegarra@verdnatura.es>
Reviewed-by: Alex Moreno <alexm@verdnatura.es>
This commit is contained in:
Alex Moreno 2024-04-17 12:52:16 +00:00
commit 873d528e0d
3 changed files with 16 additions and 1 deletions

View File

@ -1095,6 +1095,7 @@ item:
list: List
diary: Diary
tags: Tags
wasteBreakdown: Waste breakdown
itemCreate: New item
descriptor:
item: Item

View File

@ -1094,6 +1094,7 @@ item:
list: Listado
diary: Histórico
tags: Etiquetas
wasteBreakdown: Deglose de mermas
itemCreate: Nuevo artículo
descriptor:
item: Artículo

View File

@ -10,7 +10,7 @@ export default {
component: RouterView,
redirect: { name: 'ItemMain' },
menus: {
main: ['ItemList'],
main: ['ItemList', 'WasteBreakdown'],
card: ['ItemBasicData'],
},
children: [
@ -37,6 +37,19 @@ export default {
},
component: () => import('src/pages/Item/ItemCreate.vue'),
},
{
path: 'waste-breakdown',
name: 'WasteBreakdown',
meta: {
title: 'wasteBreakdown',
icon: 'vn:claims',
},
beforeEnter: (to, from, next) => {
next({ name: 'ItemList' });
window.location.href =
'https://grafana.verdnatura.es/d/TTNXQAxVk';
},
},
],
},
{