This commit is contained in:
iriska-gri committed 2023-09-21 07:46:01 +03:00
1 parent 617c1986e5
commit 271db55de7
5 files changed
+61 -12

No files matched your search

BIN
View File
Binary file not shown.
+44
View File
@@ -0,0 +1,44 @@
<template>
<full-calendar :events="events" />
</template>
<script>
import FullCalendar from 'vue-fullcalendar';
export default {
name: 'Calendar',
props: ['events'],
components: {
FullCalendar
}
}
</script>
<style>
.red {
background: rgb(235, 77, 77) !important;
color: whitesmoke !important;
}
.blue {
background: rgb(59, 59, 163) !important;
color: whitesmoke !important;
}
.orange {
background: orange !important;
color: white !important;
}
.green {
background: rgb(49, 155, 49) !important;
color: white !important;
}
.blue,
.orange,
.red,
.green {
font-size: 13px;
font-weight: 500;
text-transform: capitalize;
}
.event-item {
padding: 2px 0 2px 4px !important;
}
</style>
+3 -1
View File
@@ -7,11 +7,13 @@
nav
@click="whatuser(x)"
>
<v-dialog
v-model="menuGetUserDialog"
persistent
width="600"
>
{{spravURL}}
<Card-users
:menuGetUserDialog="menuGetUserDialog"
:loging="loging"
@@ -47,7 +49,7 @@ export default {
}}
const accountStore = useAccountStore()
let onlineuser= ref(['ds'])
let onlineuser= ref([''])
const connect = new WebSocket(baseWS+"ws/watcher/?token="+localStorage.access)
+2 -1
View File
@@ -14,7 +14,8 @@ export const useAccountStore = defineStore('AccountStore', () => {
const cod2user=ref(false)
const setUser = (value)=> {
value.photo = checkremote(`${spravURL}${value.login}.jpg`)
user.value=value
user.value=value
console.log(value.photo, 'value.photo-------------------')
}
+12 -10
View File
@@ -9,12 +9,12 @@
</v-row>
<v-row>
<v-col class="pt-1 flex-column d-flex mt-3" >
<v-row class="flex-column flex-grow-0 mb-1">
<!-- <v-row class="flex-column flex-grow-0 mb-1">
<Carousel-numbers
:digitalData="stat"/>
</v-row>
</v-row> -->
<v-row class="pt-1 flex-column mt-0 mb-0 ">
<v-card class="d-flex flex-column ml-3">
<!-- <v-card class="d-flex flex-column ml-3">
<div class="fg">
<v-banner
lines="one"
@@ -23,7 +23,7 @@
class="my-4"
>
<v-banner-text>
Banner with one line of text.
{{date1}}
</v-banner-text>
<template v-slot:actions>
@@ -75,7 +75,7 @@
</template>
</v-banner>
</div>
</v-card>
</v-card> -->
<!-- <Carousel-numbers
:digitalData="onlines"
@@ -87,11 +87,13 @@
</v-col>
<v-col class="pt-1 pr-0 pb-0 flex-col">
<!-- <v-locale-provider > -->
<v-date-picker
class="d-flex pik"
color="teal-accent-4"
<!-- <v-date-picker
v-model="date1"
class="d-flex pik"
color="teal-accent-4"
/>
/> -->
<!-- </v-locale-provider> -->
</v-col>
<!-- <v-col>
@@ -151,7 +153,7 @@
setup(){
const t_baseCriteria = ref([])
const date1 = new Date()
const date1 = ref(['2023-09-19', '2023-09-18', '2023-09-1'])