60 lines
1.0 KiB
Vue
60 lines
1.0 KiB
Vue
<script setup>
|
|
|
|
definePageMeta({
|
|
layout: 'mobile',
|
|
})
|
|
|
|
const profileStore = useProfileStore()
|
|
|
|
</script>
|
|
|
|
<template>
|
|
<UDashboardPanelContent>
|
|
|
|
<UButton
|
|
class="w-full my-1"
|
|
to="/standardEntity/absencerequests"
|
|
>
|
|
Abwesenheiten
|
|
</UButton>
|
|
<UButton
|
|
class="w-full my-1">
|
|
Kalender
|
|
</UButton>
|
|
<UButton
|
|
class="w-full my-1"
|
|
to="/standardEntity/customers"
|
|
>
|
|
Kunden
|
|
</UButton>
|
|
<UButton
|
|
class="w-full my-1"
|
|
to="/standardEntity/vendors"
|
|
>
|
|
Lieferanten
|
|
</UButton>
|
|
<UButton
|
|
class="w-full my-1"
|
|
to="/standardEntity/plants"
|
|
>
|
|
Objekte
|
|
</UButton>
|
|
|
|
<UDivider class="my-5">Unternehmen wechseln</UDivider>
|
|
|
|
<UButton
|
|
v-for="option in profileStore.ownProfiles"
|
|
class="my-1"
|
|
variant="outline"
|
|
@click="profileStore.changeProfile(option.id)"
|
|
>
|
|
{{profileStore.tenants.find(i => i.id === option.tenant).name}}
|
|
</UButton>
|
|
|
|
|
|
</UDashboardPanelContent>
|
|
</template>
|
|
|
|
<style scoped>
|
|
|
|
</style> |