Merge branch 'feature/create_app' into razrab

This commit is contained in:
iriska-gri committed 2023-10-26 12:30:54 +03:00
commit c4cc059007
2 files changed
+10 -15

No files matched your search

+7 -4
View File
@@ -51,9 +51,9 @@
<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 class="h-100 flex-column">
<v-card v-if="t_daily.length > 0" class="h-100 flex-column">
<v-row v-for="x in t_daily" :key="x">
<v-col>
@@ -64,7 +64,7 @@
elevation="0"
>
>
<v-card class="h-100 text-center g text-numeral bg-back_number_carousel">
<v-card-title class="statstyle py-0 text-overline font-weight-bold bg-back_number_carousel">
@@ -81,6 +81,9 @@
<v-divider/>
</v-row>
</v-card>
<v-card v-else class="h-100 d-flex justify-center">
<p class="align-self-center text-h5 text-center">Данные по сотрудникам не загружены</p>
</v-card>
</v-col>
</v-row>
<v-row class="flex-grow-0 ma-0 mx-1">
+3 -11
View File
@@ -5,12 +5,12 @@
<v-col cols="6"
class="text-h6 text-grey text-center d-flex align-baseline align-self-center text--lighten-1 font-weight-light"
>
<v-btn
<!-- <v-btn
class="mr-2"
color="app_bar"
>
Excel
</v-btn>
</v-btn> -->
<!-- :href="`${baseURL}media/DailyRoundUp.xlsx`"
download -->
<v-btn
@@ -24,7 +24,7 @@
<!-- <v-spacer></v-spacer> -->
<v-file-input
:rules="rules"
:rules="[val => !!val || 'Добавьте файл']"
v-model="dailyfiles"
variant="underlined"
density="compact"
@@ -76,20 +76,12 @@ export default {
}
function checkFile(value) {
return value.length > 0 || 'Добавьте файл'
}
const rules = [checkFile]
return {
visiting,
excelOp,
baseURL,
dailyfiles,
onPickFile,
rules,
}
}