Reorganizace skeletonu, aktualizace app-vite a quasaru

This commit is contained in:
Michal Kváček
2023-12-10 10:19:03 +01:00
parent 68659ca924
commit 71389caecc
87 changed files with 1666 additions and 1368 deletions
+14 -4
View File
@@ -13,8 +13,8 @@ const props = defineProps({
locations: {
type: Array
},
aircraft: {
type: Object
aircrafts: {
type: Array
},
copilots: {
type: Array
@@ -27,7 +27,7 @@ const formData = ref({
description: "",
pointOfInterest: null,
copilots: [],
isAircraft: false,
aircraftId: null,
});
const setup = (() => {
@@ -58,7 +58,17 @@ const setup = (() => {
multiple
/>
<q-checkbox v-model="formData.isAircraft" :label="`Letadlo (${aircraft.callSign})`"/>
<q-select
:options="aircrafts"
v-model="formData.aircraftId"
v-bind="commonProps"
label="Letadlo"
option-label="callSign"
option-value="id"
emit-value
map-options
/>
<q-input v-model="formData.name" label="Název" v-bind="commonProps"/>
<q-input type="textarea" v-model="formData.description" label="Popis" v-bind="commonProps"/>
</FormWrapper>