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

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 nav
@click="whatuser(x)" @click="whatuser(x)"
> >
<v-dialog <v-dialog
v-model="menuGetUserDialog" v-model="menuGetUserDialog"
persistent persistent
width="600" width="600"
> >
{{spravURL}}
<Card-users <Card-users
:menuGetUserDialog="menuGetUserDialog" :menuGetUserDialog="menuGetUserDialog"
:loging="loging" :loging="loging"
@@ -47,7 +49,7 @@ export default {
}} }}
const accountStore = useAccountStore() const accountStore = useAccountStore()
let onlineuser= ref(['ds']) let onlineuser= ref([''])
const connect = new WebSocket(baseWS+"ws/watcher/?token="+localStorage.access) const connect = new WebSocket(baseWS+"ws/watcher/?token="+localStorage.access)
+1
View File
@@ -15,6 +15,7 @@ export const useAccountStore = defineStore('AccountStore', () => {
const setUser = (value)=> { const setUser = (value)=> {
value.photo = checkremote(`${spravURL}${value.login}.jpg`) 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-row> <v-row>
<v-col class="pt-1 flex-column d-flex mt-3" > <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 <Carousel-numbers
:digitalData="stat"/> :digitalData="stat"/>
</v-row> </v-row> -->
<v-row class="pt-1 flex-column mt-0 mb-0 "> <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"> <div class="fg">
<v-banner <v-banner
lines="one" lines="one"
@@ -23,7 +23,7 @@
class="my-4" class="my-4"
> >
<v-banner-text> <v-banner-text>
Banner with one line of text. {{date1}}
</v-banner-text> </v-banner-text>
<template v-slot:actions> <template v-slot:actions>
@@ -75,7 +75,7 @@
</template> </template>
</v-banner> </v-banner>
</div> </div>
</v-card> </v-card> -->
<!-- <Carousel-numbers <!-- <Carousel-numbers
:digitalData="onlines" :digitalData="onlines"
@@ -87,11 +87,13 @@
</v-col> </v-col>
<v-col class="pt-1 pr-0 pb-0 flex-col"> <v-col class="pt-1 pr-0 pb-0 flex-col">
<!-- <v-locale-provider > --> <!-- <v-locale-provider > -->
<v-date-picker <!-- <v-date-picker
class="d-flex pik" v-model="date1"
color="teal-accent-4" class="d-flex pik"
color="teal-accent-4"
/>
/> -->
<!-- </v-locale-provider> --> <!-- </v-locale-provider> -->
</v-col> </v-col>
<!-- <v-col> <!-- <v-col>
@@ -151,7 +153,7 @@
setup(){ setup(){
const t_baseCriteria = ref([]) const t_baseCriteria = ref([])
const date1 = new Date() const date1 = ref(['2023-09-19', '2023-09-18', '2023-09-1'])