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" option-label="name"
hide-selected hide-selected
/> />
<VnInput v-model="data.life" :label="t('shared.life')" />
</VnRow> </VnRow>
</template> </template>
</FormModel> </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 worker: Worker
category: Category category: Category
temperature: Temperature temperature: Temperature
life: Life
summary: summary:
id: id id: id
life: Life life: Life

View File

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

View File

@ -12,7 +12,7 @@ export default {
redirect: { name: 'ItemTypeList' }, redirect: { name: 'ItemTypeList' },
menus: { menus: {
main: [], main: [],
card: ['ItemTypeBasicData'], card: ['ItemTypeBasicData', 'ItemTypeLog'],
}, },
children: [ children: [
{ {
@ -40,6 +40,15 @@ export default {
component: () => component: () =>
import('src/pages/ItemType/Card/ItemTypeBasicData.vue'), 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'),
},
], ],
}, },
], ],