Add missing water report detail component
This commit is contained in:
parent
b849eec7ea
commit
67dcb87b81
1 changed files with 38 additions and 0 deletions
38
ts/rmo/components/ReportDetailWater.vue
Normal file
38
ts/rmo/components/ReportDetailWater.vue
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<template>
|
||||
<ReportDetailEntry
|
||||
label="Has a gate that affects access?"
|
||||
:value="water.access_gate.toString()"
|
||||
/>
|
||||
<ReportDetailEntry
|
||||
label="Has dog that affects access?"
|
||||
:value="water.access_dog.toString()"
|
||||
/>
|
||||
<ReportDetailEntry
|
||||
label="Has a fence that affects access?"
|
||||
:value="water.access_fence.toString()"
|
||||
/>
|
||||
<ReportDetailEntry
|
||||
label="Has a locked entracnce that affects access?"
|
||||
:value="water.access_locked.toString()"
|
||||
/>
|
||||
<ReportDetailEntry
|
||||
label="Reporter observed larvae (wigglers)?"
|
||||
:value="water.has_larvae.toString()"
|
||||
/>
|
||||
<ReportDetailEntry
|
||||
label="Reporter observed pupae (tumblers)?"
|
||||
:value="water.has_pupae.toString()"
|
||||
/>
|
||||
<ReportDetailEntry
|
||||
label="Reporter observed adult mosquitoes?"
|
||||
:value="water.has_adult.toString()"
|
||||
/>
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
import type { PublicReportWater } from "@/type/api";
|
||||
import ReportDetailEntry from "@/rmo/components/ReportDetailEntry.vue";
|
||||
interface Props {
|
||||
water: PublicReportWater;
|
||||
}
|
||||
const props = defineProps<Props>();
|
||||
</script>
|
||||
Loading…
Add table
Add a link
Reference in a new issue