| Numéro du ticket | Titre du ticket | |------------------|-----------------| | #203 | Réceptions — Parcours de pesée multi-étapes | ## Description de la PR [#203] Réceptions — Parcours de pesée multi-étapes ## Modification du .env ## Check list - [x] Pas de régression - [x] TU/TI/TF rédigée - [x] TU/TI/TF OK - [x] CHANGELOG modifié Reviewed-on: #3 Reviewed-by: THOLOT DECHENE Matthieu <matthieu@yuno.malio.fr> Co-authored-by: AUTIN Tristan <tristan@yuno.malio.fr> Co-committed-by: AUTIN Tristan <tristan@yuno.malio.fr>
22 lines
626 B
Vue
22 lines
626 B
Vue
<template>
|
|
<div class="">
|
|
<h1 class="text-3xl font-bold">Liste des receptions</h1>
|
|
<ul>
|
|
<li v-for="reception in receptionList" :key="reception.id">
|
|
<NuxtLink :to="`/reception/${reception.id}`">Réception numéro {{ reception.id}}</NuxtLink>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import type {ReceptionData} from "~/services/dto/reception-data";
|
|
import {getReceptionList} from "~/services/reception";
|
|
|
|
const receptionList = ref<ReceptionData[]>()
|
|
|
|
onMounted(async () => {
|
|
receptionList.value = await getReceptionList()
|
|
})
|
|
</script>
|