This commit is contained in:
romankko2 committed 2023-08-09 15:28:14 +02:00
1 parent a2fb04d3b2
commit 63b66084e1
8 files changed
+42 -28

No files matched your search

@@ -430,10 +430,9 @@ export default {
.vuecal__event
border-radius: 16px
// padding: 20px 10px
min-height: 200px !important
min-height: 70px !important
text-align: left
background: rgba(248, 248, 248, 1)
min-height: 40px
transition: min-height .4s, height .4s, box-shadow .4s, width .4s, left .4s
.custom-event-body
@@ -2,7 +2,7 @@
<v-row class="px-10 py-8 subheader">
<v-autocomplete :custom-filter="customFilter" :match-any="true" v-model="filter.projectId" class="subheader-input" :items="[...projectsOptions]" item-title="code" item-value="id" label="Projekt" variant="outlined" @update:search="projectCodeSearch = $event" />
<v-select v-model="filter.teamId" class="subheader-input" :items="[null, ...teams]" label="Tím" variant="outlined" item-title="name" item-value="id" />
<v-autocomplete :custom-filter="customFilter" :match-any="true" v-model="filter.teamId" class="subheader-input" :items="[...teams]" item-title="name" item-value="id" label="Tím" variant="outlined" />
<v-autocomplete :custom-filter="customFilter" :match-any="true" v-model="filter.employeeId" class="subheader-input" :items="[...enrichedEmployees]" item-title="_fullName" item-value="id" label="Zamestnanec" variant="outlined" />
@@ -2,7 +2,7 @@
<div ref="page">
<A-project-filter v-if="$store.getters['tm/isInitialized']" @filterChanged="onFilterChanged" />
<W-loadable :content="filteredProjects" emptyMessage="Nenašli sa žiadne vyhovujúce projekty">
<W-loadable class="non-projects" :content="filteredProjects" emptyMessage="Nenašli sa žiadne vyhovujúce projekty">
<A-project-calendar :events="filteredProjects" :month="filter.month" @open-detail="openMasterTaskModal" />
</W-loadable>
</div>
@@ -90,4 +90,9 @@ export default {
}
}
}
</script>
</script>
<style lang="sass" scoped>
.non-projects
height: 27rem !important
</style>
@@ -1,14 +1,15 @@
<template>
<v-row class="px-10 py-8 subheader">
<v-select
v-model="selectedTeam"
class="subheader-input"
:items="teams"
item-title="name"
item-value="id"
label="Tím"
variant="outlined"
></v-select>
<v-autocomplete
:custom-filter="customFilter"
:match-any="true" v-model="selectedTeam"
class="subheader-input"
:items="teams"
item-title="name"
item-value="id"
label="Tím"
variant="outlined"
/>
<div class="d-flex date-wrapper">
<v-btn class="subheader-icon-button prev" variant="outlined" @click="prevDay()"><img :src="require('@/plugins/app/_img/icons/icon-prev.svg')" alt=""></v-btn>
<v-text-field
@@ -32,9 +33,12 @@
<script>
import { addDays, subDays } from 'date-fns'
import AutocompleteMixin from '@/plugins/tm@_mixins/autocomplete.mixin'
import { mapGetters } from 'vuex'
export default {
mixins: [AutocompleteMixin],
emits: ['filter-changed'],
props: {