change models
This commit is contained in:
parent
d5c33d899f
commit
05555425ce
7 changed files with 39 additions and 5 deletions
|
@ -2,7 +2,7 @@
|
|||
<MainTemplate>
|
||||
<template #topBar>
|
||||
<div class="flex flex-row items-center justify-between pt-5 pb-3 px-7">
|
||||
<h1 class="font-bold text-xl h-8">Ausrüstung erfassen</h1>
|
||||
<h1 class="font-bold text-xl h-8">Prüfplan erstellen</h1>
|
||||
</div>
|
||||
</template>
|
||||
<template #diffMain>
|
||||
|
|
|
@ -10,9 +10,18 @@
|
|||
<input type="text" id="interval" :value="activeInspectionPlanObj.inspectionInterval" reaonly />
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="activeInspectionPlanObj?.inspectionPoints">
|
||||
<div v-for="point in activeInspectionPlanObj?.inspectionPoints">
|
||||
{{ point }}
|
||||
<div v-if="activeInspectionPlanObj?.inspectionPoints" class="flex flex-col gap-2">
|
||||
<div
|
||||
v-for="point in activeInspectionPlanObj?.inspectionPoints"
|
||||
class="flex flex-col h-fit w-full border border-primary rounded-md"
|
||||
>
|
||||
<div class="bg-primary p-2 text-white flex flex-row justify-between items-center">
|
||||
<p>{{ point.title }}</p>
|
||||
</div>
|
||||
<div class="p-2">
|
||||
<p>Eingabetyp: {{ point.type }}</p>
|
||||
<p>Beschreibung: {{ point.description }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue