feat: refs #7006 itemTypeLog added
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Guillermo Bonet 2024-10-14 09:33:00 +02:00
parent b1385cf08a
commit 787ce2fc48
5 changed files with 20 additions and 1 deletions

View File

@ -73,6 +73,7 @@ const temperaturesOptions = ref([]);
option-label="name"
hide-selected
/>
<VnInput v-model="data.life" :label="t('shared.life')" />
</VnRow>
</template>
</FormModel>

View File

@ -0,0 +1,7 @@
<script setup>
import VnLog from 'src/components/common/VnLog.vue';
</script>
<template>
<VnLog model="ItemType" url="/ItemTypeLogs"></VnLog>
</template>

View File

@ -4,6 +4,7 @@ shared:
worker: Worker
category: Category
temperature: Temperature
life: Life
summary:
id: id
life: Life

View File

@ -4,6 +4,7 @@ shared:
worker: Trabajador
category: Reino
temperature: Temperatura
life: Vida
summary:
id: id
code: Código

View File

@ -12,7 +12,7 @@ export default {
redirect: { name: 'ItemTypeList' },
menus: {
main: [],
card: ['ItemTypeBasicData'],
card: ['ItemTypeBasicData', 'ItemTypeLog'],
},
children: [
{
@ -40,6 +40,15 @@ export default {
component: () =>
import('src/pages/ItemType/Card/ItemTypeBasicData.vue'),
},
{
path: 'log',
name: 'ItemTypeLog',
meta: {
title: 'log',
icon: 'vn:History',
},
component: () => import('src/pages/ItemType/Card/ItemTypeLog.vue'),
},
],
},
],