forked from verdnatura/salix-front
Merge pull request 'Add left menu to travel card' (#35) from feature/ms-82-AddLeftMenuToTravelCard into dev
Reviewed-on: hyervoni/salix-front-mindshore#35
This commit is contained in:
commit
1350c4f0d9
|
@ -714,6 +714,9 @@ export default {
|
||||||
create: 'Create',
|
create: 'Create',
|
||||||
summary: 'Summary',
|
summary: 'Summary',
|
||||||
extraCommunity: 'Extra community',
|
extraCommunity: 'Extra community',
|
||||||
|
basicData: 'Basic data',
|
||||||
|
history: 'History',
|
||||||
|
thermographs: 'Termographs',
|
||||||
},
|
},
|
||||||
summary: {
|
summary: {
|
||||||
confirmed: 'Confirmed',
|
confirmed: 'Confirmed',
|
||||||
|
|
|
@ -714,6 +714,9 @@ export default {
|
||||||
create: 'Crear',
|
create: 'Crear',
|
||||||
summary: 'Resumen',
|
summary: 'Resumen',
|
||||||
extraCommunity: 'Extra comunitarios',
|
extraCommunity: 'Extra comunitarios',
|
||||||
|
basicData: 'Datos básicos',
|
||||||
|
history: 'Historial',
|
||||||
|
thermographs: 'Termógrafos',
|
||||||
},
|
},
|
||||||
summary: {
|
summary: {
|
||||||
confirmed: 'Confirmado',
|
confirmed: 'Confirmado',
|
||||||
|
|
|
@ -1,12 +1,16 @@
|
||||||
<script setup>
|
<script setup>
|
||||||
import { useStateStore } from 'stores/useStateStore';
|
import { useStateStore } from 'stores/useStateStore';
|
||||||
|
import TravelDescriptor from './TravelDescriptor.vue';
|
||||||
|
import LeftMenu from 'components/LeftMenu.vue';
|
||||||
|
|
||||||
const stateStore = useStateStore();
|
const stateStore = useStateStore();
|
||||||
</script>
|
</script>
|
||||||
<template>
|
<template>
|
||||||
<QDrawer v-model="stateStore.leftDrawer" show-if-above :width="256">
|
<QDrawer v-model="stateStore.leftDrawer" show-if-above :width="256">
|
||||||
<QScrollArea class="fit">
|
<QScrollArea class="fit">
|
||||||
<!-- Aca iría left menu y descriptor -->
|
<TravelDescriptor />
|
||||||
|
<QSeparator />
|
||||||
|
<LeftMenu source="card" />
|
||||||
</QScrollArea>
|
</QScrollArea>
|
||||||
</QDrawer>
|
</QDrawer>
|
||||||
<QPageContainer>
|
<QPageContainer>
|
||||||
|
|
|
@ -11,7 +11,7 @@ export default {
|
||||||
redirect: { name: 'TravelMain' },
|
redirect: { name: 'TravelMain' },
|
||||||
menus: {
|
menus: {
|
||||||
main: ['TravelList', 'ExtraCommunity'],
|
main: ['TravelList', 'ExtraCommunity'],
|
||||||
card: [],
|
card: ['TravelBasicData', 'TravelHistory', 'TravelThermographs'],
|
||||||
},
|
},
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
|
@ -63,6 +63,36 @@ export default {
|
||||||
},
|
},
|
||||||
component: () => import('src/pages/Travel/Card/TravelSummary.vue'),
|
component: () => import('src/pages/Travel/Card/TravelSummary.vue'),
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: 'TravelBasicData',
|
||||||
|
path: 'basic-data',
|
||||||
|
meta: {
|
||||||
|
title: 'basicData',
|
||||||
|
icon: 'vn:settings',
|
||||||
|
// roles: [],
|
||||||
|
},
|
||||||
|
// component: () => import(),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'TravelHistory',
|
||||||
|
path: 'history',
|
||||||
|
meta: {
|
||||||
|
title: 'history',
|
||||||
|
icon: 'history',
|
||||||
|
// roles: [],
|
||||||
|
},
|
||||||
|
// component: () => import(),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'TravelThermographs',
|
||||||
|
path: 'thermographs',
|
||||||
|
meta: {
|
||||||
|
title: 'thermographs',
|
||||||
|
icon: 'vn:thermometer',
|
||||||
|
// roles: [],
|
||||||
|
},
|
||||||
|
// component: () => import(),
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue