refactor
This commit is contained in:
parent
98bf4532aa
commit
6c8c0939b4
8 changed files with 27 additions and 14 deletions
|
@ -6,11 +6,17 @@
|
|||
<input type="text" id="type" :value="activeInspectionPlanObj.related.type" readonly />
|
||||
</div>
|
||||
<div>
|
||||
<label for="interval">Intervall</label>
|
||||
<label for="interval" class="flex flex-row justify-between">
|
||||
Intervall
|
||||
<InspectionTimeFormatExplainIcon />
|
||||
</label>
|
||||
<input type="text" id="interval" :value="activeInspectionPlanObj.inspectionInterval" readonly />
|
||||
</div>
|
||||
<div>
|
||||
<label for="remind">Erinnerung vor Fälligkeit</label>
|
||||
<label for="remind" class="flex flex-row justify-between">
|
||||
Erinnerung vor Fälligkeit
|
||||
<InspectionTimeFormatExplainIcon />
|
||||
</label>
|
||||
<input type="text" id="remind" :value="activeInspectionPlanObj.remindTime" readonly />
|
||||
</div>
|
||||
</div>
|
||||
|
@ -43,6 +49,7 @@ import { defineComponent } from "vue";
|
|||
import { mapActions, mapState } from "pinia";
|
||||
import Spinner from "@/components/Spinner.vue";
|
||||
import { useInspectionPlanStore } from "@/stores/admin/unit/inspectionPlan/inspectionPlan";
|
||||
import InspectionTimeFormatExplainIcon from "@/components/admin/unit/InspectionTimeFormatExplainIcon.vue";
|
||||
</script>
|
||||
|
||||
<script lang="ts">
|
||||
|
|
|
@ -14,7 +14,10 @@
|
|||
<input type="text" id="name" required v-model="inspectionPlan.title" />
|
||||
</div>
|
||||
<div>
|
||||
<label for="interval">Intervall</label>
|
||||
<label for="interval" class="flex flex-row justify-between">
|
||||
Intervall
|
||||
<InspectionTimeFormatExplainIcon />
|
||||
</label>
|
||||
<input
|
||||
type="text"
|
||||
id="interval"
|
||||
|
@ -25,7 +28,10 @@
|
|||
/>
|
||||
</div>
|
||||
<div>
|
||||
<label for="remind">Erinnerung vor Fälligkeit</label>
|
||||
<label for="remind" class="flex flex-row justify-between">
|
||||
Erinnerung vor Fälligkeit
|
||||
<InspectionTimeFormatExplainIcon />
|
||||
</label>
|
||||
<input
|
||||
type="text"
|
||||
id="remind"
|
||||
|
@ -63,6 +69,7 @@ import FailureXMark from "@/components/FailureXMark.vue";
|
|||
import ScanInput from "@/components/ScanInput.vue";
|
||||
import isEqual from "lodash.isequal";
|
||||
import cloneDeep from "lodash.clonedeep";
|
||||
import InspectionTimeFormatExplainIcon from "@/components/admin/unit/InspectionTimeFormatExplainIcon.vue";
|
||||
</script>
|
||||
|
||||
<script lang="ts">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue