This commit is contained in:
iriska-gri committed 2023-11-02 08:18:31 +03:00
1 parent 31ed945467
commit 2df9a3e6e6
29 files changed
+122 -198

No files matched your search

@@ -0,0 +1,15 @@
<template>
<div>
hello
</div>
</template>
<script>
export default {
}
</script>
<style>
</style>
@@ -49,6 +49,8 @@
</v-dialog>
<v-tooltip location="bottom">
<template v-slot:activator="{ props }">
<v-btn
+80 -173
View File
@@ -7,187 +7,91 @@
<Carousel-list/>
</v-col>
</v-row>
<!-- <v-row>
<v-col class="pt-1 pr-0 pb-0 flex-col">
<Calendar-full
:initial="'listYear'"
:head=true
/>
</v-col>
</v-row> -->
<v-row>
<v-col class="pr-0 pt-0 flex-column">
<v-card class="h-100 bg-transparent pa-2 d-flex flex-column">
<v-row class="d-flex">
<v-col> <Calendar-full
/></v-col>
<v-col> <Calendar-full
:initial="'listYear'"
/>
</v-col>
</v-row>
<!-- {{appStore.countvisitor}} -->
</v-card>
</v-col>
<!-- </v-locale-provider> -->
<!-- </v-col> -->
<!-- <v-col>
<v-btn
@click="proba">
Button
</v-btn>
{{appStore.countvisitor.totalvisit}}
</v-col> -->
</v-row>
</v-col>
<v-col class="flex-column d-flex flex-grow-0 px-0" lg="2">
<v-row class="flex-grow-1 ma-0 mx-1">
<v-col class="pt-0">
<v-card v-if="t_daily.length > 0" class="h-100 flex-column" >
<v-row v-for="x in t_daily" :key="x" v-show="x.position!=6">
<v-col >
<v-card
class="ma-2 d-flex flex-column"
height="100"
elevation="0"
>
<v-card class="h-100 text-center g text-black_grey bg-black_and_white">
<v-card-title class="statstyle py-0 text-overline font-weight-bold bg-black_and_white">
{{x.position__name}}
</v-card-title>
<v-card-text @click="detailRound(x.position)" class="numstyle mt-2 py-0 font-weight-bold pointer bg-black_and_white">
<vue3-autocounter ref='counter' :startAmount='0' :endAmount='Number(x.user__count)' :duration='2'/>
</v-card-text>
</v-card>
<!-- </v-img> :image="imageLenta" :prepend-avatar="imageLenta" -->
</v-card>
</v-col>
<v-divider/>
</v-row>
</v-card>
<!-- :image="imageLenta" -->
<v-card
v-else class="h-100 d-flex justify-center "
>
<v-card-text class="align-self-center flex-column mt-8">
<v-row>
<v-card class="h-100 bg-transparent pa-2 d-flex flex-column">
<v-row class="d-flex">
<v-col>
<v-file-input
v-bind="props"
accept=".xlsx"
v-model="dailyfiles"
variant="underlined"
density="compact"
label="Выберите файл"
hide-details
<Calendar-full/>
</v-col>
<v-col>
<Calendar-full
:initial="'listYear'"
/>
</v-col>
</v-row>
<v-row>
<v-col class="text-center">
<v-btn
icon="mdi-google-play"
size="x-large"
variant="text"
color="teal-darken-4"
:disabled="dailyfiles==0?true:false"
@click="onPickFile"
/>
<!-- <v-icon
icon="mdi-download"
color="teal-darken-4"
/> -->
<!-- <v-btn
append-icon="mdi-note-plus"
size="small"
color="teal-darken-4"
variant="text"
v-bind="props"
>
Загрузить
</v-btn> -->
</v-row>
</v-card>
</v-col>
</v-row>
</v-col>
<v-col class="flex-column d-flex flex-grow-0 px-0" lg="2">
<v-row class="flex-grow-1 ma-0 mx-1">
<v-col class="pt-0">
<!-- <digital-letna/> -->
<v-card v-if="t_daily.length > 0" class="h-100 flex-column" >
<v-row v-for="x in t_daily" :key="x" v-show="x.position!=6">
<v-col>
<v-card
class="ma-2 d-flex flex-column"
height="100"
elevation="0"
>
<v-card class="h-100 text-center text-black_grey bg-black_and_white">
<v-card-title class="statstyle py-0 text-overline font-weight-bold bg-black_and_white">
{{x.position__name}}
</v-card-title>
<v-card-text
@click="detailRound(x.position)"
class="numstyle mt-2 py-0 font-weight-bold pointer bg-black_and_white"
>
<vue3-autocounter
ref='counter'
:startAmount='0'
:endAmount='Number(x.user__count)'
:duration='2'
/>
</v-card-text>
</v-card>
</v-card>
</v-col>
<v-divider/>
</v-row>
</v-card-text>
<!-- <p class="align-self-center text-h5 "> -->
<!-- <v-row justify="center"> -->
<!-- <v-dialog
v-model="dialoground"
persistent
width="500"
>
<template v-slot:activator="{ props }"> -->
<!-- <v-btn
append-icon="mdi-note-plus"
size="large"
color="teal-darken-4"
variant="text"
v-bind="props"
>
Загрузить
</v-btn> -->
<!-- </template> -->
<!-- <v-card>
<v-card-title>
<span class="text-h5">Загрузить файл</span>
</v-card-title>
<v-card-text>
<load-round/>
</v-card-text>
<v-card-actions>
<v-spacer></v-spacer>
<v-btn
color="blue-darken-1"
variant="text"
@click="dialoground = false"
</v-card>
<v-card
v-else class="h-100 d-flex justify-center "
>
Закрыть
</v-btn>
</v-card-actions>
</v-card>
</v-dialog> -->
<v-card-text class="align-self-center flex-column mt-8">
<v-row>
<v-col>
<v-file-input
v-bind="props"
accept=".xlsx"
v-model="dailyfiles"
variant="underlined"
density="compact"
label="Выберите файл"
hide-details
/>
</v-col>
</v-row>
<v-row>
<v-col class="text-center">
<v-btn
icon="mdi-google-play"
size="x-large"
variant="text"
color="teal-darken-4"
:disabled="dailyfiles==0?true:false"
@click="onPickFile"
/>
<!-- </v-row> -->
<!-- Данные по сотрудникам не загружены -->
<!-- <v-btn icon="mdi-calendar" size="x-large"></v-btn> -->
<!-- </p> -->
</v-card>
</v-col>
</v-row>
</v-col>
</v-row>
</v-card-text>
</v-card>
</v-col>
</v-row>
<v-row class="flex-grow-0 ma-0 mx-1">
<v-col class="py-0">
<v-card class="h-100 flex-colmn"
@@ -360,6 +264,8 @@
import {checkremote, bgimage} from '@/utils/universal_functions'
import CardUsers from '@/components/cardUsers.vue'
import LoadRound from '@/components/load-round.vue'
import DigitalLetna from '@/components/digital-letna.vue'
export default {
components: {
@@ -369,7 +275,8 @@
CalendarFull,
NewsListHome,
CardUsers,
LoadRound
LoadRound,
DigitalLetna
},
setup(){