Slight changes seat rows on locations

This commit is contained in:
2024-10-22 12:19:15 +02:00
parent 40161a136a
commit 3e53a606a6
7 changed files with 177 additions and 169 deletions

View File

@@ -23,13 +23,7 @@ function confirmPressed() {
max-width="400"
v-model="showDialog"
>
<v-container>
<v-row>
<v-col>
{{ description }}
</v-col>
</v-row>
</v-container>
{{ description }}
<template #actions>
<outlined-button

View File

@@ -3,7 +3,7 @@ import { ref, watch } from 'vue';
import { useRouter } from 'vue-router';
const router = useRouter()
const path = ref(router.currentRoute.value.fullPath)
const path = ref("https://www.eventmaster.com" + router.currentRoute.value.fullPath)
function navigate() {
router.replace({ path: path.value.substring(path.value.indexOf('.com') + 4) })

View File

@@ -57,7 +57,7 @@ function getNameLocation() {
<v-sheet
v-else-if="seatGroup != undefined"
class="pa-3"
class="pa-2"
:class="getCornerClass()"
border
style="height: 100%;"
@@ -71,9 +71,9 @@ function getNameLocation() {
</v-row>
<v-row>
<v-spacer v-if="seatGroup.name == 'C'" />
<v-spacer v-if="seatGroup.name == 'B' || seatGroup.name == 'C'" />
<v-col class="d-flex justify-center align-center">
<v-col cols="auto">
<seat-group-table
:seat-rows="seatGroup.seatRows"
:seat-group="seatGroup"
@@ -82,7 +82,7 @@ function getNameLocation() {
/>
</v-col>
<v-spacer v-if="seatGroup.name == 'I'" />
<v-spacer v-if="seatGroup.name == 'B' || seatGroup.name == 'I'" />
</v-row>
</div>

View File

@@ -36,7 +36,8 @@ const seatGroupI = findSeatCategory("I")
<template>
<v-sheet border class="pa-5">
<v-row>
<v-col cols="4">
<!-- Seat Group C -->
<v-col cols="4" class="pa-0">
<seat-group-sheet
:seat-group="seatGroupC"
:concert="concert"
@@ -44,7 +45,8 @@ const seatGroupI = findSeatCategory("I")
/>
</v-col>
<v-col cols="4">
<!-- Seat Group B -->
<v-col cols="4" class="pa-0">
<seat-group-sheet
:seat-group="seatGroupB"
:concert="concert"
@@ -52,7 +54,8 @@ const seatGroupI = findSeatCategory("I")
/>
</v-col>
<v-col cols="4">
<!-- Seat Group I -->
<v-col cols="4" class="pa-0">
<seat-group-sheet
:seat-group="seatGroupI"
:concert="concert"
@@ -62,7 +65,8 @@ const seatGroupI = findSeatCategory("I")
</v-row>
<v-row>
<v-col cols="4">
<!-- Seat Group D -->
<v-col cols="4" class="pa-0">
<seat-group-sheet
v-if="location.layout != 1"
:seat-group="seatGroupD"
@@ -71,7 +75,8 @@ const seatGroupI = findSeatCategory("I")
/>
</v-col>
<v-col :cols="location.layout == 1 ? 10 : 4">
<!-- Seat Group A -->
<v-col :cols="location.layout == 1 ? 10 : 4" class="pa-0">
<seat-group-sheet
:seat-group="seatGroupA"
:concert="concert"
@@ -80,6 +85,7 @@ const seatGroupI = findSeatCategory("I")
/>
</v-col>
<!-- Seat Group H or stage -->
<v-col v-if="location.layout != 3">
<v-sheet
color="grey-darken-3"
@@ -91,7 +97,7 @@ const seatGroupI = findSeatCategory("I")
</v-sheet>
</v-col>
<v-col v-else cols="4">
<v-col v-else cols="4" class="pa-0">
<seat-group-sheet
:seat-group="seatGroupH"
:concert="concert"
@@ -102,7 +108,8 @@ const seatGroupI = findSeatCategory("I")
<v-row v-if="location.layout != 1">
<v-col cols="4">
<!-- Seat Group E -->
<v-col cols="4" class="pa-0">
<seat-group-sheet
:seat-group="seatGroupE"
:concert="concert"
@@ -110,7 +117,8 @@ const seatGroupI = findSeatCategory("I")
/>
</v-col>
<v-col cols="4">
<!-- Seat Group F -->
<v-col cols="4" class="pa-0">
<seat-group-sheet
:seat-group="seatGroupF"
:concert="concert"
@@ -118,7 +126,8 @@ const seatGroupI = findSeatCategory("I")
/>
</v-col>
<v-col cols="4">
<!-- Seat Group G -->
<v-col cols="4" class="pa-0">
<seat-group-sheet
:seat-group="seatGroupG"
:concert="concert"

View File

@@ -1,11 +1,13 @@
import { BandModel } from "./bandModel";
import { ConcertModel } from "./concertModel";
import { GenreModel } from "./genreModel"
import { MemberModel } from "./memberModel";
/**
* Replica of the API endpoint /bands
*/
export class BandApiModel extends BandModel {
members: Array<MemberModel>
genres: Array<GenreModel> = []
rating: number = 0
concerts: Array<ConcertModel> = []